{"openapi":"3.1.0","info":{"title":"Squarespace Commerce (BYOK) API","version":"0.1.0","description":"Squarespace Commerce (BYOK) lets an AI assistant read your own Squarespace Commerce data through the Squarespace Commerce API with a key you supply (Commerce API key with read-only permission (needs the Commerce Advanced plan)). Read-only: 6 tools (list_orders, get_order, list_products, get_products, list_inventory, list_transactions). The BYOK key travels with each request, is used for that one...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-squarespace.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-squarespace/docs"},"termsOfService":"https://connectorbay.com/byok-squarespace/terms"},"servers":[{"url":"https://byok-squarespace.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-squarespace/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_orders":{"post":{"operationId":"list_orders","summary":"List store orders, up to 50 per page ordered by modification time, with totals, status, customer email, line items and s","description":"List store orders, up to 50 per page ordered by modification time, with totals, status, customer email, line items and shipping address. By default orders in the payment states NOT_CHARGED, AUTHORIZED, PAID and REFUNDED are listed. Use for \"What Squarespace orders are waiting to be fulfilled\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"fulfillment_status":{"anyOf":[{"enum":["PENDING","FULFILLED","CANCELED"],"type":"string"},{"type":"null"}],"default":null,"description":"Only orders with this fulfillment status.","title":"Fulfillment Status"},"payment_states":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated payment states to include, from NOT_CHARGED, AUTHORIZED, PAID, PARTIALLY_PAID, PENDING, FAILED, REFUND_PENDING, REFUNDED, REFUND_FAILED.","title":"Payment States"},"customer_id":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only orders of this customer id.","title":"Customer Id"},"modified_after":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only records modified after this ISO 8601 UTC time, for example 2026-01-01T00:00:00Z. Must be used together with modified_before.","title":"Modified After"},"modified_before":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only records modified before this ISO 8601 UTC time. Must be used together with modified_after.","title":"Modified Before"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for the next page: pagination.nextPageCursor from the previous answer. Cannot be combined with other filters. Leave out for the first page.","title":"Cursor"}},"title":"list_ordersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_order":{"post":{"operationId":"get_order","summary":"Get one order by id with totals, status, line items, shipping and billing addresses and fulfillments. Use for \"Show me S","description":"Get one order by id with totals, status, line items, shipping and billing addresses and fulfillments. Use for \"Show me Squarespace order 9f2a7b6c8d5e4f3a2b1c0d9e\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"order_id":{"description":"Order id from list_orders (not the order number).","maxLength":60,"title":"Order Id","type":"string"}},"required":["order_id"],"title":"get_orderArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_products":{"post":{"operationId":"list_products","summary":"List store products (physical, service, gift card, digital), up to 50 per page ordered by modification time, with name, ","description":"List store products (physical, service, gift card, digital), up to 50 per page ordered by modification time, with name, price, visibility and tags. Use for \"What products are in my Squarespace store\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"type":{"anyOf":[{"enum":["PHYSICAL","SERVICE","GIFT_CARD","DIGITAL"],"type":"string"},{"type":"null"}],"default":null,"description":"Only products of this type.","title":"Type"},"modified_after":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only records modified after this ISO 8601 UTC time, for example 2026-01-01T00:00:00Z. Must be used together with modified_before.","title":"Modified After"},"modified_before":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only records modified before this ISO 8601 UTC time. Must be used together with modified_after.","title":"Modified Before"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for the next page: pagination.nextPageCursor from the previous answer. Cannot be combined with other filters. Leave out for the first page.","title":"Cursor"}},"title":"list_productsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_products":{"post":{"operationId":"get_products","summary":"Get up to 50 specific products by id (comma-separated) including variants and images. Use for \"Show me the Squarespace p","description":"Get up to 50 specific products by id (comma-separated) including variants and images. Use for \"Show me the Squarespace product with id 5e6f7a8b9c0d1e2f3a4b5c6d\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"product_ids":{"description":"One or more product ids from list_products, separated by commas (at most 50).","maxLength":1500,"title":"Product Ids","type":"string"}},"required":["product_ids"],"title":"get_productsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_inventory":{"post":{"operationId":"list_inventory","summary":"List stock levels of physical and service product variants (SKU, descriptor, quantity, unlimited flag), up to 50 per pag","description":"List stock levels of physical and service product variants (SKU, descriptor, quantity, unlimited flag), up to 50 per page. Use for \"Which Squarespace variants are low on stock\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for the next page: pagination.nextPageCursor from the previous answer. Cannot be combined with other filters. Leave out for the first page.","title":"Cursor"}},"title":"list_inventoryArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_transactions":{"post":{"operationId":"list_transactions","summary":"List payment transactions for orders and donations, up to 50 per page ordered by modification time. Optionally limit to ","description":"List payment transactions for orders and donations, up to 50 per page ordered by modification time. Optionally limit to one order or a modification time window. Use for \"What payments did my Squarespace store receive last week\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"order_id":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only transactions of this order id.","title":"Order Id"},"modified_after":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only records modified after this ISO 8601 UTC time, for example 2026-01-01T00:00:00Z. Must be used together with modified_before.","title":"Modified After"},"modified_before":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only records modified before this ISO 8601 UTC time. Must be used together with modified_after.","title":"Modified Before"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for the next page: pagination.nextPageCursor from the previous answer. Cannot be combined with other filters. Leave out for the first page.","title":"Cursor"}},"title":"list_transactionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}