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

List Webhooks

GET
/v1/webhooks/subscribe

Request

Header Params
Accept
string 
required
Example:
application/json

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 GET 'https://api.swiftpod.com/v1/webhooks/subscribe' \
--header 'Accept: application/json'

Responses

🟢200FetchWebhooks
application/json
Body
array of:
id
integer 
required
store_id
integer 
required
url
string 
required
event
string 
required
created_at
string 
required
updated_at
string 
required
Example
[
  {
    "id": 15,
    "store_id": 316903,
    "url": "https://eoppa0n672s2noz.m.pipedream.net",
    "event": "order_notify",
    "created_at": "2022-07-08T12:50:00.000000Z",
    "updated_at": "2022-07-08T12:50:00.000000Z"
  },
  {
    "id": 16,
    "store_id": 316903,
    "url": "https://webhook.site/7633d701-556a-4dbb-99c7-ab8a089b0b09",
    "event": "shipment_notify",
    "created_at": "2022-07-08T08:01:15.000000Z",
    "updated_at": "2022-07-08T08:01:15.000000Z"
  }
]
Previous
Webhook
Next
Subscribe to Webhook
Built with