Name | Description | Type | Additional information |
---|---|---|---|
apiKey |
Please contact Caliq support to get your key |
string |
Required |
CustomerID |
The internal ID of the customer to get data for |
integer |
Required |
AccountNo |
The account number of the customer to get data for. ID will be used in preference to this if it is set |
string |
Required Max length: 10 |
BasedOn |
Should buying history be based on (O)rders placed or (I)nvoices sent? |
string |
Required Max length: 1 |
MonthsBack |
How many months back should be look at for the history |
integer |
Required |
WeeksUntilAvailable |
If we have no stock we will only include items whcih will be available again within n weeks. Can be 0 for unlimited window |
integer |
Required |