{
  "schemaVersion": "1.0",
  "item": {
    "slug": "squarespace",
    "name": "Squarespace",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/byungkyu/squarespace",
    "canonicalUrl": "https://clawhub.ai/byungkyu/squarespace",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/squarespace",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=squarespace",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/squarespace"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/squarespace",
    "agentPageUrl": "https://openagent3.xyz/skills/squarespace/agent",
    "manifestUrl": "https://openagent3.xyz/skills/squarespace/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/squarespace/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Squarespace",
        "body": "Access the Squarespace Commerce API with managed OAuth authentication. Manage products, inventory, orders, customer profiles, and transactions."
      },
      {
        "title": "Quick Start",
        "body": "# List all products (v2 API)\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/squarespace/v2/commerce/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'MyClaude/1.0')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/squarespace/{native-api-path}\n\nReplace {native-api-path} with the actual Squarespace API endpoint path. The gateway proxies requests to api.squarespace.com and automatically injects your OAuth token."
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key"
      },
      {
        "title": "Connection Management",
        "body": "Manage your Squarespace OAuth connections at https://ctrl.maton.ai."
      },
      {
        "title": "List Connections",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=squarespace&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Create Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'squarespace'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Get Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"squarespace\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete OAuth authorization."
      },
      {
        "title": "Delete Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple Squarespace connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/squarespace/v2/commerce/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'MyClaude/1.0')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Inventory",
        "body": "List All Inventory\n\nGET /squarespace/1.0/commerce/inventory\n\nQuery parameters:\n\ncursor (optional): Pagination cursor from previous response\n\nResponse:\n\n{\n  \"inventory\": [\n    {\n      \"variantId\": \"5ba1418df4204bb2d21eac3f\",\n      \"sku\": \"SQ0001\",\n      \"descriptor\": \"Product Name - Size: Medium\",\n      \"isUnlimited\": false,\n      \"quantity\": 25\n    }\n  ],\n  \"pagination\": {\n    \"hasNextPage\": true,\n    \"nextPageCursor\": \"abc123\",\n    \"nextPageUrl\": \"https://api.squarespace.com/1.0/commerce/inventory?cursor=abc123\"\n  }\n}\n\nGet Specific Inventory\n\nGET /squarespace/1.0/commerce/inventory/{variantIds}\n\n{variantIds}: Comma-separated variant IDs (max 50)\n\nAdjust Stock Quantities\n\nPOST /squarespace/1.0/commerce/inventory/adjustments\nContent-Type: application/json\nIdempotency-Key: unique-key-here\n\n{\n  \"incrementOperations\": [{\"variantId\": \"variant-id-1\", \"quantity\": 5}],\n  \"decrementOperations\": [{\"variantId\": \"variant-id-2\", \"quantity\": 2}],\n  \"setFiniteOperations\": [{\"variantId\": \"variant-id-3\", \"quantity\": 100}],\n  \"setUnlimitedOperations\": [\"variant-id-4\"]\n}\n\nResponse: 204 No Content on success"
      },
      {
        "title": "Orders",
        "body": "List All Orders\n\nGET /squarespace/1.0/commerce/orders\n\nQuery parameters:\n\ncustomerId (optional): Filter by customer ID\nmodifiedAfter (conditional): ISO 8601 datetime (e.g., 2024-01-01T00:00:00Z) - required with modifiedBefore\nmodifiedBefore (conditional): ISO 8601 datetime - required with modifiedAfter\ncursor (optional): Pagination cursor\nfulfillmentStatus (optional): PENDING, FULFILLED, or CANCELED\n\nNote: Cannot combine cursor with date range parameters. Date filters must be used together.\n\nResponse:\n\n{\n  \"result\": [\n    {\n      \"id\": \"order-id\",\n      \"orderNumber\": \"1001\",\n      \"createdOn\": \"2024-01-15T10:30:00Z\",\n      \"modifiedOn\": \"2024-01-15T12:00:00Z\",\n      \"channel\": \"web\",\n      \"testmode\": false,\n      \"customerEmail\": \"customer@example.com\",\n      \"fulfillmentStatus\": \"PENDING\",\n      \"lineItems\": [...],\n      \"subtotal\": {\"value\": \"99.99\", \"currency\": \"USD\"},\n      \"shippingTotal\": {\"value\": \"9.99\", \"currency\": \"USD\"},\n      \"taxTotal\": {\"value\": \"8.50\", \"currency\": \"USD\"},\n      \"grandTotal\": {\"value\": \"118.48\", \"currency\": \"USD\"}\n    }\n  ],\n  \"pagination\": {\n    \"hasNextPage\": true,\n    \"nextPageCursor\": \"abc123\",\n    \"nextPageUrl\": \"...\"\n  }\n}\n\nGet Specific Order\n\nGET /squarespace/1.0/commerce/orders/{orderId}\n\nCreate Order\n\nPOST /squarespace/1.0/commerce/orders\nContent-Type: application/json\nIdempotency-Key: unique-key-here\n\n{\n  \"channelName\": \"External Store\",\n  \"externalOrderReference\": \"ORDER-12345\",\n  \"customerEmail\": \"customer@example.com\",\n  \"lineItems\": [\n    {\n      \"lineItemType\": \"PHYSICAL_PRODUCT\",\n      \"variantId\": \"variant-id\",\n      \"quantity\": 2,\n      \"unitPricePaid\": {\"currency\": \"USD\", \"value\": \"29.99\"}\n    }\n  ],\n  \"subtotal\": {\"currency\": \"USD\", \"value\": \"59.98\"},\n  \"priceTaxInterpretation\": \"EXCLUSIVE\",\n  \"grandTotal\": {\"currency\": \"USD\", \"value\": \"59.98\"},\n  \"createdOn\": \"2024-01-15T10:30:00Z\"\n}\n\nResponse: 201 Created with Order object\n\nNote: subtotal must equal the sum of lineItems.unitPricePaid.value * quantity.\n\nFulfill Order\n\nPOST /squarespace/1.0/commerce/orders/{orderId}/fulfillments\nContent-Type: application/json\n\n{\n  \"shouldSendNotification\": true,\n  \"shipments\": [\n    {\n      \"shipDate\": \"2024-01-16T08:00:00Z\",\n      \"carrierName\": \"USPS\",\n      \"service\": \"Priority Mail\",\n      \"trackingNumber\": \"9400111899223456789012\",\n      \"trackingUrl\": \"https://tools.usps.com/go/TrackConfirmAction?tLabels=9400111899223456789012\"\n    }\n  ]\n}\n\nResponse: 204 No Content on success"
      },
      {
        "title": "Products",
        "body": "List Store Pages\n\nGET /squarespace/1.0/commerce/store_pages\n\nQuery parameters:\n\ncursor (optional): Pagination cursor\n\nResponse:\n\n{\n  \"storePages\": [\n    {\n      \"id\": \"store-page-id\",\n      \"title\": \"Main Store\",\n      \"isEnabled\": true,\n      \"urlSlug\": \"store\"\n    }\n  ],\n  \"pagination\": {...}\n}\n\nList All Products\n\nGET /squarespace/v2/commerce/products\n\nQuery parameters:\n\nmodifiedAfter (optional): ISO 8601 datetime\nmodifiedBefore (optional): ISO 8601 datetime\ntype (optional): Comma-separated types: PHYSICAL, SERVICE, GIFT_CARD, DIGITAL\ncursor (optional): Pagination cursor\n\nNote: Cannot combine cursor with date/type filters.\n\nResponse:\n\n{\n  \"products\": [\n    {\n      \"id\": \"product-id\",\n      \"type\": \"PHYSICAL\",\n      \"storePageId\": \"store-page-id\",\n      \"name\": \"Product Name\",\n      \"description\": \"<p>HTML description</p>\",\n      \"url\": \"https://example.squarespace.com/store/product-slug\",\n      \"urlSlug\": \"product-slug\",\n      \"tags\": [\"tag1\", \"tag2\"],\n      \"isVisible\": true,\n      \"variants\": [...],\n      \"images\": [...],\n      \"createdOn\": \"2024-01-01T00:00:00Z\",\n      \"modifiedOn\": \"2024-01-15T12:00:00Z\"\n    }\n  ],\n  \"pagination\": {...}\n}\n\nGet Specific Products\n\nGET /squarespace/v2/commerce/products/{productIds}\n\n{productIds}: Comma-separated product IDs (max 50)\n\nCreate Product\n\nPOST /squarespace/v2/commerce/products\nContent-Type: application/json\n\n{\n  \"type\": \"PHYSICAL\",\n  \"storePageId\": \"store-page-id\",\n  \"name\": \"New Product\",\n  \"description\": \"<p>Product description</p>\",\n  \"urlSlug\": \"new-product\",\n  \"tags\": [\"new\", \"featured\"],\n  \"isVisible\": true,\n  \"variants\": [\n    {\n      \"sku\": \"SKU-001\",\n      \"pricing\": {\n        \"basePrice\": {\"currency\": \"USD\", \"value\": \"49.99\"}\n      },\n      \"stock\": {\"quantity\": 100, \"unlimited\": false}\n    }\n  ]\n}\n\nResponse: 201 Created with Product object\n\nUpdate Product\n\nPOST /squarespace/v2/commerce/products/{productId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Product Name\",\n  \"description\": \"<p>Updated description</p>\",\n  \"isVisible\": true,\n  \"tags\": [\"updated\", \"sale\"]\n}\n\nResponse: 200 OK with Product object\n\nDelete Product\n\nDELETE /squarespace/v2/commerce/products/{productId}\n\nResponse: 204 No Content on success"
      },
      {
        "title": "Product Variants",
        "body": "Create Variant\n\nPOST /squarespace/v2/commerce/products/{productId}/variants\nContent-Type: application/json\n\n{\n  \"sku\": \"SKU-002\",\n  \"pricing\": {\n    \"basePrice\": {\"currency\": \"USD\", \"value\": \"59.99\"},\n    \"salePrice\": {\"currency\": \"USD\", \"value\": \"49.99\"},\n    \"onSale\": true\n  },\n  \"stock\": {\"quantity\": 50, \"unlimited\": false},\n  \"attributes\": {\"Size\": \"Large\"},\n  \"shippingMeasurements\": {\n    \"weight\": {\"unit\": \"POUND\", \"value\": 1.5},\n    \"dimensions\": {\"unit\": \"INCH\", \"length\": 10, \"width\": 8, \"height\": 4}\n  }\n}\n\nResponse: 201 Created with ProductVariant object\n\nNote: To use attributes, the product must first have matching variantAttributes set via Update Product (e.g., \"variantAttributes\": [\"Size\"]).\n\nUpdate Variant\n\nPOST /squarespace/v2/commerce/products/{productId}/variants/{variantId}\nContent-Type: application/json\n\n{\n  \"sku\": \"SKU-002-UPDATED\",\n  \"pricing\": {\n    \"basePrice\": {\"currency\": \"USD\", \"value\": \"64.99\"},\n    \"onSale\": false\n  }\n}\n\nResponse: 200 OK with ProductVariant object\n\nNote: Stock and images cannot be updated via this endpoint.\n\nDelete Variant\n\nDELETE /squarespace/v2/commerce/products/{productId}/variants/{variantId}\n\nResponse: 204 No Content on success\n\nNote: Cannot delete the only variant of a product."
      },
      {
        "title": "Product Images",
        "body": "Upload Image\n\nPOST /squarespace/v2/commerce/products/{productId}/images\nContent-Type: multipart/form-data\n\ncurl \"https://gateway.maton.ai/squarespace/v2/commerce/products/{productId}/images\" \\\n  -H \"Authorization: Bearer $MATON_API_KEY\" \\\n  -H \"User-Agent: MyClaude/1.0\" \\\n  -X POST \\\n  -F file=@image.png\n\nResponse: 202 Accepted\n\n{\n  \"imageId\": \"image-id\"\n}\n\nRequirements:\n\nDimensions: less than 60MP\nFile types: JPEG, JPG, PNG, GIF\nMax file size: 20MB (under 500KB recommended)\nMax 100 images per product\n\nCheck Upload Status\n\nGET /squarespace/v2/commerce/products/{productId}/images/{imageId}/status\n\nResponse:\n\n{\n  \"status\": \"PROCESSING\"\n}\n\nStatus values: PROCESSING, READY, ERROR\n\nUpdate Image (Alt Text)\n\nPOST /squarespace/v2/commerce/products/{productId}/images/{imageId}\nContent-Type: application/json\n\n{\n  \"altText\": \"Product image description\"\n}\n\nResponse: 200 OK with ProductImage object\n\nReorder Image\n\nPOST /squarespace/v2/commerce/products/{productId}/images/{imageId}/order\nContent-Type: application/json\n\n{\n  \"afterImageId\": \"other-image-id\"\n}\n\nUse null for afterImageId to move image to the top.\n\nResponse: 204 No Content\n\nAssign Image to Variant\n\nPOST /squarespace/v2/commerce/products/{productId}/variants/{variantId}/image\nContent-Type: application/json\n\n{\n  \"imageId\": \"image-id\"\n}\n\nUse null for imageId to remove the image from the variant.\n\nResponse: 204 No Content\n\nDelete Image\n\nDELETE /squarespace/v2/commerce/products/{productId}/images/{imageId}\n\nResponse: 204 No Content"
      },
      {
        "title": "Profiles (Customers)",
        "body": "List All Profiles\n\nGET /squarespace/1.0/profiles\n\nQuery parameters:\n\ncursor (optional): Pagination cursor\nfilter (optional): Semicolon-separated filters (e.g., isCustomer,true;hasAccount,true)\nsortDirection (optional): asc or dsc (default: dsc)\nsortField (optional): createdOn, id, email, or lastName (default: id)\n\nFilter options:\n\nisCustomer,true or isCustomer,false\nhasAccount,true or hasAccount,false\nemail,customer@example.com\n\nResponse:\n\n{\n  \"profiles\": [\n    {\n      \"id\": \"profile-id\",\n      \"firstName\": \"John\",\n      \"lastName\": \"Doe\",\n      \"email\": \"john@example.com\",\n      \"hasAccount\": true,\n      \"isCustomer\": true,\n      \"createdOn\": \"2024-01-01T00:00:00Z\",\n      \"address\": {\n        \"address1\": \"123 Main St\",\n        \"city\": \"New York\",\n        \"state\": \"NY\",\n        \"countryCode\": \"US\",\n        \"postalCode\": \"10001\"\n      },\n      \"acceptsMarketing\": true,\n      \"transactionsSummary\": {\n        \"orderCount\": 5,\n        \"totalOrderAmount\": {\"value\": \"499.95\", \"currency\": \"USD\"}\n      }\n    }\n  ],\n  \"pagination\": {...}\n}\n\nGet Specific Profiles\n\nGET /squarespace/1.0/profiles/{profileIds}\n\n{profileIds}: Comma-separated profile IDs (max 50)"
      },
      {
        "title": "Transactions",
        "body": "List All Transactions\n\nGET /squarespace/1.0/commerce/transactions\n\nQuery parameters:\n\nmodifiedAfter (conditional): ISO 8601 datetime - required with modifiedBefore\nmodifiedBefore (conditional): ISO 8601 datetime - required with modifiedAfter\ncursor (optional): Pagination cursor\n\nNote: Date filters must be used together (both modifiedAfter and modifiedBefore are required when filtering by date).\n\nResponse:\n\n{\n  \"documents\": [\n    {\n      \"id\": \"document-id\",\n      \"createdOn\": \"2024-01-15T10:30:00Z\",\n      \"modifiedOn\": \"2024-01-15T12:00:00Z\",\n      \"customerEmail\": \"customer@example.com\",\n      \"salesOrderId\": \"order-id\",\n      \"voided\": false,\n      \"totalSales\": {\"value\": \"99.99\", \"currency\": \"USD\"},\n      \"totalNetSales\": {\"value\": \"99.99\", \"currency\": \"USD\"},\n      \"totalTaxes\": {\"value\": \"8.50\", \"currency\": \"USD\"},\n      \"total\": {\"value\": \"108.49\", \"currency\": \"USD\"},\n      \"payments\": [\n        {\n          \"id\": \"payment-id\",\n          \"amount\": {\"value\": \"108.49\", \"currency\": \"USD\"},\n          \"creditCardType\": \"VISA\",\n          \"provider\": \"STRIPE\",\n          \"paidOn\": \"2024-01-15T10:35:00Z\"\n        }\n      ]\n    }\n  ],\n  \"pagination\": {...}\n}\n\nGet Specific Transactions\n\nGET /squarespace/1.0/commerce/transactions/{documentIds}\n\n{documentIds}: Comma-separated document IDs (max 50)"
      },
      {
        "title": "Pagination",
        "body": "Squarespace uses cursor-based pagination. Response includes:\n\n{\n  \"pagination\": {\n    \"hasNextPage\": true,\n    \"nextPageCursor\": \"cursor-value\",\n    \"nextPageUrl\": \"https://api.squarespace.com/...\"\n  }\n}\n\nTo get the next page, use the cursor parameter:\n\nGET /squarespace/v2/commerce/products?cursor=cursor-value"
      },
      {
        "title": "JavaScript",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/squarespace/v2/commerce/products',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`,\n      'User-Agent': 'MyClaude/1.0'\n    }\n  }\n);\nconst data = await response.json();\nconsole.log(data.products);"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/squarespace/v2/commerce/products',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'User-Agent': 'MyClaude/1.0'\n    }\n)\nproducts = response.json()['products']"
      },
      {
        "title": "Notes",
        "body": "Products API uses version v2 (e.g., /squarespace/v2/commerce/products)\nStore Pages endpoint uses version 1.0 (e.g., /squarespace/1.0/commerce/store_pages)\nInventory, Orders, Profiles, and Transactions APIs use version 1.0\nAll requests require a User-Agent header describing your application\nRequests without a custom User-Agent are subject to stricter rate limits\nMaximum 50 items per batch request (inventory, products, profiles, transactions)\nCreate Order has a stricter rate limit: 100 requests per hour per website\nIdempotency-Key header is required for stock adjustments and order creation\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments"
      },
      {
        "title": "Rate Limits",
        "body": "General: 300 requests per minute (5 per second)\nCreate Order: 100 requests per hour per website (with API key auth)\nExceeding limits returns 429 Too Many Requests with a one-minute cooldown"
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Invalid request parameters or missing Squarespace connection401Invalid or missing Maton API key404Resource not found405Method not allowed for product type409Conflict (duplicate SKU, concurrent modification, etc.)429Rate limited4xx/5xxPassthrough error from Squarespace API"
      },
      {
        "title": "Troubleshooting: API Key Issues",
        "body": "Check that the MATON_API_KEY environment variable is set:\n\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Troubleshooting: Invalid App Name",
        "body": "Ensure your URL path starts with squarespace. For example:\n\nCorrect: https://gateway.maton.ai/squarespace/1.0/commerce/products\nIncorrect: https://gateway.maton.ai/1.0/commerce/products"
      },
      {
        "title": "Resources",
        "body": "Squarespace Commerce APIs Overview\nInventory API\nOrders API\nProducts API\nProfiles API\nTransactions API\nMaton Community\nMaton Support"
      }
    ],
    "body": "Squarespace\n\nAccess the Squarespace Commerce API with managed OAuth authentication. Manage products, inventory, orders, customer profiles, and transactions.\n\nQuick Start\n# List all products (v2 API)\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/squarespace/v2/commerce/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'MyClaude/1.0')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nBase URL\nhttps://gateway.maton.ai/squarespace/{native-api-path}\n\n\nReplace {native-api-path} with the actual Squarespace API endpoint path. The gateway proxies requests to api.squarespace.com and automatically injects your OAuth token.\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key\nConnection Management\n\nManage your Squarespace OAuth connections at https://ctrl.maton.ai.\n\nList Connections\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=squarespace&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nCreate Connection\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'squarespace'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"squarespace\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete OAuth authorization.\n\nDelete Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nSpecifying Connection\n\nIf you have multiple Squarespace connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/squarespace/v2/commerce/products')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'MyClaude/1.0')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\nAPI Reference\nInventory\nList All Inventory\nGET /squarespace/1.0/commerce/inventory\n\n\nQuery parameters:\n\ncursor (optional): Pagination cursor from previous response\n\nResponse:\n\n{\n  \"inventory\": [\n    {\n      \"variantId\": \"5ba1418df4204bb2d21eac3f\",\n      \"sku\": \"SQ0001\",\n      \"descriptor\": \"Product Name - Size: Medium\",\n      \"isUnlimited\": false,\n      \"quantity\": 25\n    }\n  ],\n  \"pagination\": {\n    \"hasNextPage\": true,\n    \"nextPageCursor\": \"abc123\",\n    \"nextPageUrl\": \"https://api.squarespace.com/1.0/commerce/inventory?cursor=abc123\"\n  }\n}\n\nGet Specific Inventory\nGET /squarespace/1.0/commerce/inventory/{variantIds}\n\n{variantIds}: Comma-separated variant IDs (max 50)\nAdjust Stock Quantities\nPOST /squarespace/1.0/commerce/inventory/adjustments\nContent-Type: application/json\nIdempotency-Key: unique-key-here\n\n{\n  \"incrementOperations\": [{\"variantId\": \"variant-id-1\", \"quantity\": 5}],\n  \"decrementOperations\": [{\"variantId\": \"variant-id-2\", \"quantity\": 2}],\n  \"setFiniteOperations\": [{\"variantId\": \"variant-id-3\", \"quantity\": 100}],\n  \"setUnlimitedOperations\": [\"variant-id-4\"]\n}\n\n\nResponse: 204 No Content on success\n\nOrders\nList All Orders\nGET /squarespace/1.0/commerce/orders\n\n\nQuery parameters:\n\ncustomerId (optional): Filter by customer ID\nmodifiedAfter (conditional): ISO 8601 datetime (e.g., 2024-01-01T00:00:00Z) - required with modifiedBefore\nmodifiedBefore (conditional): ISO 8601 datetime - required with modifiedAfter\ncursor (optional): Pagination cursor\nfulfillmentStatus (optional): PENDING, FULFILLED, or CANCELED\n\nNote: Cannot combine cursor with date range parameters. Date filters must be used together.\n\nResponse:\n\n{\n  \"result\": [\n    {\n      \"id\": \"order-id\",\n      \"orderNumber\": \"1001\",\n      \"createdOn\": \"2024-01-15T10:30:00Z\",\n      \"modifiedOn\": \"2024-01-15T12:00:00Z\",\n      \"channel\": \"web\",\n      \"testmode\": false,\n      \"customerEmail\": \"customer@example.com\",\n      \"fulfillmentStatus\": \"PENDING\",\n      \"lineItems\": [...],\n      \"subtotal\": {\"value\": \"99.99\", \"currency\": \"USD\"},\n      \"shippingTotal\": {\"value\": \"9.99\", \"currency\": \"USD\"},\n      \"taxTotal\": {\"value\": \"8.50\", \"currency\": \"USD\"},\n      \"grandTotal\": {\"value\": \"118.48\", \"currency\": \"USD\"}\n    }\n  ],\n  \"pagination\": {\n    \"hasNextPage\": true,\n    \"nextPageCursor\": \"abc123\",\n    \"nextPageUrl\": \"...\"\n  }\n}\n\nGet Specific Order\nGET /squarespace/1.0/commerce/orders/{orderId}\n\nCreate Order\nPOST /squarespace/1.0/commerce/orders\nContent-Type: application/json\nIdempotency-Key: unique-key-here\n\n{\n  \"channelName\": \"External Store\",\n  \"externalOrderReference\": \"ORDER-12345\",\n  \"customerEmail\": \"customer@example.com\",\n  \"lineItems\": [\n    {\n      \"lineItemType\": \"PHYSICAL_PRODUCT\",\n      \"variantId\": \"variant-id\",\n      \"quantity\": 2,\n      \"unitPricePaid\": {\"currency\": \"USD\", \"value\": \"29.99\"}\n    }\n  ],\n  \"subtotal\": {\"currency\": \"USD\", \"value\": \"59.98\"},\n  \"priceTaxInterpretation\": \"EXCLUSIVE\",\n  \"grandTotal\": {\"currency\": \"USD\", \"value\": \"59.98\"},\n  \"createdOn\": \"2024-01-15T10:30:00Z\"\n}\n\n\nResponse: 201 Created with Order object\n\nNote: subtotal must equal the sum of lineItems.unitPricePaid.value * quantity.\n\nFulfill Order\nPOST /squarespace/1.0/commerce/orders/{orderId}/fulfillments\nContent-Type: application/json\n\n{\n  \"shouldSendNotification\": true,\n  \"shipments\": [\n    {\n      \"shipDate\": \"2024-01-16T08:00:00Z\",\n      \"carrierName\": \"USPS\",\n      \"service\": \"Priority Mail\",\n      \"trackingNumber\": \"9400111899223456789012\",\n      \"trackingUrl\": \"https://tools.usps.com/go/TrackConfirmAction?tLabels=9400111899223456789012\"\n    }\n  ]\n}\n\n\nResponse: 204 No Content on success\n\nProducts\nList Store Pages\nGET /squarespace/1.0/commerce/store_pages\n\n\nQuery parameters:\n\ncursor (optional): Pagination cursor\n\nResponse:\n\n{\n  \"storePages\": [\n    {\n      \"id\": \"store-page-id\",\n      \"title\": \"Main Store\",\n      \"isEnabled\": true,\n      \"urlSlug\": \"store\"\n    }\n  ],\n  \"pagination\": {...}\n}\n\nList All Products\nGET /squarespace/v2/commerce/products\n\n\nQuery parameters:\n\nmodifiedAfter (optional): ISO 8601 datetime\nmodifiedBefore (optional): ISO 8601 datetime\ntype (optional): Comma-separated types: PHYSICAL, SERVICE, GIFT_CARD, DIGITAL\ncursor (optional): Pagination cursor\n\nNote: Cannot combine cursor with date/type filters.\n\nResponse:\n\n{\n  \"products\": [\n    {\n      \"id\": \"product-id\",\n      \"type\": \"PHYSICAL\",\n      \"storePageId\": \"store-page-id\",\n      \"name\": \"Product Name\",\n      \"description\": \"<p>HTML description</p>\",\n      \"url\": \"https://example.squarespace.com/store/product-slug\",\n      \"urlSlug\": \"product-slug\",\n      \"tags\": [\"tag1\", \"tag2\"],\n      \"isVisible\": true,\n      \"variants\": [...],\n      \"images\": [...],\n      \"createdOn\": \"2024-01-01T00:00:00Z\",\n      \"modifiedOn\": \"2024-01-15T12:00:00Z\"\n    }\n  ],\n  \"pagination\": {...}\n}\n\nGet Specific Products\nGET /squarespace/v2/commerce/products/{productIds}\n\n{productIds}: Comma-separated product IDs (max 50)\nCreate Product\nPOST /squarespace/v2/commerce/products\nContent-Type: application/json\n\n{\n  \"type\": \"PHYSICAL\",\n  \"storePageId\": \"store-page-id\",\n  \"name\": \"New Product\",\n  \"description\": \"<p>Product description</p>\",\n  \"urlSlug\": \"new-product\",\n  \"tags\": [\"new\", \"featured\"],\n  \"isVisible\": true,\n  \"variants\": [\n    {\n      \"sku\": \"SKU-001\",\n      \"pricing\": {\n        \"basePrice\": {\"currency\": \"USD\", \"value\": \"49.99\"}\n      },\n      \"stock\": {\"quantity\": 100, \"unlimited\": false}\n    }\n  ]\n}\n\n\nResponse: 201 Created with Product object\n\nUpdate Product\nPOST /squarespace/v2/commerce/products/{productId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Product Name\",\n  \"description\": \"<p>Updated description</p>\",\n  \"isVisible\": true,\n  \"tags\": [\"updated\", \"sale\"]\n}\n\n\nResponse: 200 OK with Product object\n\nDelete Product\nDELETE /squarespace/v2/commerce/products/{productId}\n\n\nResponse: 204 No Content on success\n\nProduct Variants\nCreate Variant\nPOST /squarespace/v2/commerce/products/{productId}/variants\nContent-Type: application/json\n\n{\n  \"sku\": \"SKU-002\",\n  \"pricing\": {\n    \"basePrice\": {\"currency\": \"USD\", \"value\": \"59.99\"},\n    \"salePrice\": {\"currency\": \"USD\", \"value\": \"49.99\"},\n    \"onSale\": true\n  },\n  \"stock\": {\"quantity\": 50, \"unlimited\": false},\n  \"attributes\": {\"Size\": \"Large\"},\n  \"shippingMeasurements\": {\n    \"weight\": {\"unit\": \"POUND\", \"value\": 1.5},\n    \"dimensions\": {\"unit\": \"INCH\", \"length\": 10, \"width\": 8, \"height\": 4}\n  }\n}\n\n\nResponse: 201 Created with ProductVariant object\n\nNote: To use attributes, the product must first have matching variantAttributes set via Update Product (e.g., \"variantAttributes\": [\"Size\"]).\n\nUpdate Variant\nPOST /squarespace/v2/commerce/products/{productId}/variants/{variantId}\nContent-Type: application/json\n\n{\n  \"sku\": \"SKU-002-UPDATED\",\n  \"pricing\": {\n    \"basePrice\": {\"currency\": \"USD\", \"value\": \"64.99\"},\n    \"onSale\": false\n  }\n}\n\n\nResponse: 200 OK with ProductVariant object\n\nNote: Stock and images cannot be updated via this endpoint.\n\nDelete Variant\nDELETE /squarespace/v2/commerce/products/{productId}/variants/{variantId}\n\n\nResponse: 204 No Content on success\n\nNote: Cannot delete the only variant of a product.\n\nProduct Images\nUpload Image\nPOST /squarespace/v2/commerce/products/{productId}/images\nContent-Type: multipart/form-data\n\ncurl \"https://gateway.maton.ai/squarespace/v2/commerce/products/{productId}/images\" \\\n  -H \"Authorization: Bearer $MATON_API_KEY\" \\\n  -H \"User-Agent: MyClaude/1.0\" \\\n  -X POST \\\n  -F file=@image.png\n\n\nResponse: 202 Accepted\n\n{\n  \"imageId\": \"image-id\"\n}\n\n\nRequirements:\n\nDimensions: less than 60MP\nFile types: JPEG, JPG, PNG, GIF\nMax file size: 20MB (under 500KB recommended)\nMax 100 images per product\nCheck Upload Status\nGET /squarespace/v2/commerce/products/{productId}/images/{imageId}/status\n\n\nResponse:\n\n{\n  \"status\": \"PROCESSING\"\n}\n\n\nStatus values: PROCESSING, READY, ERROR\n\nUpdate Image (Alt Text)\nPOST /squarespace/v2/commerce/products/{productId}/images/{imageId}\nContent-Type: application/json\n\n{\n  \"altText\": \"Product image description\"\n}\n\n\nResponse: 200 OK with ProductImage object\n\nReorder Image\nPOST /squarespace/v2/commerce/products/{productId}/images/{imageId}/order\nContent-Type: application/json\n\n{\n  \"afterImageId\": \"other-image-id\"\n}\n\n\nUse null for afterImageId to move image to the top.\n\nResponse: 204 No Content\n\nAssign Image to Variant\nPOST /squarespace/v2/commerce/products/{productId}/variants/{variantId}/image\nContent-Type: application/json\n\n{\n  \"imageId\": \"image-id\"\n}\n\n\nUse null for imageId to remove the image from the variant.\n\nResponse: 204 No Content\n\nDelete Image\nDELETE /squarespace/v2/commerce/products/{productId}/images/{imageId}\n\n\nResponse: 204 No Content\n\nProfiles (Customers)\nList All Profiles\nGET /squarespace/1.0/profiles\n\n\nQuery parameters:\n\ncursor (optional): Pagination cursor\nfilter (optional): Semicolon-separated filters (e.g., isCustomer,true;hasAccount,true)\nsortDirection (optional): asc or dsc (default: dsc)\nsortField (optional): createdOn, id, email, or lastName (default: id)\n\nFilter options:\n\nisCustomer,true or isCustomer,false\nhasAccount,true or hasAccount,false\nemail,customer@example.com\n\nResponse:\n\n{\n  \"profiles\": [\n    {\n      \"id\": \"profile-id\",\n      \"firstName\": \"John\",\n      \"lastName\": \"Doe\",\n      \"email\": \"john@example.com\",\n      \"hasAccount\": true,\n      \"isCustomer\": true,\n      \"createdOn\": \"2024-01-01T00:00:00Z\",\n      \"address\": {\n        \"address1\": \"123 Main St\",\n        \"city\": \"New York\",\n        \"state\": \"NY\",\n        \"countryCode\": \"US\",\n        \"postalCode\": \"10001\"\n      },\n      \"acceptsMarketing\": true,\n      \"transactionsSummary\": {\n        \"orderCount\": 5,\n        \"totalOrderAmount\": {\"value\": \"499.95\", \"currency\": \"USD\"}\n      }\n    }\n  ],\n  \"pagination\": {...}\n}\n\nGet Specific Profiles\nGET /squarespace/1.0/profiles/{profileIds}\n\n{profileIds}: Comma-separated profile IDs (max 50)\nTransactions\nList All Transactions\nGET /squarespace/1.0/commerce/transactions\n\n\nQuery parameters:\n\nmodifiedAfter (conditional): ISO 8601 datetime - required with modifiedBefore\nmodifiedBefore (conditional): ISO 8601 datetime - required with modifiedAfter\ncursor (optional): Pagination cursor\n\nNote: Date filters must be used together (both modifiedAfter and modifiedBefore are required when filtering by date).\n\nResponse:\n\n{\n  \"documents\": [\n    {\n      \"id\": \"document-id\",\n      \"createdOn\": \"2024-01-15T10:30:00Z\",\n      \"modifiedOn\": \"2024-01-15T12:00:00Z\",\n      \"customerEmail\": \"customer@example.com\",\n      \"salesOrderId\": \"order-id\",\n      \"voided\": false,\n      \"totalSales\": {\"value\": \"99.99\", \"currency\": \"USD\"},\n      \"totalNetSales\": {\"value\": \"99.99\", \"currency\": \"USD\"},\n      \"totalTaxes\": {\"value\": \"8.50\", \"currency\": \"USD\"},\n      \"total\": {\"value\": \"108.49\", \"currency\": \"USD\"},\n      \"payments\": [\n        {\n          \"id\": \"payment-id\",\n          \"amount\": {\"value\": \"108.49\", \"currency\": \"USD\"},\n          \"creditCardType\": \"VISA\",\n          \"provider\": \"STRIPE\",\n          \"paidOn\": \"2024-01-15T10:35:00Z\"\n        }\n      ]\n    }\n  ],\n  \"pagination\": {...}\n}\n\nGet Specific Transactions\nGET /squarespace/1.0/commerce/transactions/{documentIds}\n\n{documentIds}: Comma-separated document IDs (max 50)\nPagination\n\nSquarespace uses cursor-based pagination. Response includes:\n\n{\n  \"pagination\": {\n    \"hasNextPage\": true,\n    \"nextPageCursor\": \"cursor-value\",\n    \"nextPageUrl\": \"https://api.squarespace.com/...\"\n  }\n}\n\n\nTo get the next page, use the cursor parameter:\n\nGET /squarespace/v2/commerce/products?cursor=cursor-value\n\nCode Examples\nJavaScript\nconst response = await fetch(\n  'https://gateway.maton.ai/squarespace/v2/commerce/products',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`,\n      'User-Agent': 'MyClaude/1.0'\n    }\n  }\n);\nconst data = await response.json();\nconsole.log(data.products);\n\nPython\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/squarespace/v2/commerce/products',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'User-Agent': 'MyClaude/1.0'\n    }\n)\nproducts = response.json()['products']\n\nNotes\nProducts API uses version v2 (e.g., /squarespace/v2/commerce/products)\nStore Pages endpoint uses version 1.0 (e.g., /squarespace/1.0/commerce/store_pages)\nInventory, Orders, Profiles, and Transactions APIs use version 1.0\nAll requests require a User-Agent header describing your application\nRequests without a custom User-Agent are subject to stricter rate limits\nMaximum 50 items per batch request (inventory, products, profiles, transactions)\nCreate Order has a stricter rate limit: 100 requests per hour per website\nIdempotency-Key header is required for stock adjustments and order creation\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments\nRate Limits\nGeneral: 300 requests per minute (5 per second)\nCreate Order: 100 requests per hour per website (with API key auth)\nExceeding limits returns 429 Too Many Requests with a one-minute cooldown\nError Handling\nStatus\tMeaning\n400\tInvalid request parameters or missing Squarespace connection\n401\tInvalid or missing Maton API key\n404\tResource not found\n405\tMethod not allowed for product type\n409\tConflict (duplicate SKU, concurrent modification, etc.)\n429\tRate limited\n4xx/5xx\tPassthrough error from Squarespace API\nTroubleshooting: API Key Issues\nCheck that the MATON_API_KEY environment variable is set:\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nTroubleshooting: Invalid App Name\n\nEnsure your URL path starts with squarespace. For example:\n\nCorrect: https://gateway.maton.ai/squarespace/1.0/commerce/products\nIncorrect: https://gateway.maton.ai/1.0/commerce/products\nResources\nSquarespace Commerce APIs Overview\nInventory API\nOrders API\nProducts API\nProfiles API\nTransactions API\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/squarespace",
    "publisherUrl": "https://clawhub.ai/byungkyu/squarespace",
    "owner": "byungkyu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/squarespace",
    "downloadUrl": "https://openagent3.xyz/downloads/squarespace",
    "agentUrl": "https://openagent3.xyz/skills/squarespace/agent",
    "manifestUrl": "https://openagent3.xyz/skills/squarespace/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/squarespace/agent.md"
  }
}