Squarespace - Get Products
Description
Section titled “Description”This module allows querying products from a Squarespace store. It can get a specific product by ID or list products with type and modification date filters.
Configuration
Section titled “Configuration”Required Credentials
Section titled “Required Credentials”- API Key: Squarespace API key (Settings > Advanced > Developer API)
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credential | Yes | Squarespace credentials |
| product_id | string | No | Specific product ID |
| type | select | No | Type: PHYSICAL, DIGITAL, SERVICE, GIFT_CARD |
| modifiedAfter | string | No | Products modified after (ISO 8601) |
| modifiedBefore | string | No | Products modified before (ISO 8601) |
| cursor | string | No | Pagination cursor |
Output
Section titled “Output”{ "success": true, "products": [...], "count": 25, "hasNextPage": true, "nextCursor": "abc123...", "message": "25 products retrieved"}Product Fields
Section titled “Product Fields”id: Product IDname: Product namedescription: Descriptionurl: Product URLurlSlug: URL slugtype: Product type (PHYSICAL, DIGITAL, SERVICE, GIFT_CARD)isVisible: Visibilityvariants: Variants arrayimages: Images arraycreatedOn: Creation datemodifiedOn: Modification date
Usage Example
Section titled “Usage Example”Get product by ID
Section titled “Get product by ID”{ "product_id": "5f3e..."}List physical products
Section titled “List physical products”{ "type": "PHYSICAL"}Recently modified products
Section titled “Recently modified products”{ "modifiedAfter": "2024-01-01T00:00:00Z"}API Used
Section titled “API Used”- Endpoint:
GET /1.0/commerce/products - Documentation: Squarespace Commerce API
- The Squarespace API uses cursor-based pagination
- Products include all variants in a single object
- The GIFT_CARD type is for digital gift cards
- Products cannot be created or modified via API (read-only)
Related Nodes
Section titled “Related Nodes”- SquarespaceGetInventory - Get product inventory levels
- SquarespaceUpdateInventory - Adjust variant inventory
- SquarespaceGetOrders - Get orders that include products