Xero · Example Payload

Xero Createquotes Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Createquotes 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": "createQuotes",
  "method": "PUT",
  "path": "/Quotes",
  "summary": "Xero Create one or more quotes",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "Quotes": [
          {
            "Contact": {
              "ContactID": "00000000-0000-0000-0000-000000000000"
            },
            "LineItems": [
              {
                "Description": "Foobar",
                "Quantity": 1,
                "UnitAmount": 20,
                "AccountCode": "12775"
              }
            ],
            "Date": "2020-02-01"
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "SummarizeErrors": false,
        "Id": "29571f5a-bf73-4bb6-9de5-86be44e6bf2e",
        "Status": "OK",
        "ProviderName": "provider-name",
        "DateTimeUTC": "/Date(1580607782916)/",
        "Quotes": [
          {
            "QuoteID": "60031d53-6488-4321-9cbd-c1db6dbf9ba4",
            "QuoteNumber": "QU-0008",
            "Terms": "",
            "Contact": {
              "ContactID": "6a65f055-b0e0-471a-a933-d1ffdd89393f",
              "Name": "John Smith-82160",
              "EmailAddress": ""
            },
            "LineItems": [
              {
                "LineItemID": "26995857-0eea-45fb-b46c-f8ea896ec46e",
                "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(1580607782913)/",
            "LineAmountTypes": "EXCLUSIVE",
            "StatusAttributeString": "OK"
          }
        ]
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/xero-createquotes-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.