Customer
Last updated
Was this helpful?
Last updated
Was this helpful?
The Customer API endpoints allow fetching all orders associated with a customer.
/umbraco/commerce/storefront/api/v1/customer/{customerReferenceOrEmail}/orders
A custom reference or email of an existing customer. Can be UrlBase64 encoded.
cust_14c7ba32-367d-42f3-83b1-e59c839e5d22
Defines the properties that should be expanded in the response
{"value":" "}
Limit the properties returned in the response
{"value":" "}
API key specified through configuration to authorize access to the API.
The ID or the alias of the store
{"value":"5a7e5d2e-d932-4f18-bc4b-8ee1b641b358"}
curl -L \
--url '/umbraco/commerce/storefront/api/v1/customer/{customerReferenceOrEmail}/orders' \
--header 'Api-Key: text' \
--header 'Store: text'
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"cartNumber": "text",
"orderNumber": "text",
"languageIsoCode": "text",
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"taxClass": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text"
},
"taxRate": 1,
"orderStatus": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text"
},
"customerInfo": {
"customerReference": "text",
"firstName": "text",
"lastName": "text",
"email": "text"
},
"paymentInfo": {
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"region": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"paymentMethod": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text"
},
"taxRate": 1,
"totalPrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
}
},
"shippingInfo": {
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"region": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"shippingMethod": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text"
},
"taxRate": 1,
"totalPrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
}
},
"transactionInfo": {
"transactionId": "text",
"authorizedAmount": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"value": 1,
"formatted": {
"value": "text"
}
},
"feeAmount": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"value": 1,
"formatted": {
"value": "text"
}
},
"baseCurrencyExchangeRate": 1,
"paymentStatus": "Initialized"
},
"totalQuantity": 1,
"subtotalPrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"previousAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"withPreviousAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"totalAdjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
},
"totalPrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"previousAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"withPreviousAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"totalAdjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
},
"transactionAmount": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"value": 1,
"formatted": {
"value": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"value": 1,
"formatted": {
"value": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"value": 1,
"formatted": {
"value": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"amount": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"value": 1,
"formatted": {
"value": "text"
}
},
"originalAmount": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"value": 1,
"formatted": {
"value": "text"
}
}
}
]
},
"createDate": "2025-02-20T19:09:45.728Z",
"updateDate": "2025-02-20T19:09:45.728Z",
"finalizedDate": "2025-02-20T19:09:45.728Z",
"isFinalized": true,
"discountCodes": [
{
"discount": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text"
},
"code": "text",
"isFulfilled": true
}
],
"discounts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text"
}
],
"giftCards": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
}
],
"orderLines": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"productReference": "text",
"productVariantReference": "text",
"sku": "text",
"name": "text",
"quantity": 1,
"taxClass": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text"
},
"bundleId": "text",
"basePrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
},
"unitPrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
},
"taxRate": 1,
"totalPrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"previousAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"withPreviousAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"totalAdjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
},
"orderLines": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"productReference": "text",
"productVariantReference": "text",
"sku": "text",
"name": "text",
"quantity": 1,
"taxClass": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text"
},
"bundleId": "text",
"basePrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
},
"unitPrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
},
"taxRate": 1,
"totalPrice": {
"withoutAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"value": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"previousAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"withPreviousAdjustments": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"totalAdjustment": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"adjustments": [
{
"name": "text",
"type": "text",
"price": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
},
"originalPrice": {
"currency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text"
},
"withoutTax": 1,
"tax": 1,
"withTax": 1,
"formatted": {
"withoutTax": "text",
"tax": "text",
"withTax": "text"
}
}
}
]
},
"orderLines": "[Circular Reference]",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"attributes": [
{
"name": {
"alias": "text",
"name": "text"
},
"value": {
"alias": "text",
"name": "text"
}
}
]
}
],
"properties": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"attributes": [
{
"name": {
"alias": "text",
"name": "text"
},
"value": {
"alias": "text",
"name": "text"
}
}
]
}
],
"properties": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"tags": [
"text"
]
}
]
Success