Get the ERC e-commerce customer orders provided by the customer ID
Body Response - Schema
200 OK (the list of customer orders found with the provided customer ID)
Represents the paginated list of customer orders
| Parameter | Type | Description | Required |
|---|---|---|---|
| _embedded | object | "_embedded" subdivides into: 1 - "orders" (array[object]) - the list of orders in the current page. 1.1 - "id" (string) - the ID of the order. Example: 1.2 - "order_number" (string) - The number of the order (usually the order identifier that the customer knows). Example: Example: 1.3. - "customer_id" (string) - The ID of the customer that created this order. Example: 1.4 - "purchase_datetime" (string<date-time>) - the timestamp date when the order was created. Example: 1.5 - "delivery_type" (string) - the type of delivery associated with the order. Allowed values: 1.6 - "shipping_addresses" (array[object]) - the address to which the order will be/was shipped. 1.7 - "items_number" (integer) - the number of order items. > = 1 1.8 - "price_summary" (object) - the summary of the order prices. 1.8.2 - "discounts_amount" (object) - the amount of the order discounts. 1.8.3 - "shipping_amount" (object) - the amount of the order shipping costs. Required. 1.8.4 - "taxes_amount" (object) - the amount of the order taxes. Required. 1.8.5 - "final_total_amount" (object) - the final total amount of the order, i.e. after applying discounts, shipping and taxes. Required. 1.9 - "order_extra_info" (object) - the extra info of the order. 1.10 - "status" (string) - The status of the order. Each integration has its own set of possible status values 1.11 - "custom_fields" (object) - The custom fields associated with the provider. | yes |
| _links | object | "_links" subdivides into: 1 - "self" (object) - Required. 2 - "next" (object) | yes |
400 (bad request), 401 (unauthorized), 403 (forbidden), 404 (not found), 405 (method not supported)
| Parameter | Type | Description | Required |
|---|---|---|---|
| code | string | n/a | yes |
| message | string | n/a | yes |
| description | string | n/a | no |
| fields | array[object] | "fields" subdivides into: "name" (string) "description" (string) | yes (name and description) |
TroubleshootingIf you have any questions regarding the usage of this API, or if you’re having any technical issues, please open a ticket using this form.