Shipstation v0.3.6 Shipstation.Webhook

Manage webhooks associated with your account

Summary

Functions

Retrieves a list of registered webhooks for the account

Subscribes to a specific type of webook. If a store_id is passed in, the webhooks will only be triggered for that specific store_id. The event type that is passed in will determine what type of webhooks will be sent

Unsubscribes from a certain webhook

Functions

Retrieves a list of registered webhooks for the account

subscribe(webhook)

Subscribes to a specific type of webook. If a store_id is passed in, the webhooks will only be triggered for that specific store_id. The event type that is passed in will determine what type of webhooks will be sent.

NOTE: Webhooks will be sent to the URL specified in the target_url. The HTTP request will be sent via POST and will contain a webhook JSON object in the body.

unsubscribe(webhook_id)
unsubscribe(webhook_id :: integer) :: Shipstation.Client.response_type

Unsubscribes from a certain webhook.