GetPurchases
Overview
This method retrieves Purchases from the system based on a set of criteria.
Returns
A list of purchases meeting the specified criteria.
Request
Name | Type | Description |
---|---|---|
customerCode | String | The customerCode of the purchase to filter on. |
includeUnmapped | Boolean | Whether or not to include unmapped purchases. |
productLabel | String | The productLabel of the puchase to filter on. |
dateFrom | String | Select only purchases with a purchaseDate later than dateFrom. This should be in the format YYYY-MM-DDThh:mm:ssZ . |
dateTo | String | Select only purchases with a purchaseDate earlier than dateTo. This should be in the format YYYY-MM-DDThh:mm:ssZ . |
Response
Name | Type | Description |
---|---|---|
ResultMessage | String | Additional information when operation failed. |
ResultCode | ResultCodeEnum | Whether the operation completed successfully. |
Result | Purchase[] | Operation result. |