GET Companies({CompanyId})/Locations({LocationId})/CompletedOrders?filter={filter}
Returns Completed orders for a Company by Date Range with Filtering
Information:
Base URL:
https://api.covasoft.net/pointofsale
Example of a call would be:
https://api.covasoft.net/pointofsale/Companies({CompanyId})/Locations({LocationId})/CompletedOrders?$filter=Created ge datetimeoffset'2019-09-01T00:00:00.000Z' and Created le datetimeoffset'2019-09-20T15:59:59.999Z'&$top=100&$skip=0
Odata Filters
Required: Created ge datetimeoffset'{UTCdatetime}' and Created le datetimeoffset'{UTCdatetime}'
FulfillmentMethod eq '{FulfillmentMethod}'
Source eq '{Source}'
Normal Odata pagings with $top & $skip
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyId |
The unique Company Id that was provided in your onboarding pacakage. |
integer |
Required |
LocationId |
This is Location Id where you want to get the Completed Sales Orders |
integer |
Required |
filter |
The Odata filter applied to this call, see Odata filter section above |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Completed orders for a Company by Date Range with Filtering
Collection of GetCompletedOrdersByDateRangeReturnName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ReceiptNumber | string |
None. |
|
Created | date |
None. |
|
Source | string |
None. |
|
FulfillmentMethod | string |
None. |
|
Reference | string |
None. |
|
OrderNumber | string |
None. |
|
Status | string |
None. |
|
DeliveryAddress | DeliveryAddress |
None. |
|
CustomerId | globally unique identifier |
None. |
|
Total | decimal number |
None. |
Response Formats
application/json, text/json
[ { "Id": "7c7ff96d-636a-46c4-939e-91c5fb46cb0e", "ReceiptNumber": "sample string 2", "Created": "2024-11-07T08:43:46.0830756+00:00", "Source": "sample string 4", "FulfillmentMethod": "sample string 5", "Reference": "sample string 6", "OrderNumber": "sample string 7", "Status": "sample string 8", "DeliveryAddress": { "CountryCode": "sample string 1", "Locality": "sample string 2", "StateCode": "sample string 3", "PostalCode": 1, "PostOfficeBoxNumber": "sample string 4", "StreetAddress1": "sample string 5", "StreetAddress2": "sample string 6" }, "CustomerId": "133c8836-b2e5-43bc-a38f-de17ea5388bc", "Total": 10.1 }, { "Id": "7c7ff96d-636a-46c4-939e-91c5fb46cb0e", "ReceiptNumber": "sample string 2", "Created": "2024-11-07T08:43:46.0830756+00:00", "Source": "sample string 4", "FulfillmentMethod": "sample string 5", "Reference": "sample string 6", "OrderNumber": "sample string 7", "Status": "sample string 8", "DeliveryAddress": { "CountryCode": "sample string 1", "Locality": "sample string 2", "StateCode": "sample string 3", "PostalCode": 1, "PostOfficeBoxNumber": "sample string 4", "StreetAddress1": "sample string 5", "StreetAddress2": "sample string 6" }, "CustomerId": "133c8836-b2e5-43bc-a38f-de17ea5388bc", "Total": 10.1 } ]