Skip to main content

supplyOrdersUpdates

Subscribe to real-time updates for all supply orders within a specific company. 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 company.

Business Rules

  • Only receives updates for supply orders belonging to the specified company
  • User must have access to the company 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 company
supplyOrdersUpdates(
companyId: ID!
): SupplySubscriptionsPayload!

Arguments

supplyOrdersUpdates.companyId ● ID! non-null scalar common

The Company ID for which supply order updates will be received.

Type

SupplySubscriptionsPayload object common