Webhook API
Webhooks are an API feature that allows your system to receive notifications about certain events. To set up webhooks, use API requests described below.
PrintfulStoreClient.webhook
Get webhook configuration
Returns configured webhook URL and list of webhook event types enabled for the store
Method
PrintfulStoreClient.webhook.getWebhookConfig()
Arguments
None
Example Usage:
// Soon to be added
Set up webhook configuration
Use this endpoint to enable a webhook URL for a store and select webhook event types that will be sent to this URL.
Method
PrintfulStoreClient.webhook.setWebhookConfig(newConfig: WebhookConfig)
Arguments
newConfig
- Webhook Configuration
Example Usage:
// Soon to be added
Disable webhook support
Removes the webhook URL and all event types from the store.
Method
PrintfulStoreClient.webhook.disableWebhookSupport()
Arguments
None
Example Usage:
// Soon to be added