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
tenantIdrequiredeComStoreIdrequiredcustomerIdrequiredThe ID of the customer whose order history to retrieve
Responses
application/jsonordersrequiredShow item fields
currencyIsoCoderequiredISO 4217 currency code
Example"NOK"idrequired- Example
"01234567-89ab-cdef-0123-456789abcdef" orderDaterequiredDate the order was placed
- Format: date
Example"2024-06-15"orderNumberrequiredHuman-readable order number
Example"SO-2024-00123"orderStatusrequiredCurrent status of the order
Allowed values"PLANNED""CLOSED""RELEASED"totalAmountrequiredTotal 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/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
401Unauthorized - Invalid or missing authentication
Unauthorized - Invalid or missing authentication
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
403
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
500
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"