customer.ordered

Triggered when a customer places an order.

customer.ordered

Payload Structure

{
  "payload": {
    "merchantId": "inveterate",
    "createdAt": "2025-06-04T10:30:49.653Z",
    "updatedAt": "2025-06-04T10:30:49.653Z",
    "customer": {
      "id": 7741425221763,
      "email": "[email protected]"
    },
    "detail": {
      "subtotal_price": "629.95",
      "currency": "USD",
      "line_items": [
        {
          "id": 14497615544451,
          "name": "The Multi-managed Snowboard",
          "price": "629.95",
          "quantity": 1,
          "variant_id": 44858553761923,
          "product_id": 8469201158275
        }
      ]
    }
  },
  "metadata": {
    "id": "228491c3-a7db-6b83-5d11-4fcecda101d3",
    "retryCount": 0,
    "shopDomain": "inveterate.myshopify.com",
    "topic": "customer.ordered",
    "version": "2025-06",
    "triggerredAt": "2025-06-04T10:30:49.934Z"
  }
}

Payload Fields

payload

  • createdAt (string): ISO timestamp when the event was created

  • updatedAt (string): ISO timestamp when the event was last updated

  • merchantId (string): Merchant identifier

  • customer (object): Customer information

    • id (number): Customer identifier

    • email (string): Customer's email address

  • detail (object): Order details

    • subtotal_price (string): Subtotal amount of the order

    • currency (string): Currency code (e.g., "USD")

    • line_items (array): Array of ordered items

      • id (number): Line item identifier

      • name (string): Product name

      • price (string): Item price

      • quantity (number): Quantity ordered

      • variant_id (number): Product variant identifier

      • product_id (number): Product identifier

metadata

  • id (string): Unique event identifier

  • retryCount (number): Number of retry attempts for this event

  • shopDomain (string): Shopify domain of the merchant

  • topic (string): Event topic name

  • version (string): API version

  • triggerredAt (string): ISO timestamp when the event was triggered

Last updated

Was this helpful?