Create store subscription

Create a unique store subscription per account, using each merchant’s specific access token and store id. Combine the target and filter to create a subscription

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
👍

How to use this endpoint

To see an example request, click Examples in the payload on the right.

📘

target_id, filter_id and active are all required. Get the IDs from Create target and Create filter.

Path Params
string
required

Your app's client ID: the 32-character ID you received when you registered your app, the same value you send as client_id to Generate Access Token. It isn't the numeric app ID: that returns 403 {"message": "Forbidden"}.

string
required

The merchant's store ID (app_key), returned in your redirect URL when the merchant installs your app.

Body Params
webhook_subscription
object
required

The target, filter and tenant status required for the subscription

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json