Xero · Example Payload

Xero Updateitem Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Updateitem 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": "updateItem",
  "method": "POST",
  "path": "/Items/{ItemID}",
  "summary": "Xero Updates a specific item",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "Items": [
          {
            "Code": "ItemCode123",
            "Description": "Description 123"
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "24feb629-6b14-499e-9aa1-fc2c596c0280",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1552332558975)/",
        "Items": [
          {
            "ItemID": "a7e87086-e0ae-4df2-83d7-e26e9a6b7786",
            "Code": "abc38306",
            "Description": "Hello Xero",
            "UpdatedDateUTC": "/Date(1552332558924)/",
            "PurchaseDetails": {},
            "SalesDetails": {},
            "Name": "Hello8746",
            "IsTrackedAsInventory": false,
            "IsSold": true,
            "IsPurchased": true,
            "ValidationErrors": []
          }
        ]
      }
    }
  ]
}