{ "opencollection": "1.0.0", "info": { "name": "WooCommerce REST Cart Webhooks API", "version": "v3" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "WooCommerce List All Webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://example.com/wp-json/wc/v3/webhooks", "params": [ { "name": "page", "value": "", "type": "query", "description": "Current page of the collection. Defaults to 1." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of items per page. Defaults to 10, maximum 100." }, { "name": "status", "value": "all", "type": "query", "description": "Filter webhooks by status. Options: all, active, paused, disabled." } ] }, "docs": "Returns all configured webhooks. Supports filtering by status (active, paused, disabled) and delivery URL." }, { "info": { "name": "WooCommerce Create a Webhook", "type": "http" }, "http": { "method": "POST", "url": "https://example.com/wp-json/wc/v3/webhooks", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new webhook. Requires a topic (e.g. order.created) and a delivery URL. An optional secret key is used to generate the HMAC-SHA256 signature included in each delivery." }, { "info": { "name": "WooCommerce Retrieve a Webhook", "type": "http" }, "http": { "method": "GET", "url": "https://example.com/wp-json/wc/v3/webhooks/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier for the resource." } ] }, "docs": "Returns a single webhook configuration by its numeric ID." }, { "info": { "name": "WooCommerce Update a Webhook", "type": "http" }, "http": { "method": "PUT", "url": "https://example.com/wp-json/wc/v3/webhooks/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier for the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a webhook configuration by its numeric ID." }, { "info": { "name": "WooCommerce Delete a Webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://example.com/wp-json/wc/v3/webhooks/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier for the resource." }, { "name": "force", "value": "", "type": "query", "description": "Set to true to permanently delete the resource, bypassing the trash." } ] }, "docs": "Permanently deletes a webhook by its numeric ID." } ] } ], "bundled": true }