SwiftPOD
  1. Webhook
SwiftPOD
  • Api
    • Webhook
      • List Webhooks
        GET
      • Subscribe to Webhook
        POST
      • Unsubcribe to webhook
        DELETE
      • Webhook Notification - Order Status Change Example
        POST
      • Webhook Notification - Tracking Number Example
        POST
      • Webhook Notification - In Transit and Delivered Status Example
        POST
      • Webhook Notification - Stock Status Change Example
        POST
    • Orders
      GET
    • Create Order
      POST
    • Create Multiple Orders
      POST
    • Get Order
      GET
    • Update Order
      PUT
    • Update Order Status
      PUT
    • Cancel Order
      POST
    • Catalogs
      GET
  • Changelog
  1. Webhook

Unsubcribe to webhook

DELETE
/v1/webhooks/subscribe/{event}

Request

Path Params
event
enum<string> 
required
Events can take one of these values: Events can be one of the following values
Allowed values:
order_notifyshipment_notifystock_notify
Example:
order_notify

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.swiftpod.com/v1/webhooks/subscribe/order_notify'

Responses

⚪0Unsubcribe to webhook
text/plain
Body
object {0}
Previous
Subscribe to Webhook
Next
Webhook Notification - Order Status Change Example
Built with