salesOrder

GET {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/salesOrders({{salesOrderId}})?tenant={{tenant}}

Request Params

KeyDatatypeRequiredDescription
tenantstring

RESPONSES

status: OK

{"@odata.context":"http://bcserver:7048/BC/api/v2.0/$metadata#companies(a19eca60-4a86-ed11-aad5-000d3a38ed32)/salesOrders/$entity","@odata.etag":"W/\"JzIwOzExNzQxMTIxNDQ2ODMyOTcxOTg0MTswMDsn\"","id":"8bcfe893-4a86-ed11-aad5-000d3a38ed32","number":"101001","externalDocumentNumber":"","orderDate":"2022-04-02","postingDate":"2022-04-02","customerId":"4353076f-4a86-ed11-aad5-000d3a38ed32","customerNumber":"10000","customerName":"Adatum Corporation","billToName":"Adatum Corporation","billToCustomerId":"4353076f-4a86-ed11-aad5-000d3a38ed32","billToCustomerNumber":"10000","shipToName":"Adatum Corporation","shipToContact":"Robert Townes","sellToAddressLine1":"Station Road, 21","sellToAddressLine2":"","sellToCity":"Cambridge","sellToCountry":"GB","sellToState":"","sellToPostCode":"CB1 2FB","billToAddressLine1":"Station Road, 21","billToAddressLine2":"","billToCity":"Cambridge","billToCountry":"GB","billToState":"","billToPostCode":"CB1 2FB","shipToAddressLine1":"Station Road, 21","shipToAddressLine2":"","shipToCity":"Cambridge","shipToCountry":"GB","shipToState":"","shipToPostCode":"CB1 2FB","shortcutDimension1Code":"","shortcutDimension2Code":"MEDIUM","currencyId":"00000000-0000-0000-0000-000000000000","currencyCode":"GBP","pricesIncludeTax":false,"paymentTermsId":"7c15f968-4a86-ed11-aad5-000d3a38ed32","shipmentMethodId":"fa52076f-4a86-ed11-aad5-000d3a38ed32","salesperson":"JO","partialShipping":true,"requestedDeliveryDate":"2022-04-03","discountAmount":0,"discountAppliedBeforeTax":true,"totalAmountExcludingTax":10880.4,"totalTaxAmount":2720.1,"totalAmountIncludingTax":13600.5,"fullyShipped":false,"status":"Open","lastModifiedDateTime":"2022-12-28T00:57:41.157Z","phoneNumber":"","email":"robert.townes@contoso.com"}