{ "operationId": "customers_getOpenItems", "method": "POST", "path": "/api/connector/v1/customers/getOpenItems", "summary": "Get customers open items", "requestExamples": [ { "contentType": "application/json", "example": { "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D", "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D", "Client": "Sample Client 1.0.0", "CustomerIds": [ "2a1a4315-7e6f-4131-af21-402cec59b8b9" ] } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "Customers": [ { "CustomerId": "2a1a4315-7e6f-4131-af21-402cec59b8b9", "OrderItems": [ { "Id": "35820535-b988-4d6f-80cf-ecb19cdc3e58", "AccountId": "2a1a4315-7e6f-4131-af21-402cec59b8b9", "OrderId": "6645113e-72cc-4f99-ab77-e4452911bf20", "BillId": null, "AccountingCategoryId": "d250149e-a29d-4c70-b607-a1759faf7320", "Amount": { "Currency": "GBP", "NetValue": -5, "GrossValue": -5, "TaxValues": [ { "Code": "UK-Z", "Value": 0 } ], "Breakdown": { "Items": [ { "TaxRateCode": "UK-Z", "NetValue": -5, "TaxValue": 0 } ] } }, "RevenueType": "Additional", "ConsumedUtc": "2017-04-04T15:13:39Z", "ClosedUtc": null, "AccountingState": "Open", "Data": { "Discriminator": "Rebate", "Value": { "RebatedItemId": null } } } ], "PaymentItems": [] } ] } } ] }