Home > @poq/sdk-sfcc > CustomersClient > getCustomersByIDOrders
Returns a pageable list of all customer’s orders. The default page size is 10.
Signature:
getCustomersByIDOrders(customerId: string, start?: number, count?: number, crossSites?: boolean, from?: string, until?: string, status?: string, options?: RequestOptions): Promise<PoqResponse<CustomerOrderResult>>;
Parameter | Type | Description |
---|---|---|
customerId | string | the customer uuid |
start | number | (Optional) |
count | number | (Optional) |
crossSites | boolean | (Optional) |
from | string | (Optional) |
until | string | (Optional) |
status | string | (Optional) |
options | RequestOptions | (Optional) Override http request option. |
Returns:
Promise<PoqResponse<CustomerOrderResult>>