Skip to main content

supplyOrderUpdates

Subscribe to real-time updates for a specific supply order. This subscription provides live notifications when the specified supply order is updated.

Authentication Requirements

Requires authentication and the supply:receive_order_updates permission for the brand that owns the supply order.

Business Rules

  • Supply order must exist and be accessible to the user
  • User must have access to the brand that owns the supply order
  • Updates are delivered in real-time as they occur

Error Conditions

  • Supply order not found if the order ID doesn't exist or is not accessible
  • Authentication required if not logged in
  • Permission denied if user lacks access to the order's brand
supplyOrderUpdates(
orderId: ID!
): SupplySubscriptionsPayload!

Arguments

supplyOrderUpdates.orderId ● ID! non-null scalar

Type

SupplySubscriptionsPayload object