latestOpenAPI 3.0.02026-08-105585620.8 KB

18e2f2e178dd

Webhook API

Disable webhook support

Removes the webhook URL and all event types from the store.

delete/webhooks

Headers

X-PF-Store-Idstring

Use this to specify which store you want to use (required only for account level token).

The store IDs can be retrieved with the Get basic information about stores endpoint.

Response

OK

codeinteger

Response status code 200

Example response

{
  "code": 200,
  "result": {
    "url": "​https://www.example.com/printful/webhook",
    "types": [
      "package_shipped",
      "stock_updated"
    ],
    "params": {
      "stock_updated": {
        "product_ids": [
          5,
          12
        ]
      }
    }
  }
}