---
canonical_url: "https://docs.composio.dev/toolkits/squarespace"
markdown_url: "https://docs.composio.dev/toolkits/squarespace.md"
product: "platform"
version: null
last_updated: null
---

# Squarespace

Squarespace APIs for orders, products, inventory, transactions, contacts, discounts, analytics, profiles, website details, and webhook subscription management

- **Category:** ecommerce
- **Auth:** API_KEY, OAUTH2
- **Composio-managed OAuth available?** No
- **Tools:** 52
- **Triggers:** 0
- **Slug:** `SQUARESPACE`
- **Version:** 00000000_00

## Tools

### Adjust Inventory

**Slug:** `SQUARESPACE_ADJUST_INVENTORY`

Increment, decrement, set finite stock, or mark stock unlimited for Squarespace product variants in one idempotent request.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `adjustments` | object | Yes | Complete inventory adjustment containing decrement, increment, exact finite-stock, and unlimited-stock operations. |
| `idempotency_key` | string | No | Optional stable retry key of up to 64 letters, digits, underscores, or hyphens. Reuse it only for the same logical adjustment. If omitted, a UUID is generated, sent, and returned. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Associate Variant Image

**Slug:** `SQUARESPACE_ASSOCIATE_VARIANT_IMAGE`

Associate a Squarespace product image with a variant, or remove its current image association with remove_image=true, through Products API v2, 1.1, or 1.0.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `image_id` | string | No | Product image ID to associate with the variant. |
| `product_id` | string | Yes | ID of the product that owns the variant and image. |
| `variant_id` | string | Yes | ID of the product variant whose image association will change. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions. |
| `remove_image` | boolean | No | Set true to remove the variant's current image association. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Address Book Entry

**Slug:** `SQUARESPACE_CREATE_ADDRESS_BOOK_ENTRY`

Create an address for a Squarespace contact. If it becomes the contact's only address, Squarespace makes it the default shipping address even when requested otherwise.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `address` | object | Yes | Postal address to add to the contact's address book. |
| `contact_id` | string | Yes | ID of the contact that will own the address. |
| `default_shipping` | boolean | No | Whether to request this entry as the default shipping address. If it is the contact's only address after creation, Squarespace makes it the default even when this is false. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Contact

**Slug:** `SQUARESPACE_CREATE_CONTACT`

Create a contact with name, locale, primary email, and marketing consent.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `locale` | string | Yes | Contact locale. |
| `last_name` | string | Yes | Contact last name. |
| `first_name` | string | Yes | Contact first name. |
| `primary_email` | object | Yes | Primary email and optional marketing consent. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Discount

**Slug:** `SQUARESPACE_CREATE_DISCOUNT`

Create a storefront discount. The new discount can immediately affect checkout pricing, so confirm the criteria, template, trigger, and active date range before calling.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `discount` | object | Yes | Complete discount definition using one official criteria, template, and trigger branch. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Product

**Slug:** `SQUARESPACE_CREATE_PRODUCT`

Create a product in a selected Squarespace Products API generation. v2 supports physical, service, and gift-card products; versions 1.1 and 1.0 use the legacy physical or digital product contract.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `product` | string | Yes | Complete product body matching the selected API generation. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Products API generation. Use v2 for new integrations; 1.1 and 1.0 are legacy versions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Product Variant

**Slug:** `SQUARESPACE_CREATE_PRODUCT_VARIANT`

Create a variant under a Squarespace product using the v2, 1.1, or 1.0 Products API contract. v2 supports GTIN and MPN; legacy versions reject those fields.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `variant` | string | Yes | Complete variant definition for the selected API generation. Only v2 accepts gtin and mpn. |
| `product_id` | string | Yes | ID of the product that will own the new variant. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 select supported legacy contracts. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Webhook Subscription

**Slug:** `SQUARESPACE_CREATE_WEBHOOK_SUBSCRIPTION`

Create an OAuth-owned webhook subscription. The response contains a secret that is shown only when the subscription is created; store it securely. Squarespace does not support API keys for this action.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `topics` | array | No | Event topics that trigger notifications. |
| `endpoint_url` | string | Yes | HTTPS URL to which Squarespace will POST webhook notifications. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Address Book Entry

**Slug:** `SQUARESPACE_DELETE_ADDRESS_BOOK_ENTRY`

Permanently delete a Squarespace contact address. If it was the default shipping address, Squarespace assigns another entry as the default. API-key connections require the CONTACT permission.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `contact_id` | string | Yes | ID of the contact that owns the address book entry. |
| `address_book_entry_id` | string | Yes | ID of the address book entry to permanently delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Contact

