Upsert PCN subscription

Create or edit a subscription to receive the updates that are relevant to you.

circle-info

Read our guideline to use the PCN here: [New] Product Change Notifications API

If you use a new ID, this endpoint will create a new subscription for you, and if you use an ID that exists for your account we will overwrite the existing subscription with the new configuration provided.

Upsert endpoint:

put
/product-change-notification/{subscription_id}
Path parameters
subscription_idstringRequired

Unique ID of your subscription.

Header parameters
AuthorizationstringRequired

Token <Your_API_Key>.

Default: Token <Partner_API_key>.
Body

Request body used to subscribe to product change notifications.

subscription_typestring · enumRequired

Scope of the subscription.

Example: product_idsPossible values:
entity_idsinteger[] · min: 1Optional

Unique identifiers for the entities that belong to the selected subscription scope.

Example: 974081
callback_urlstring · uriRequired

HTTP or HTTPS endpoint where Tiqets will send the product change notifications.

Example: https://example-partner.com/webhooks/product-change
Responses
chevron-right
200

Subscription successfully updated.

application/json
put
/product-change-notification/{subscription_id}

Last updated

Was this helpful?