Skip to content

Order email activity

GET/orders/{id}/emails

Costs 1 rate-limit point · Rate limits

Every email Invoice Falcon sent for one order's documents (its invoice or quote and its credit notes), newest first: which document, who it went to, whether it was the document, a payment reminder or a BCC copy, and when Amazon SES reported it sent, delivered, opened, clicked, bounced (with the reason), rejected or marked as spam. status is the furthest step each email reached. The same list as the Email activity card on the order page. An open is counted from an image in the email, so a mail app that blocks images never reports one. Emails sent before July 2026 are not recorded. The last 100. Read-only.

For one document only, GET /documents/invoices/:id/history also lists prints and downloads.

status values: sent (Sent), delivered (Delivered), opened (Opened), soft_bounced (Not delivered yet (temporary bounce)), bounced (Bounced), complained (Marked as spam), rejected (Not sent).

kind values: document (Document), reminder (Payment reminder), copy (Copy (BCC)).

type values: invoice (Invoice), quote (Quote), pro_forma (Pro forma invoice), credit_note (Credit note), custom (Custom document).

Also searched asemail activityorder email historysend historyemail log for an orderwas the invoice delivereddid the customer open the invoice emaildid the invoice email bouncewho was the invoice emailed toemails sent for an order

Path parameters

  • idstringRequired

    A Shopify id (gid://shopify/Order/123 or 123) or the order number as the store shows it ("#1001" or "1001"). For a draft order, send its gid (gid://shopify/DraftOrder/123).

Returns

  • shopify_order_idstring
    Example: gid://shopify/Order/5552001
  • documentsarray of objects
    Show 3 child attributesHide child attributes
    • idinteger
      Example: 980190968
    • typestring
      Example: invoice
    • numberstring
      Example: INV-88
  • emailsarray of objects
    Show 15 child attributesHide child attributes
    • idinteger
      Example: 67
    • documentobject
      Show 3 child attributesHide child attributes
      • idinteger
        Example: 980190969
      • typestring
        Example: credit_note
      • numberstring
        Example: CN-88
    • tostring
      Example: old@example.com
    • to_customerboolean, nullable
    • kindstring
      Example: document
    • automaticboolean, nullable
    • statusstring
      Example: bounced
    • sent_atstring
      Example: 2026-11-13T09:00:00Z
    • delivered_atstring, nullable
    • opened_atstring, nullable
    • clicked_atstring, nullable
    • bounced_atstring
      Example: 2026-11-13T09:00:09Z
    • bounceobject
      Show 3 child attributesHide child attributes
      • typestring
        Example: Permanent
      • sub_typestring
        Example: General
      • detailstring
        Example: smtp; 550 5.1.1 user unknown
    • rejected_atstring, nullable
    • complained_atstring, nullable

Errors

403
paid_plan_required

v3_required: the shop still runs the previous dashboard. paid_plan_required: API access needs a paid plan.

404
not_found

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

422

The request failed validation. Nothing was saved.

Any request can also fail with unauthorized (401) or rate_limited (429).

Every error has the same shape: see Errors.

GET/orders/{id}/emails
curl "https://app.invoicefalcon.com/api/v3/external/orders/{id}/emails" \
  -H "X-Auth-Token: $INVOICE_FALCON_API_KEY"
Response
{
  "shopify_order_id": "gid://shopify/Order/5552001",
  "documents": [
    {
      "id": 980190968,
      "type": "invoice",
      "number": "INV-88"
    },
    {
      "id": 980190969,
      "type": "credit_note",
      "number": "CN-88"
    }
  ],
  "emails": [
    {
      "id": 67,
      "document": {
        "id": 980190969,
        "type": "credit_note",
        "number": "CN-88"
      },
      "to": "old@example.com",
      "to_customer": null,
      "kind": "document",
      "automatic": null,
      "status": "bounced",
      "sent_at": "2026-11-13T09:00:00Z",
      "delivered_at": null,
      "opened_at": null,
      "clicked_at": null,
      "bounced_at": "2026-11-13T09:00:09Z",
      "bounce": {
        "type": "Permanent",
        "sub_type": "General",
        "detail": "smtp; 550 5.1.1 user unknown"
      },
      "rejected_at": null,
      "complained_at": null
    },
    {
      "id": 66,
      "document": {
        "id": 980190968,
        "type": "invoice",
        "number": "INV-88"
      },
      "to": "books@shop.test",
      "to_customer": false,
      "kind": "copy",
      "automatic": null,
      "status": "delivered",
      "sent_at": "2026-11-12T09:00:00Z",
      "delivered_at": "2026-11-12T09:00:05Z",
      "opened_at": null,
      "clicked_at": null,
      "bounced_at": null,
      "bounce": null,
      "rejected_at": null,
      "complained_at": null
    },
    {
      "id": 65,
      "document": {
        "id": 980190968,
        "type": "invoice",
        "number": "INV-88"
      },
      "to": "Ann@Example.com",
      "to_customer": true,
      "kind": "reminder",
      "automatic": false,
      "status": "delivered",
      "sent_at": "2026-11-11T09:00:00Z",
      "delivered_at": "2026-11-11T09:00:05Z",
      "opened_at": null,
      "clicked_at": null,
      "bounced_at": null,
      "bounce": null,
      "rejected_at": null,
      "complained_at": null
    }
  ]
}