**Slug:** `SQUARESPACE_DELETE_CONTACT`

Permanently delete a Squarespace contact by ID. API-key connections require the CONTACT permission.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `contact_id` | string | Yes | ID of the contact to permanently delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Discount

**Slug:** `SQUARESPACE_DELETE_DISCOUNT`

Permanently delete a Squarespace discount, including unsupported legacy discount types owned by the website. API-key connections require the DISCOUNTS permission.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `discount_id` | string | Yes | ID of the discount to permanently delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Product

**Slug:** `SQUARESPACE_DELETE_PRODUCT`

Permanently delete a Squarespace product from the selected Products API generation. API-key connections require Products API Read and Write permission.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `product_id` | string | Yes | ID of the product to permanently delete. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Product Image

**Slug:** `SQUARESPACE_DELETE_PRODUCT_IMAGE`

Permanently delete an image from a product in a selected Squarespace Products API generation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `image_id` | string | Yes | ID of the product image to permanently delete. |
| `product_id` | string | Yes | ID of the product that owns the image. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Product Variant

**Slug:** `SQUARESPACE_DELETE_PRODUCT_VARIANT`

Permanently delete a Squarespace product variant through Products API v2, 1.1, or 1.0. Squarespace rejects deletion of a product's only variant. API-key connections require Products API Read and Write permission.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `product_id` | string | Yes | ID of the product that owns the variant. |
| `variant_id` | string | Yes | ID of the product variant to permanently delete. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Webhook Subscription

**Slug:** `SQUARESPACE_DELETE_WEBHOOK_SUBSCRIPTION`

Permanently delete an OAuth-owned webhook subscription. Squarespace does not support API keys for this action.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `subscription_id` | string | Yes | ID of the webhook subscription. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Fulfill Order

**Slug:** `SQUARESPACE_FULFILL_ORDER`

Mark an order fulfilled, optionally add shipment details and send the customer an email notification.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order_id` | string | Yes | Order ID to mark as fulfilled. |
| `shipments` | array | No | Optional shipment records to add while fulfilling the order. Each record requires carrier, service, ship date, and tracking number; tracking URL is optional. Omit this field to fulfill without shipment details. |
| `should_send_notification` | boolean | No | Whether Squarespace should email the customer about the added shipments. Omit to use Squarespace's default behavior; false explicitly suppresses the notification. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Address Book Entry

**Slug:** `SQUARESPACE_GET_ADDRESS_BOOK_ENTRY`

Return one address book entry for a contact.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `contact_id` | string | Yes | Parent contact ID. |
| `address_book_entry_id` | string | Yes | Address book entry ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Contact

**Slug:** `SQUARESPACE_GET_CONTACT`

Return one Squarespace contact by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `contact_id` | string | Yes | Unique ID of the contact to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Discount

**Slug:** `SQUARESPACE_GET_DISCOUNT`

Return one Squarespace discount by its ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `discount_id` | string | Yes | Discount ID to retrieve. Current Squarespace discount IDs use a 24-character identifier format. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Fulfillment Options

**Slug:** `SQUARESPACE_GET_FULFILLMENT_OPTIONS`

Return fulfillment option IDs and carrier services usable in discount rules.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Image Processing Status

**Slug:** `SQUARESPACE_GET_IMAGE_PROCESSING_STATUS`

Return the queued, processing, ready, or error status for an uploaded product image in a selected Squarespace Products API generation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `image_id` | string | Yes | ID of the uploaded product image whose processing status to retrieve. |
| `product_id` | string | Yes | ID of the product that owns the uploaded image. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Inventory

**Slug:** `SQUARESPACE_GET_INVENTORY`

Return real-time inventory for one to 50 product variant IDs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `variant_ids` | array | Yes | One to 50 product variant IDs to retrieve. Squarespace does not guarantee that results follow the requested order. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Order

**Slug:** `SQUARESPACE_GET_ORDER`

Return one Squarespace order by its ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order_id` | string | Yes | Unique ID of the order to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Products

**Slug:** `SQUARESPACE_GET_PRODUCTS`

Return up to 50 products by ID from a selected Products API generation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions. Version 1.1 can read download products; 1.0 cannot. |
| `product_ids` | array | Yes | One to 50 product IDs to retrieve in one request. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Profiles

**Slug:** `SQUARESPACE_GET_PROFILES`

Return up to 50 legacy Squarespace Profiles records by ID. The Profiles API is in maintenance mode; prefer Contacts for new workflows.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `profile_ids` | array | Yes | One to 50 legacy profile IDs to retrieve. Current Squarespace profile IDs use a 24-character identifier format. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Transactions

