Getting started
Using Commerce APIs
Inventory API
Orders API
Overview
POST: Create an order
POST: Fulfill an order
GET: Retrieve all orders
GET: Retrieve a specific order
Products API
Overview
About product attributes
Managing attributes
POST: Create a product
POST: Create a product variant
POST: Upload a product image
GET: Retrieve all Store Pages
GET: Retrieve all products
GET: Retrieve specific products
GET: Product image upload status
POST: Assign a product image to variant
POST: Reorder a product image
POST: Update a product
POST: Update a product variant
POST: Update a product image
DEL: Delete a product
DEL: Delete a product variant
DEL: Delete a product image
Profiles API
Transactions API
Webhook Subscriptions API
Delete a webhook subscription
DELETE /api.squarespace.com/{api-version}/webhook_subscriptions/{id}
Deletes a webhook subscription.
A successful request deletes a Webhook Subscription
resource.
Parameters
{api-version}
string
required
See the Webhook Subscriptions API Overview page for the current API version.
{id}
string
required
Specifies the Webhook Subscription
to delete.
Request example
Read the Overview to learn about specific API permissions. Every request should also abide by Squarespace rate limits.
curl "https://api.squarespace.com/1.0/webhook_subscriptions/123" \
-i \
-H "Authorization: Bearer YOUR_OAUTH_TOKEN" \
-H "User-Agent: YOUR_CUSTOM_APP_DESCRIPTION" \
-X DELETE
Response example
A response to a successful request will not contain any data.
Status codes and error conditions
204 NO CONTENT
The Webhook Subscription
was deleted successfully.
404 NOT FOUND
Type: INVALID_REQUEST_ERROR
Subtype: INVALID_ARGUMENT
The requested Webhook Subscription
was not found.