MobiariDocs

List the signed-in customer's orders

GET
/storefront-api/{store_slug}/customers/me/orders

The 100 most recent orders, newest first, as a plain array.

Authorization

customer_auth
AuthorizationBearer <token>

Authorization: Bearer <token> with the token from the store's customer login or register call. Valid for 30 days, only in the store that issued it.

In: header

Path Parameters

store_slug*string

Store slug

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/storefront-api/string/customers/me/orders"
[
  {
    "created_at": "2019-08-24T14:15:22Z",
    "currency": "string",
    "fulfillment_status": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "number": "string",
    "payment_status": "string",
    "status": "string",
    "total_cents": 0
  }
]
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}