**Slug:** `SQUARESPACE_GET_TRANSACTIONS`

Return financial transaction documents for one to 50 document IDs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `document_ids` | array | Yes | One to 50 transaction document IDs to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Webhook Subscription

**Slug:** `SQUARESPACE_GET_WEBHOOK_SUBSCRIPTION`

Retrieve one OAuth-owned webhook subscription by ID. The secret is not returned. Squarespace does not support API keys for this action.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `subscription_id` | string | Yes | ID of the webhook subscription. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Website

**Slug:** `SQUARESPACE_GET_WEBSITE`

Return basic identity, locale, currency, time zone, and measurement details for the connected website.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Import Order

**Slug:** `SQUARESPACE_IMPORT_ORDER`

Create an externally visible Squarespace order from a third-party sales channel. This can deduct live inventory when inventoryBehavior is DEDUCT and can email the shopper when shopperFulfillmentNotificationBehavior is SEND; verify amounts, line items, stock behavior, and notification intent before calling. API-key calls are limited to 100 per hour per website.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | object | Yes | Complete official third-party order import body. |
| `idempotency_key` | string | No | Optional stable retry key of up to 64 letters, digits, underscores, or hyphens. Reuse it only for the identical order body. If omitted, a UUID is generated, sent to Squarespace, and returned. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Address Book Entries

**Slug:** `SQUARESPACE_LIST_ADDRESS_BOOK_ENTRIES`

List a contact's address book entries one cursor page at a time, including default-shipping metadata.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next-page cursor returned by the previous call. |
| `page_size` | integer | No | Address book entries to return in this page (0-1000). |
| `contact_id` | string | Yes | Contact whose address book to list. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Contacts

**Slug:** `SQUARESPACE_LIST_CONTACTS`

List website contacts one cursor page at a time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next-page cursor returned by the previous call. Keep other pagination parameters unchanged. |
| `page_size` | integer | No | Contacts to return in this page (0-1000). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Discounts

**Slug:** `SQUARESPACE_LIST_DISCOUNTS`

List and filter website discounts one offset page at a time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Maximum discounts in this page. |
| `offset` | integer | No | Zero-based page offset. |
| `search` | string | No | Search discount names and promo codes. |
| `status` | string ("ALL" | "ACTIVE" | "EXPIRED" | "SCHEDULED") | No | Discount lifecycle status. |
| `sort_by` | string ("CREATED_ON" | "PROMO_CODE" | "USES_COUNT") | No | Field used to sort discounts. |
| `trigger` | array | No | Trigger types to include. Multiple values are sent comma-separated. |
| `criteria` | array | No | Criteria types to include. Multiple values are sent comma-separated. |
| `template` | array | No | Discount template types to include. Multiple values are sent comma-separated. |
| `sort_direction` | string ("ASCENDING" | "DESCENDING") | No | Sort direction. |
| `limited_use_only` | boolean | No | Return only limited-use discounts when true. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Inventory

**Slug:** `SQUARESPACE_LIST_INVENTORY`

List real-time inventory items one cursor page at a time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next-page cursor returned by the previous call. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Orders

**Slug:** `SQUARESPACE_LIST_ORDERS`

List and filter Squarespace orders one cursor page at a time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next-page cursor returned by the previous call. Pass it unchanged and omit every other filter. |
| `customer_id` | string | No | Filter orders by customer ID. Cannot be combined with cursor. |
| `modified_after` | string | No | ISO 8601 UTC lower modification bound. Requires modified_before and cannot be combined with cursor. |
| `payment_states` | array | No | Payment states to include. If omitted, Squarespace defaults to NOT_CHARGED, AUTHORIZED, PAID, and REFUNDED. Cannot be combined with cursor. |
| `modified_before` | string | No | ISO 8601 UTC upper modification bound. Requires modified_after and cannot be combined with cursor. |
| `fulfillment_status` | string ("PENDING" | "FULFILLED" | "CANCELED") | No | Fulfillment status to include. Cannot be combined with cursor. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Products

**Slug:** `SQUARESPACE_LIST_PRODUCTS`

List one cursor page of products from Squarespace Products API v2, 1.1, or 1.0. v2 is used by default.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | No | Search query. Cannot be combined with cursor. |
| `cursor` | string | No | Opaque cursor returned by the previous call. Pass it unchanged and omit all filters; the cursor retains the selected API generation. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions. |
| `product_types` | array | No | Product types to include. v2 supports PHYSICAL, SERVICE, GIFT_CARD, and DIGITAL; 1.1 supports PHYSICAL and DIGITAL; 1.0 supports only PHYSICAL. |
| `modified_after` | string | No | ISO 8601 UTC lower modification bound. Requires modified_before and cannot be combined with cursor. |
| `modified_before` | string | No | ISO 8601 UTC upper modification bound. Requires modified_after and cannot be combined with cursor. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Profiles

