Xero · Example Payload

Xero Updatequote Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Updatequote 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": "updateQuote",
  "method": "POST",
  "path": "/Quotes/{QuoteID}",
  "summary": "Xero Updates a specific quote",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "Quotes": [
          {
            "Reference": "I am an update",
            "Contact": {
              "ContactID": "00000000-0000-0000-0000-000000000000"
            },
            "Date": "2020-02-01"
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "SummarizeErrors": true,
        "Id": "be4f43a7-ef02-497a-96c2-fc0bc047a82a",
        "Status": "OK",
        "ProviderName": "provider-name",
        "DateTimeUTC": "/Date(1580605644385)/",
        "Quotes": [
          {
            "QuoteID": "8ce6b14c-ef87-4f45-93f0-853137c6d0e1",
            "QuoteNumber": "QU-0008",
            "Reference": "I am an update",
            "Terms": "",
            "Contact": {
              "ContactID": "8ed7dd03-4e6a-4078-a807-c5309abfec52",
              "Name": "Orlena Greenville 35",
              "EmailAddress": ""
            },
            "LineItems": [
              {
                "LineItemID": "be69f44e-9c72-4fcd-9152-0174867cce49",
                "AccountCode": "12775",
                "Description": "Foobar",
                "UnitAmount": 20.0,
                "LineAmount": 20.0,
                "ItemCode": "",
                "Quantity": 1.0,
                "TaxAmount": 0.0,
                "Tracking": []
              }
            ],
            "Date": "/Date(1580515200000)/",
            "DateString": "2020-02-01 00:00:00",
            "Status": "DRAFT",
            "CurrencyRate": 1.0,
            "CurrencyCode": "USD",
            "SubTotal": 20.0,
            "TotalTax": 0.0,
            "Total": 20.0,
            "UpdatedDateUTC": "/Date(1580605644360)/",
            "LineAmountTypes": "EXCLUSIVE"
          }
        ]
      }
    }
  ]
}