CustomerClient#listCustomerOrderHistory(options);
A common requirement for eCommerce storefronts is for a customer to be able to view their order history. The following operations allow you to retrieve the authenticated customer’s order history.
Note
|
To view on the customer’s order history, they must be authenticated and their access token must be provide to the function call. |
Parameter | Type | Required? | Description |
---|---|---|---|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. Including paging related options. |
This function returns a page of OrderWithFulfillmentsAndReturns.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
Provide an order id or order number |
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns an OrderWithFulfillmentsAndReturns.