Update event subscription
authentication object; omit it entirely to leave authentication unchanged, or send {"type": "NONE"} to clear it.
Pausing and resuming deliveries
Send{"active": false} to stop deliveries for a subscription, and {"active": true} to start them again. Pausing keeps the subscription’s id, signing secret and delivery history intact, so you don’t need to delete and recreate it — useful while you deploy a change to your endpoint or investigate a failure.
While a subscription is paused, events that occur are not queued for later delivery. You will not receive them after resuming, so re-sync any affected products with List Products once you’re back up.
Authorizations
Path Parameters
Identifier of the event subscription, e.g. whsub_01j.... Returned as id from Create event subscription and List event subscriptions.
Body
Partial update — omitted fields keep their current value.
HTTPS URL Headout will deliver events to. Omit to keep the current value.
^https://.*Event types to subscribe to. Omit to keep the current value; if present, must be non-empty with no duplicates.
1The event types available for subscription:
product.listing_status_changed— A product was listed or unlisted.product.variant_listing_status_changed— One or more variants under a product were listed or unlisted. Fires when a product is listed (its variants arrive as listed) or delisted (all its variants are reported delisted), and also while a product stays listed but individual variants under it are listed or delisted.product.data_changed— The content of a product that is listed (and was listed at the previous sync) changed.data.changedFieldsnames which fields differ. Listing/unlisting and variant add/remove are reported by the two events above, not here.product.variant_pricing_changed— The near-term pricing of a variant under a listed product changed for a specific date.datanames theproductId,variantId, anddatewhose price moved, not the new amounts — re-fetch the price to read them.
product.listing_status_changed, product.variant_listing_status_changed, product.data_changed, product.variant_pricing_changed Authentication Headout attaches to webhook deliveries for this subscription. Tri-state on update: omit this field entirely to keep the current authentication unchanged, send {"type": "NONE"} to clear it, or send {"type": "AUTHORIZATION_HEADER", "value": "..."} to set it.
Optional free-text label. Omit to keep the current value.
500Pause or resume delivery. false stops deliveries for this subscription; true resumes them. Omit to keep the current value. Pausing keeps the subscription's id, signing secret and delivery history intact — you do not need to delete and recreate it.
Response
Successful response
Identifier of this subscription, e.g. whsub_01j.... Use in Get/Update/Delete/Rotate secret.
HTTPS URL events are delivered to.
Event types this subscription is subscribed to.
The event types available for subscription:
product.listing_status_changed— A product was listed or unlisted.product.variant_listing_status_changed— One or more variants under a product were listed or unlisted. Fires when a product is listed (its variants arrive as listed) or delisted (all its variants are reported delisted), and also while a product stays listed but individual variants under it are listed or delisted.product.data_changed— The content of a product that is listed (and was listed at the previous sync) changed.data.changedFieldsnames which fields differ. Listing/unlisting and variant add/remove are reported by the two events above, not here.product.variant_pricing_changed— The near-term pricing of a variant under a listed product changed for a specific date.datanames theproductId,variantId, anddatewhose price moved, not the new amounts — re-fetch the price to read them.
product.listing_status_changed, product.variant_listing_status_changed, product.data_changed, product.variant_pricing_changed Free-text label for this subscription, if set.
Whether this subscription is currently active.
When this subscription was created.
When this subscription was last updated.
Signing secret for this subscription, used to verify the X-Headout-Signature header on delivered events. Only present in the response to Create event subscription and Rotate signing secret — never returned again afterwards, so store it immediately.
Masked trailing characters of the current signing secret, returned on reads so you can tell which secret is active without exposing it.