Skip to content

List orders for a customer

GET/customers/{id}/orders

Costs 1 rate-limit point · Rate limits

The orders Filemonk delivered for one customer, newest first, paginated, as order summaries.

Also searched asorders of a customerwhat has this customer boughtcustomer purchase history

Path parameters

  • idstringRequired

Query parameters

  • pageinteger

    1-based page number.

    Default 1
  • per_pageinteger

    Rows per page, max 200.

    Default 50

Returns

  • dataarray of objects
    Show 11 child attributesHide child attributes
    • idstring, nullable
      Example: b18e92ce-3ce8-467e-983c-f60ccd421300
    • shopify_order_idstring, nullable
      Example: gid://shopify/Order/7555375628583
    • namestring, nullable
      Example: #1078
    • ordered_atstring, nullable
      Example: 2026-10-26T14:19:16Z
    • customerobject
      Show 3 child attributesHide child attributes
      • emailany
      • first_namestring, nullable
        Example: Jane
      • last_namestring, nullable
        Example: Doe
    • totalobject
      Show 2 child attributesHide child attributes
      • amountstring, nullable
        Example: 357.51
      • currencystring, nullable
        Example: INR
    • statusobject
      Show 2 child attributesHide child attributes
      • financialstring, nullable
        Example: paid
      • flagged_as_fraudboolean, nullable
        Example: false
    • accessobject
      Show 2 child attributesHide child attributes
      • statestring, nullable
        Example: active
      • downloads_countinteger, nullable
        Example: 0
    • deliveryobject
      Show 1 child attributeHide child attributes
      • email_sent_atany
    • line_items_countinteger, nullable
      Example: 1
    • created_atstring, nullable
      Example: 2026-10-26T14:19:29Z
  • metaobject

    Paging of a list (page, per_page query params).

    Show 4 child attributesHide child attributes
    • total_countinteger

      Rows across all pages.

    • pageinteger

      1-based page number.

    • per_pageinteger

      Rows per page, max 200.

    • total_pagesinteger
      Example: 1

Errors

401

Missing or invalid API key.

404

The resource does not exist for this shop, or the action path is not registered.

422

The request failed validation, or sent a key the action does not take (code: "unknown_parameters" with unknown and accepted). Nothing was saved.

429

Rate limited. Cost-weighted per API key, shared with API v1: a read costs 1 point, a write 2, 40 points per fixed 60-second window. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix time the window ends); a 429 adds Retry-After (seconds), retry_after, retryable: true and a next_step in the body. A 429 did nothing: wait retry_after seconds, then send the same request again. The budget is per key, so every tool or script using the key shares it; prefer one list call with per_page over many single reads.

Every error has the same shape: see Errors.

GET/customers/{id}/orders
curl "https://app.filemonk.io/api/v2/external/customers/ca5b4abc-63b1-4e29-be0a-12acb35908c5/orders" \
  -H "X-Auth-Token: $FILEMONK_API_KEY"
Response
{
  "data": [
    {
      "id": "b18e92ce-3ce8-467e-983c-f60ccd421300",
      "shopify_order_id": "gid://shopify/Order/7555375628583",
      "name": "#1078",
      "ordered_at": "2026-10-26T14:19:16Z",
      "customer": {
        "email": null,
        "first_name": "Jane",
        "last_name": "Doe"
      },
      "total": {
        "amount": "357.51",
        "currency": "INR"
      },
      "status": {
        "financial": "paid",
        "flagged_as_fraud": false
      },
      "access": {
        "state": "active",
        "downloads_count": 0
      },
      "delivery": {
        "email_sent_at": null
      },
      "line_items_count": 1,
      "created_at": "2026-10-26T14:19:29Z"
    }
  ],
  "meta": {
    "total_count": 1,
    "page": 1,
    "per_page": 50,
    "total_pages": 1
  }
}