v1

latestSwagger 2.02026-07-134272111.8 KB
customers

Find orders in the customer associated with a given ID. If the customer does not exist, an error response will be returned. If no orders are found in the given customer then an empty array will be returned

get/customers/{id}/orders

Path parameters

idstring required

The ID of the customer to get orders form in the eCommerce system

Query parameters

pageSizeinteger

The number of results to fetch in a given page. When this parameter is omitted, a maximum of 200 results are returned

nextPagestring

The next page cursor, taken from the response header: elements-next-page-token

fieldsstring

The fields to return on the response. Can be a single field or a comma-separated list of fields

Headers

Authorizationstring required

The authorization tokens. The format for the header value is 'Element <token>, User <user secret>'

Response

OK - Everything worked as expected