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 | Match by customer code (exact match). |
includeUnmapped | Boolean | Whether to include unmapped purchases. |
productLabel | String | Match by product label (exact match). |
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. |