latestOpenAPI 3.0.02026-08-105585620.8 KB

18e2f2e178dd

Webhook API

Get webhook configuration

Returns configured webhook URL and list of webhook event types enabled for the store

get/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
        ]
      }
    }
  }
}