Squarespace Discounts API

Manage discounts for a website.

Business capability
Discount & Promotion Management BC-440.30

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/commerce/discounts List and filter discounts · List discounts #
Ask an LLM
“Which discounts are currently active on my store?”
“Can I list only promo-code discounts and leave out the auto-applied ones?”
Tell an agent
List my discounts with status {status}.
Search discounts by name or promo code for {search}.
POST /v1/commerce/discounts Create a discount or promo code · Create discount #
Ask an LLM
“How do I set up a new promo code for my Squarespace store?”
“Can I create a discount that each customer can only use once?”
Tell an agent
Create discount {name} using template {template}, criteria {criteria}, trigger {trigger}, starting {validFrom}.
Create a once-per-customer discount {name} ({template}, {criteria}, {trigger}) valid from {validFrom} to {validTo}.
DELETE /v1/commerce/discounts/{discountId} Delete a discount · Delete discount #
Ask an LLM
“How do I get rid of a discount I no longer want?”
“Can I delete a discount even if its type isn't supported by this API version?”
Tell an agent destructive · confirm first
Delete discount {discountId}.
Remove the discount {discountId} from my store.
GET /v1/commerce/discounts/{discountId} Get one discount's details · Get discount #
Ask an LLM
“How do I look up the settings of a single discount by its ID?”
“When does a specific discount start and expire?”
Tell an agent
Get discount {discountId}.
Show me how discount {discountId} is configured.
PUT /v1/commerce/discounts/{discountId} Replace an existing discount's settings · Update discount #
Ask an LLM
“How do I extend the expiry date on a discount I already created?”
“Can I cap how many times an existing discount can be redeemed site-wide?”
Tell an agent
Update discount {discountId} so it is named {name} with template {template}, criteria {criteria}, trigger {trigger}, from {validFrom}.
Change existing discount {discountId} to allow at most {maxUsesAllowed} uses.
GET /v1/fulfillments/fulfillment-options List fulfillment options usable with discounts · Get fulfillment options #
Ask an LLM
“Which shipping options and carrier services can a discount apply to?”
“What fulfillment option IDs do I need for a free-shipping discount?”
Tell an agent
List the fulfillment options and carrier services available for discounts.
Get fulfillment option IDs for discounts, sending user agent {user_agent}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/squarespace:squarespace-discounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

squarespace-discounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Commerce Discounts API
  version: '2'
  description: Manage discounts for a website.
servers:
- url: https://api.squarespace.com
  description: Commerce API
security:
- Authorization: []
tags:


# --- truncated at 32 KB (33 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/squarespace/refs/heads/main/openapi/squarespace-discounts-api-openapi.yml