Skip to main content
GET
/
v1
/
customers
/
{id}
/
orders
List customer orders
curl --request GET \
  --url https://api.creem.io/v1/customers/{id}/orders \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "mode": "test",
      "object": "<string>",
      "product": "<string>",
      "amount": 2000,
      "currency": "USD",
      "status": "pending",
      "type": "recurring",
      "created_at": "2023-09-13T00:00:00Z",
      "updated_at": "2023-09-13T00:00:00Z",
      "customer": "<string>",
      "transaction": "tx_1234567890",
      "discount": "dis_1234567890",
      "sub_total": 1800,
      "tax_amount": 200,
      "discount_amount": 100,
      "amount_due": 1900,
      "amount_paid": 1900,
      "fx_amount": 15,
      "fx_currency": "EUR",
      "fx_rate": 1.2,
      "affiliate": "<string>"
    }
  ],
  "pagination": {
    "total_records": 0,
    "total_pages": 0,
    "current_page": 1,
    "next_page": 2,
    "prev_page": null
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.

Path Parameters

id
string
required

The unique identifier of the customer

Query Parameters

page_number
number
default:1

The page number for pagination.

Example:

1

page_size
number
default:10

The number of items per page.

Example:

10

Response

Successfully retrieved customer orders

items
object[]
required

List of order items

pagination
object
required

Pagination details for the list