**Slug:** `SQUARESPACE_LIST_PROFILES`

List and filter legacy Profiles records one cursor page at a time. The Profiles API is in maintenance mode; use Contacts for new workflows.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | No | Case-insensitive email address filter. Cannot be combined with filter or cursor. |
| `cursor` | string | No | Opaque next-page cursor returned by the previous call. Pass it unchanged and omit every filter and sort parameter. |
| `filter` | string | No | Semicolon-separated isCustomer and/or hasAccount profile filters. Cannot be combined with email or cursor. |
| `sort_field` | string ("createdOn" | "id" | "email" | "lastName") | No | Field used to sort profiles. Squarespace defaults to id. Cannot be combined with cursor. |
| `sort_direction` | string ("asc" | "dsc") | No | Sort profiles in ascending (asc) or descending (dsc) order. Squarespace defaults to descending. Cannot be combined with cursor. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Store Pages

**Slug:** `SQUARESPACE_LIST_STORE_PAGES`

List website store pages one cursor page at a time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next-page cursor returned by the previous call. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Transactions

**Slug:** `SQUARESPACE_LIST_TRANSACTIONS`

List financial transaction documents for orders and donations one cursor page at a time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next-page cursor returned by the previous call. |
| `order_id` | string | No | Return transaction documents associated with this order ID. |
| `modified_after` | string | No | ISO 8601 UTC lower bound for document modification time. |
| `modified_before` | string | No | ISO 8601 UTC upper bound for document modification time. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Webhook Subscriptions

**Slug:** `SQUARESPACE_LIST_WEBHOOK_SUBSCRIPTIONS`

List up to 25 webhook subscriptions owned by the connected Squarespace OAuth application. Squarespace does not support API keys for this action.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Query Contacts

**Slug:** `SQUARESPACE_QUERY_CONTACTS`

Filter, search, and sort contacts using Squarespace's complete contact query contract, returning one cursor page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque cursor returned by the previous call. The original filters and sort options are retained automatically. |
| `page_size` | integer | No | Number of contacts to return in this page (1-1000). |
| `sort_field` | string ("ID" | "CREATED_ON" | "EMAIL" | "ACCEPTS_MARKETING_JOINED_ON" | "FIRST_NAME" | "LAST_NAME" | "ORDER_COUNT" | "LAST_ORDER_ON" | "ORDER_AMOUNT" | "DONATION_COUNT" | "LAST_DONATION_ON" | "DONATION_AMOUNT") | No | Contact field by which to sort matching contacts. |
| `order_count` | object | No | Filter by the contact's number of orders. |
| `order_amount` | object | No | Filter by the contact's total order amount. |
| `last_order_on` | object | No | Filter by the date of the contact's latest order. |
| `search_string` | string | No | Search contact names and email addresses. |
| `donation_count` | object | No | Filter by the contact's number of donations. |
| `first_order_on` | object | No | Filter by the date of the contact's first order. |
| `sort_direction` | string ("ASCENDING" | "DESCENDING") | No | Direction in which to sort matching contacts. |
| `donation_amount` | object | No | Filter by the contact's total donation amount. |
| `last_donation_on` | object | No | Filter by the date of the contact's latest donation. |
| `first_donation_on` | object | No | Filter by the date of the contact's first donation. |
| `accepts_marketing_with_date` | object | No | Filter by marketing consent and the date the contact joined the marketing list. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Reorder Product Image

**Slug:** `SQUARESPACE_REORDER_PRODUCT_IMAGE`

Move a Squarespace product image after another image through the v2, 1.1, or 1.0 Products API, or move it first with move_to_first=true. API-key connections require Products API Read and Write permission.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `image_id` | string | Yes | ID of the product image to move. |
| `product_id` | string | Yes | ID of the product that owns the image. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 select supported legacy routes. |
| `move_to_first` | boolean | No | Set true to move the image to the first position. |
| `after_image_id` | string | No | ID of the image after which the moved image should be placed. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Replace Address Book Entry

**Slug:** `SQUARESPACE_REPLACE_ADDRESS_BOOK_ENTRY`

Replace a Squarespace contact address book entry with a complete postal address. Clearing default shipping on the current default entry has no effect.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `address` | object | Yes | Complete replacement postal address. Include every address value that should remain on the entry. |
| `contact_id` | string | Yes | Parent contact ID. |
| `default_shipping` | boolean | No | Whether this entry should be the default shipping address. Setting this to false on the current default entry has no effect. |
| `address_book_entry_id` | string | Yes | Address book entry ID to replace. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Replace Discount

