Xero · Example Payload

Xero Getitem Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Getitem Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "getItem",
  "method": "GET",
  "path": "/Items/{ItemID}",
  "summary": "Xero Retrieves a specific item using a unique item Id",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "0bbd8a92-9ba7-4711-8040-8d6a609ca7e8",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1552333420160)/",
        "Items": [
          {
            "ItemID": "c8c54d65-f3f2-452d-926e-bf450b12fb07",
            "Code": "123",
            "Description": "Guitars Fender Strat",
            "PurchaseDescription": "Brand new Fender Strats",
            "UpdatedDateUTC": "/Date(1552333309387+0000)/",
            "PurchaseDetails": {
              "UnitPrice": 2500.0,
              "COGSAccountCode": "310",
              "TaxType": "INPUT2"
            },
            "SalesDetails": {
              "UnitPrice": 5000.0,
              "AccountCode": "200",
              "TaxType": "OUTPUT2"
            },
            "Name": "Guitars",
            "IsTrackedAsInventory": true,
            "InventoryAssetAccountCode": "630",
            "TotalCostPool": 25000.0,
            "QuantityOnHand": 10.0,
            "IsSold": true,
            "IsPurchased": true,
            "ValidationErrors": []
          }
        ]
      }
    }
  ]
}