{ "operationId": "updateOrCreateQuotes", "method": "POST", "path": "/Quotes", "summary": "Xero Updates or creates 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": "b425754f-0512-481d-827b-c8958db7667e", "Status": "OK", "ProviderName": "provider-name", "DateTimeUTC": "/Date(1580607783833)/", "Quotes": [ { "QuoteID": "fd53e0b7-4d24-4c20-be85-043a62ea5847", "QuoteNumber": "QU-0009", "Terms": "", "Contact": { "ContactID": "6a65f055-b0e0-471a-a933-d1ffdd89393f", "Name": "John Smith-82160", "EmailAddress": "" }, "LineItems": [ { "LineItemID": "898c7fd6-0d94-4ac0-ace8-87e350a042de", "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(1580607783467)/", "LineAmountTypes": "EXCLUSIVE", "StatusAttributeString": "OK" } ] } } ] }