Skip to main content

productUpdatesForParty

Subscribe to real-time updates for a specific product. This subscription provides live notifications when the specified product is updated and only to the subscribed party.

Authentication Requirements

Requires authentication and the products:receive_updates permission for the brand that owns the product.

Business Rules

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

Error Conditions

  • Product not found if the product ID doesn't exist or is not accessible
  • Authentication required if not logged in
  • Permission denied if user lacks access to the product's brand
productUpdatesForParty(
partyId: ID!
productId: ID!
): ProductUpdatesPayload!

Arguments

productUpdatesForParty.partyId ● ID! non-null scalar

The ID of the party that will receive the updates.

productUpdatesForParty.productId ● ID! non-null scalar

The Product ID for which updates will be received.

Type

ProductUpdatesPayload object