**Slug:** `SQUARESPACE_REPLACE_DISCOUNT`

Replace an existing Squarespace discount with a complete writable definition. This is PUT replacement, not a partial update: omitted writable settings may be reset to provider defaults. API-key connections require DISCOUNTS permission.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `discount` | object | Yes | Complete writable replacement definition. Include criteria, name, template, trigger, and validFrom; omitted writable settings are replaced by provider defaults rather than merged. |
| `discount_id` | string | Yes | ID of the discount to replace. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Retrieve Contact Transaction Summaries

**Slug:** `SQUARESPACE_RETRIEVE_CONTACT_TRANSACTION_SUMMARIES`

Return order and donation transaction summaries grouped by each supplied contact ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `group_by` | string | No | Grouping field; Squarespace currently supports only contactId. |
| `contact_ids` | array | Yes | Unique contact IDs to summarize (1-1000 IDs). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Rotate Webhook Subscription Secret

**Slug:** `SQUARESPACE_ROTATE_WEBHOOK_SUBSCRIPTION_SECRET`

Rotate a webhook subscription secret, immediately invalidating the previous secret. The new secret is returned only by this call; store it securely. Squarespace does not support API keys for this action.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `subscription_id` | string | Yes | ID of the webhook subscription. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Send Webhook Test Notification

**Slug:** `SQUARESPACE_SEND_WEBHOOK_TEST_NOTIFICATION`

Cause Squarespace to make one outbound test POST to the subscribed webhook endpoint. The notification is not retried if it fails or times out. Squarespace does not support API keys for this action.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `topic` | string | Yes | Squarespace event topic to put in the test notification. |
| `subscription_id` | string | Yes | ID of the webhook subscription whose endpoint should be called. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Contact

**Slug:** `SQUARESPACE_UPDATE_CONTACT`

Partially update a Squarespace contact using JSON Merge Patch semantics. Omitted fields remain unchanged, while explicit null values are preserved.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `patch` | object | Yes | Fields to merge into the contact. Omitted fields are unchanged; explicit null values clear fields where Squarespace permits. |
| `contact_id` | string | Yes | ID of the contact to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Product

**Slug:** `SQUARESPACE_UPDATE_PRODUCT`

Partially update a product through the v2, 1.1, or 1.0 Products API. Supply plain replacement values; omitted fields remain unchanged and null clears fields where Squarespace supports clearing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `changes` | object | Yes | Product fields to update. Omitted fields remain unchanged; use null to clear fields that Squarespace supports clearing. |
| `product_id` | string | Yes | ID of the product to update. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 select supported legacy routes. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Product Image

**Slug:** `SQUARESPACE_UPDATE_PRODUCT_IMAGE`

Update a Squarespace product image's alt text in the selected Products API generation using a plain string, or an empty string to clear the alt text.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `alt_text` | string | No | Replacement image alt text. Omit to leave unchanged or use an empty string to clear. |
| `image_id` | string | Yes | ID of the product image to update. |
| `product_id` | string | Yes | ID of the product that owns the image. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Product Variant

**Slug:** `SQUARESPACE_UPDATE_PRODUCT_VARIANT`

Partially update a product variant through Squarespace Products API v2, 1.1, or 1.0 using plain replacement values. V2 alone supports GTIN and MPN changes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `changes` | string | Yes | Plain variant fields to update. V2 supports gtin and mpn; legacy versions reject those fields. Omitted fields remain unchanged. |
| `product_id` | string | Yes | ID of the parent product. |
| `variant_id` | string | Yes | ID of the product variant to update. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 use the legacy variant update contract. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Webhook Subscription

**Slug:** `SQUARESPACE_UPDATE_WEBHOOK_SUBSCRIPTION`

Replace an OAuth-owned webhook subscription's endpoint URL or topic list. Omitted fields remain unchanged. Squarespace does not support API keys for this action.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `topics` | array | No | Replacement list of event topics that trigger notifications. |
| `endpoint_url` | string | No | Replacement HTTPS URL that receives webhook notifications. |
| `subscription_id` | string | Yes | ID of the webhook subscription to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Upload Product Image

**Slug:** `SQUARESPACE_UPLOAD_PRODUCT_IMAGE`

Upload an image to a product in a selected Squarespace Products API generation. Processing is asynchronous, and the upload does not set the product's featured image.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `file` | object | Yes | Image file to upload to the product. |
| `product_id` | string | Yes | ID of the product that will own the uploaded image. |
| `api_version` | string ("v2" | "1.1" | "1.0") | No | Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
