BigCommerce · Schema

store/order/statusUpdated

This webhook is triggered when an order status changes; for example, from `Pending` to `Awaiting Payment`. ```json filename="Example callback object" showLineNumbers { "created_at": 1561482670, "store_id": "1025646", "producer": "stores/{store_hash}", "scope": "store/order/statusUpdated", "hash": "352e4afc6dd3fc85ea26bfdf3f91852604d57528", "data": { "type": "order", "id": 250, "status": { "previous_status_id": 1, "new_status_id": 11 } } } ```

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS
View JSON Schema on GitHub

JSON Schema

bigcommerce-store-order-statusupdated-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/store_order_statusUpdated",
  "title": "store/order/statusUpdated",
  "description": "This webhook is triggered when an order status changes; for example, from `Pending` to `Awaiting Payment`.\n\n```json filename=\"Example callback object\" showLineNumbers\n{\n  \"created_at\": 1561482670,\n  \"store_id\": \"1025646\",\n  \"producer\": \"stores/{store_hash}\",\n  \"scope\": \"store/order/statusUpdated\",\n  \"hash\": \"352e4afc6dd3fc85ea26bfdf3f91852604d57528\",\n  \"data\": {\n    \"type\": \"order\",\n    \"id\": 250,\n    \"status\": {\n      \"previous_status_id\": 1,\n      \"new_status_id\": 11\n    }\n  }\n}\n```",
  "x-examples": {},
  "allOf": [
    {
      "$ref": "#/components/schemas/webhook_callback_base"
    },
    {
      "description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.",
      "properties": {
        "data": {
          "type": "object",
          "description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.",
          "properties": {
            "type": {
              "type": "string",
              "description": "The type will always be `order`.",
              "example": "order"
            },
            "id": {
              "type": "integer",
              "description": "ID of the order.",
              "example": 250
            },
            "status": {
              "type": "object",
              "properties": {
                "previous_status_id": {
                  "type": "integer",
                  "description": "ID of the previous status.",
                  "example": 1
                },
                "new_status_id": {
                  "type": "integer",
                  "description": "ID of the updated status.",
                  "example": 11
                }
              }
            }
          }
        }
      }
    }
  ],
  "x-tags": [
    "created"
  ],
  "type": "object",
  "x-internal": false
}