GET/v1/tenants/{tenantId}/ecom_stores/{eComStoreId}/customers/{customerId}/orders

Get customer order history

Retrieves a simplified list of all orders for a specific customer in this ecom store. Returns basic order information without detailed line items.

Parameters

tenantIdrequired
eComStoreIdrequired
customerIdrequired

The ID of the customer whose order history to retrieve

Responses

200Response
application/json
ordersrequired
Show item fields
currencyIsoCoderequired

ISO 4217 currency code

Example"NOK"
idrequired
Example"01234567-89ab-cdef-0123-456789abcdef"
orderDaterequired

Date the order was placed

  • Format: date
Example"2024-06-15"
orderNumberrequired

Human-readable order number

Example"SO-2024-00123"
orderStatusrequired

Current status of the order

Allowed values"PLANNED""CLOSED""RELEASED"
totalAmountrequired

Total order amount including VAT

  • Format: BigDecimal
  • Pattern: ^-?\d+(\.\d{1,2})?$
Example"598.00"
400Bad Request - Invalid customer ID format

Bad Request - Invalid customer ID format

application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
401Unauthorized - Invalid or missing authentication

Unauthorized - Invalid or missing authentication

application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
403
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
500
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"