purchaseOrdersUpdates
Subscribe to real-time updates for all purchase orders within a specific brand. This subscription provides live notifications when purchase orders are created, updated, or their status changes.
Authentication Requirements
Requires authentication and the supply:receive_po_updates permission for the
specified brand.
Business Rules
- Only receives updates for purchase 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
- Includes changes to PO status, milestones, items, and other fields
Error Conditions
- Authentication required if not logged in
- Permission denied if user lacks access to the specified brand
purchaseOrdersUpdates(
brandId: ID!
): SupplySubscriptionsPayload!
Arguments
purchaseOrdersUpdates.brandId ● ID! non-null scalar
The Brand ID for which purchase order updates will be received.