Skip to main content

supplyOrdersUpdates

Subscribe to real-time updates for all supply orders within a specific brand. This subscription provides live notifications when supply orders are created or updated.

Authentication Requirements

Requires authentication and the supply:receive_order_updates permission for the specified brand.

Business Rules

  • Only receives updates for supply orders belonging to the specified brand
  • User must have access to the brand to establish the subscription
  • Updates are delivered in real-time as they occur

Error Conditions

  • Authentication required if not logged in
  • Permission denied if user lacks access to the specified brand
supplyOrdersUpdates(
brandId: ID!
): SupplySubscriptionsPayload!

Arguments

supplyOrdersUpdates.brandId ● ID! non-null scalar

Type

SupplySubscriptionsPayload object