[REST API] Error when trying to filter orders by Customer
Modified on: Fri, 17 Nov 2023 1:14 PMOriginal Publishing Date:
2023-10-17
2023-10-17
Symptoms
The Order Management REST API documentation contains instructions on filtering orders based on CustomerID. It mentions to use the function 'type' with property 'customerID'. However, when trying to get the list of filtered orders, the request fails with the error seen below:
Request:
Response:
Cause
The documentation of Order Management API incorrectly states to use the property 'customerID' to filter the orders.
The RQL property 'customerID' does not exist.
Resolution
Use the property 'buyerID' or 'buyerInternalID' instead.