subscription_shop_status_changed

Fired every time the shop-facing status of an order changes.

When: every time an order's shopStatus changes (never for a no-op transition). Best effort: a failed emit never blocks the order flow.

FieldTypeDescription
idstringGreenLeaze order id.
transactionIdstring | null
cartIdstring | null
cartSecureKeystring | null
sourcestring | nullOrder origin.
statusstringOrder status at emit time.
shopStatusstringNew shopStatus.
previousShopStatusstring | nullPrevious shopStatus.
shopShopWithout email.
customerCustomerLinked customer account only: fields are absent before one exists.
{
  "id": "5b0f7c1e-2d7a-4a59-9d6b-3c1f0e0c9a11",
  "transactionId": "GLZ-8F3K2",
  "cartId": "cart_abc123",
  "cartSecureKey": "key_xyz789",
  "source": "dashboard",
  "status": "validating",
  "shopStatus": "active",
  "previousShopStatus": "payment-method-entered",
  "shop": { "id": "0d6e…", "name": "Ma Boutique", "group": { "id": "7a1c…" } },
  "customer": {
    "id": "a41d…",
    "firstName": "Jean",
    "lastName": "Dupont",
    "phone": "+33612345678",
    "email": "[email protected]"
  }
}