How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Squarespace Discounts API

Manage discounts for a website.

Squarespace Discounts API is one of 13 APIs that Squarespace publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Discounts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

This API exposes 6 operations across 3 paths, and defines 23 schemas. It is described by OpenAPI 3.2.0, at version 2.

Requests are made against a single base URL, https://api.squarespace.com.

6 operations 3 paths 23 schemas 1 DELETE3 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2
Server
https://api.squarespace.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Squarespace Discounts API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (Authorization). By default, every request must be authenticated.

Paths & Operations 6

Across 3 paths, the API surfaces 6 operations — 1 DELETE, 3 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Discounts 6

Manage discounts for a website.

GET
/v1/commerce/discounts
List discounts
listDiscounts 12 params → 200400403429
POST
/v1/commerce/discounts
Create discount
createDiscount 2 params body → 201400403409429
DELETE
/v1/commerce/discounts/{discountId}
Delete discount
deleteDiscount 3 params → 204403404429
GET
/v1/commerce/discounts/{discountId}
Get discount
getDiscount 3 params → 200403404429
PUT
/v1/commerce/discounts/{discountId}
Update discount
updateDiscount 3 params body → 200400403404409429
GET
/v1/fulfillments/fulfillment-options
Get fulfillment options
getFulfillmentOptions 2 params → 200403404429

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are Discount (16 properties), CreateDiscountRequest (11 properties), BuyXGetYCriteria (7 properties), StandardErrorPayload (5 properties). Each schema is shown below with its type and property counts.

PromoCodeTrigger
object
Trigger for a discount that is unlocked by a shopper-entered promo code.
2 properties 2 required
CartTotalCriteria
object
Discount applies when the cart total meets or exceeds a minimum.
2 properties 2 required
SelectedShippingOption
object
A shipping option targeted by a free-shipping discount.
4 properties 2 required
AutoTrigger
object
Trigger for a discount that is automatically applied; no promo code required.
1 property 1 required
FulfillmentOption
object
Fulfillment option IDs and carrier services for a website.
4 properties 4 required
PercentageTemplate
object
Apply a percentage discount off the cart total.
2 properties 2 required
PaymentPlanOptions
object
Payment-plan applicability settings for this discount. When omitted from a create or update request, defaults to NONE.
1 property 1 required
StandardErrorPayload
object
5 properties
FulfillmentOptionsList
object
List of fulfillment option IDs and carrier services.
1 property 1 required
BuyXGetYFixedAmountTemplate
object
Apply a fixed monetary amount off each reward item in a BUYXGETY discount.
3 properties 2 required
MonetaryAmount
object
A monetary amount with currency code and decimal value.
2 properties
FreeShippingTemplate
object
Waive shipping cost for eligible carts.
3 properties 1 required
BuyXGetYPercentageTemplate
object
Apply a percentage discount off each reward item in a BUYXGETY discount.
3 properties 2 required
ProductCriteria
object
Discount applies when the cart contains a specific product.
3 properties 1 required
SubscriptionOptions
object
Subscription applicability settings for this discount. When omitted from a create or update request, defaults to EXCLUDED.
1 property 1 required
FixedAmountTemplate
object
Apply a fixed monetary amount off the cart total.
2 properties 2 required
Discount
object
Discount configured for a Commerce store.
16 properties 5 required
AnyOrderCriteria
object
Discount applies to any order. No additional conditions.
1 property 1 required
CreateDiscountRequest
object
Request body for creating a discount.
11 properties 5 required
DiscountResponse
object
Envelope for a single discount response.
1 property 1 required
BuyXGetYCriteria
object
Discount applies when the cart contains a required quantity of qualifying items (buy side), granting a discount on a quantity of eligible items (reward side).
7 properties 3 required
CarrierService
object
Carrier service identifier and display name.
2 properties 2 required
PaginatedDiscountListResponse
object
Offset-paginated list of discounts for a website.
3 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

squarespace-discounts-api-openapi.yml Raw ↑

Other APIs Squarespace publishes across the network.

Squarespace Orders API
Squarespace Products API
Squarespace Inventory API
Squarespace Profiles API
Squarespace Transactions API
Squarespace Webhook Subscriptions API
Squarespace Site API
Squarespace MCP Server
Squarespace Analytics API
Squarespace Contacts API
Squarespace Webhook Subscriptions API
Squarespace Websites API
Where this information came from

This is an independent, third-party profile of Squarespace Discounts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.