π Primary subscription for real-time updates on both sales and items.
graphqlsubscription SaleActivity($saleId: ID!, $itemIdFilter: ItemIdsFilter) { saleActivity(saleId: $saleId, itemIdFilter: $itemIdFilter) { __typename ... on Sale { id status } ... on Item { id status currentBid userBids { id amount maxAmount bidderIdentifier } bids { amount maxAmount bidDate bidderIdentifier } } } }
Use Cases:
- Listen for all changes on sale object and item objects for a given saleID.
- Track sale status changes (e.g. βOPENβ β βCLOSINGβ)
- Update UI countdowns and prices dynamically
Auth: Optional, but required to get user scoped properties such as
userBids