Squarespace
squarespaceSquarespace APIs for orders, products, inventory, transactions, contacts, discounts, analytics, profiles, website details, and webhook subscription management
Acciones disponibles (52)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Adjust InventorySQUARESPACE_ADJUST_INVENTORYAcciónIncrement, decrement, set finite stock, or mark stock unlimited for Squarespace product variants in one idempotent request.
SQUARESPACE_ADJUST_INVENTORYAcciónIncrement, decrement, set finite stock, or mark stock unlimited for Squarespace product variants in one idempotent request.
Parámetros de entrada
adjustmentsobjectObligatorioComplete inventory adjustment containing decrement, increment, exact finite-stock, and unlimited-stock operations.
idempotency_keystringOptional 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.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Associate Variant ImageSQUARESPACE_ASSOCIATE_VARIANT_IMAGEAcciónAssociate 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.
SQUARESPACE_ASSOCIATE_VARIANT_IMAGEAcciónAssociate 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.
Parámetros de entrada
image_idstringProduct image ID to associate with the variant.
product_idstringObligatorioID of the product that owns the variant and image.
variant_idstringObligatorioID of the product variant whose image association will change.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.
v21.11.0remove_imagebooleanSet true to remove the variant's current image association.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Address Book EntrySQUARESPACE_CREATE_ADDRESS_BOOK_ENTRYAcciónCreate 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.
SQUARESPACE_CREATE_ADDRESS_BOOK_ENTRYAcciónCreate 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.
Parámetros de entrada
addressobjectObligatorioPostal address to add to the contact's address book.
contact_idstringObligatorioID of the contact that will own the address.
default_shippingbooleanWhether 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.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ContactSQUARESPACE_CREATE_CONTACTAcciónCreate a contact with name, locale, primary email, and marketing consent.
SQUARESPACE_CREATE_CONTACTAcciónCreate a contact with name, locale, primary email, and marketing consent.
Parámetros de entrada
localestringObligatorioContact locale.
last_namestringObligatorioContact last name.
first_namestringObligatorioContact first name.
primary_emailobjectObligatorioPrimary email and optional marketing consent.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create DiscountSQUARESPACE_CREATE_DISCOUNTAcciónCreate a storefront discount. The new discount can immediately affect checkout pricing, so confirm the criteria, template, trigger, and active date range before calling.
SQUARESPACE_CREATE_DISCOUNTAcciónCreate a storefront discount. The new discount can immediately affect checkout pricing, so confirm the criteria, template, trigger, and active date range before calling.
Parámetros de entrada
discountobjectObligatorioComplete discount definition using one official criteria, template, and trigger branch.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ProductSQUARESPACE_CREATE_PRODUCTAcciónCreate 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.
SQUARESPACE_CREATE_PRODUCTAcciónCreate 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.
Parámetros de entrada
productanyObligatorioComplete product body matching the selected API generation.
api_versionstringenumProducts API generation. Use v2 for new integrations; 1.1 and 1.0 are legacy versions.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Product VariantSQUARESPACE_CREATE_PRODUCT_VARIANTAcciónCreate 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.
SQUARESPACE_CREATE_PRODUCT_VARIANTAcciónCreate 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.
Parámetros de entrada
variantanyObligatorioComplete variant definition for the selected API generation. Only v2 accepts gtin and mpn.
product_idstringObligatorioID of the product that will own the new variant.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 select supported legacy contracts.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Webhook SubscriptionSQUARESPACE_CREATE_WEBHOOK_SUBSCRIPTIONAcciónCreate 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.
SQUARESPACE_CREATE_WEBHOOK_SUBSCRIPTIONAcciónCreate 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.
Parámetros de entrada
topicsstring[]Event topics that trigger notifications.
endpoint_urlstringObligatorioHTTPS URL to which Squarespace will POST webhook notifications.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Address Book EntrySQUARESPACE_DELETE_ADDRESS_BOOK_ENTRYAcciónPermanently 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.
SQUARESPACE_DELETE_ADDRESS_BOOK_ENTRYAcciónPermanently 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.
Parámetros de entrada
contact_idstringObligatorioID of the contact that owns the address book entry.
address_book_entry_idstringObligatorioID of the address book entry to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ContactSQUARESPACE_DELETE_CONTACTAcciónPermanently delete a Squarespace contact by ID. API-key connections require the CONTACT permission.
SQUARESPACE_DELETE_CONTACTAcciónPermanently delete a Squarespace contact by ID. API-key connections require the CONTACT permission.
Parámetros de entrada
contact_idstringObligatorioID of the contact to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete DiscountSQUARESPACE_DELETE_DISCOUNTAcciónPermanently delete a Squarespace discount, including unsupported legacy discount types owned by the website. API-key connections require the DISCOUNTS permission.
SQUARESPACE_DELETE_DISCOUNTAcciónPermanently delete a Squarespace discount, including unsupported legacy discount types owned by the website. API-key connections require the DISCOUNTS permission.
Parámetros de entrada
discount_idstringObligatorioID of the discount to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ProductSQUARESPACE_DELETE_PRODUCTAcciónPermanently delete a Squarespace product from the selected Products API generation. API-key connections require Products API Read and Write permission.
SQUARESPACE_DELETE_PRODUCTAcciónPermanently delete a Squarespace product from the selected Products API generation. API-key connections require Products API Read and Write permission.
Parámetros de entrada
product_idstringObligatorioID of the product to permanently delete.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Product ImageSQUARESPACE_DELETE_PRODUCT_IMAGEAcciónPermanently delete an image from a product in a selected Squarespace Products API generation.
SQUARESPACE_DELETE_PRODUCT_IMAGEAcciónPermanently delete an image from a product in a selected Squarespace Products API generation.
Parámetros de entrada
image_idstringObligatorioID of the product image to permanently delete.
product_idstringObligatorioID of the product that owns the image.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Product VariantSQUARESPACE_DELETE_PRODUCT_VARIANTAcciónPermanently 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.
SQUARESPACE_DELETE_PRODUCT_VARIANTAcciónPermanently 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.
Parámetros de entrada
product_idstringObligatorioID of the product that owns the variant.
variant_idstringObligatorioID of the product variant to permanently delete.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Webhook SubscriptionSQUARESPACE_DELETE_WEBHOOK_SUBSCRIPTIONAcciónPermanently delete an OAuth-owned webhook subscription. Squarespace does not support API keys for this action.
SQUARESPACE_DELETE_WEBHOOK_SUBSCRIPTIONAcciónPermanently delete an OAuth-owned webhook subscription. Squarespace does not support API keys for this action.
Parámetros de entrada
subscription_idstringObligatorioID of the webhook subscription.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fulfill OrderSQUARESPACE_FULFILL_ORDERAcciónMark an order fulfilled, optionally add shipment details and send the customer an email notification.
SQUARESPACE_FULFILL_ORDERAcciónMark an order fulfilled, optionally add shipment details and send the customer an email notification.
Parámetros de entrada
order_idstringObligatorioOrder ID to mark as fulfilled.
shipmentsobject[]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_notificationbooleanWhether Squarespace should email the customer about the added shipments. Omit to use Squarespace's default behavior; false explicitly suppresses the notification.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Address Book EntrySQUARESPACE_GET_ADDRESS_BOOK_ENTRYAcciónReturn one address book entry for a contact.
SQUARESPACE_GET_ADDRESS_BOOK_ENTRYAcciónReturn one address book entry for a contact.
Parámetros de entrada
contact_idstringObligatorioParent contact ID.
address_book_entry_idstringObligatorioAddress book entry ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ContactSQUARESPACE_GET_CONTACTAcciónReturn one Squarespace contact by ID.
SQUARESPACE_GET_CONTACTAcciónReturn one Squarespace contact by ID.
Parámetros de entrada
contact_idstringObligatorioUnique ID of the contact to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get DiscountSQUARESPACE_GET_DISCOUNTAcciónReturn one Squarespace discount by its ID.
SQUARESPACE_GET_DISCOUNTAcciónReturn one Squarespace discount by its ID.
Parámetros de entrada
discount_idstringObligatorioDiscount ID to retrieve. Current Squarespace discount IDs use a 24-character identifier format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Fulfillment OptionsSQUARESPACE_GET_FULFILLMENT_OPTIONSAcciónReturn fulfillment option IDs and carrier services usable in discount rules.
SQUARESPACE_GET_FULFILLMENT_OPTIONSAcciónReturn fulfillment option IDs and carrier services usable in discount rules.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Image Processing StatusSQUARESPACE_GET_IMAGE_PROCESSING_STATUSAcciónReturn the queued, processing, ready, or error status for an uploaded product image in a selected Squarespace Products API generation.
SQUARESPACE_GET_IMAGE_PROCESSING_STATUSAcciónReturn the queued, processing, ready, or error status for an uploaded product image in a selected Squarespace Products API generation.
Parámetros de entrada
image_idstringObligatorioID of the uploaded product image whose processing status to retrieve.
product_idstringObligatorioID of the product that owns the uploaded image.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get InventorySQUARESPACE_GET_INVENTORYAcciónReturn real-time inventory for one to 50 product variant IDs.
SQUARESPACE_GET_INVENTORYAcciónReturn real-time inventory for one to 50 product variant IDs.
Parámetros de entrada
variant_idsstring[]ObligatorioOne to 50 product variant IDs to retrieve. Squarespace does not guarantee that results follow the requested order.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get OrderSQUARESPACE_GET_ORDERAcciónReturn one Squarespace order by its ID.
SQUARESPACE_GET_ORDERAcciónReturn one Squarespace order by its ID.
Parámetros de entrada
order_idstringObligatorioUnique ID of the order to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ProductsSQUARESPACE_GET_PRODUCTSAcciónReturn up to 50 products by ID from a selected Products API generation.
SQUARESPACE_GET_PRODUCTSAcciónReturn up to 50 products by ID from a selected Products API generation.
Parámetros de entrada
api_versionstringenumSquarespace 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.
v21.11.0product_idsstring[]ObligatorioOne to 50 product IDs to retrieve in one request.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ProfilesSQUARESPACE_GET_PROFILESAcciónReturn up to 50 legacy Squarespace Profiles records by ID. The Profiles API is in maintenance mode; prefer Contacts for new workflows.
SQUARESPACE_GET_PROFILESAcciónReturn up to 50 legacy Squarespace Profiles records by ID. The Profiles API is in maintenance mode; prefer Contacts for new workflows.
Parámetros de entrada
profile_idsstring[]ObligatorioOne to 50 legacy profile IDs to retrieve. Current Squarespace profile IDs use a 24-character identifier format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TransactionsSQUARESPACE_GET_TRANSACTIONSAcciónReturn financial transaction documents for one to 50 document IDs.
SQUARESPACE_GET_TRANSACTIONSAcciónReturn financial transaction documents for one to 50 document IDs.
Parámetros de entrada
document_idsstring[]ObligatorioOne to 50 transaction document IDs to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Webhook SubscriptionSQUARESPACE_GET_WEBHOOK_SUBSCRIPTIONAcciónRetrieve one OAuth-owned webhook subscription by ID. The secret is not returned. Squarespace does not support API keys for this action.
SQUARESPACE_GET_WEBHOOK_SUBSCRIPTIONAcciónRetrieve one OAuth-owned webhook subscription by ID. The secret is not returned. Squarespace does not support API keys for this action.
Parámetros de entrada
subscription_idstringObligatorioID of the webhook subscription.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get WebsiteSQUARESPACE_GET_WEBSITEAcciónReturn basic identity, locale, currency, time zone, and measurement details for the connected website.
SQUARESPACE_GET_WEBSITEAcciónReturn basic identity, locale, currency, time zone, and measurement details for the connected website.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Import OrderSQUARESPACE_IMPORT_ORDERAcciónCreate 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.
SQUARESPACE_IMPORT_ORDERAcciónCreate 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.
Parámetros de entrada
orderobjectObligatorioComplete official third-party order import body.
idempotency_keystringOptional 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.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Address Book EntriesSQUARESPACE_LIST_ADDRESS_BOOK_ENTRIESAcciónList a contact's address book entries one cursor page at a time, including default-shipping metadata.
SQUARESPACE_LIST_ADDRESS_BOOK_ENTRIESAcciónList a contact's address book entries one cursor page at a time, including default-shipping metadata.
Parámetros de entrada
cursorstringOpaque next-page cursor returned by the previous call.
page_sizeintegerAddress book entries to return in this page (0-1000).
contact_idstringObligatorioContact whose address book to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ContactsSQUARESPACE_LIST_CONTACTSAcciónList website contacts one cursor page at a time.
SQUARESPACE_LIST_CONTACTSAcciónList website contacts one cursor page at a time.
Parámetros de entrada
cursorstringOpaque next-page cursor returned by the previous call. Keep other pagination parameters unchanged.
page_sizeintegerContacts to return in this page (0-1000).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DiscountsSQUARESPACE_LIST_DISCOUNTSAcciónList and filter website discounts one offset page at a time.
SQUARESPACE_LIST_DISCOUNTSAcciónList and filter website discounts one offset page at a time.
Parámetros de entrada
limitintegerMaximum discounts in this page.
offsetintegerZero-based page offset.
searchstringSearch discount names and promo codes.
statusstringenumDiscount lifecycle status.
ALLACTIVEEXPIREDSCHEDULEDsort_bystringenumField used to sort discounts.
CREATED_ONPROMO_CODEUSES_COUNTtriggerstring[]Trigger types to include. Multiple values are sent comma-separated.
criteriastring[]Criteria types to include. Multiple values are sent comma-separated.
templatestring[]Discount template types to include. Multiple values are sent comma-separated.
sort_directionstringenumSort direction.
ASCENDINGDESCENDINGlimited_use_onlybooleanReturn only limited-use discounts when true.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List InventorySQUARESPACE_LIST_INVENTORYAcciónList real-time inventory items one cursor page at a time.
SQUARESPACE_LIST_INVENTORYAcciónList real-time inventory items one cursor page at a time.
Parámetros de entrada
cursorstringOpaque next-page cursor returned by the previous call.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List OrdersSQUARESPACE_LIST_ORDERSAcciónList and filter Squarespace orders one cursor page at a time.
SQUARESPACE_LIST_ORDERSAcciónList and filter Squarespace orders one cursor page at a time.
Parámetros de entrada
cursorstringOpaque next-page cursor returned by the previous call. Pass it unchanged and omit every other filter.
customer_idstringFilter orders by customer ID. Cannot be combined with cursor.
modified_afterstringdate-timeISO 8601 UTC lower modification bound. Requires modified_before and cannot be combined with cursor.
payment_statesstring[]Payment states to include. If omitted, Squarespace defaults to NOT_CHARGED, AUTHORIZED, PAID, and REFUNDED. Cannot be combined with cursor.
modified_beforestringdate-timeISO 8601 UTC upper modification bound. Requires modified_after and cannot be combined with cursor.
fulfillment_statusstringenumFulfillment status to include. Cannot be combined with cursor.
PENDINGFULFILLEDCANCELED
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProductsSQUARESPACE_LIST_PRODUCTSAcciónList one cursor page of products from Squarespace Products API v2, 1.1, or 1.0. v2 is used by default.
SQUARESPACE_LIST_PRODUCTSAcciónList one cursor page of products from Squarespace Products API v2, 1.1, or 1.0. v2 is used by default.
Parámetros de entrada
querystringSearch query. Cannot be combined with cursor.
cursorstringOpaque cursor returned by the previous call. Pass it unchanged and omit all filters; the cursor retains the selected API generation.
api_versionstringenumProducts API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.
v21.11.0product_typesstring[]Product types to include. v2 supports PHYSICAL, SERVICE, GIFT_CARD, and DIGITAL; 1.1 supports PHYSICAL and DIGITAL; 1.0 supports only PHYSICAL.
modified_afterstringdate-timeISO 8601 UTC lower modification bound. Requires modified_before and cannot be combined with cursor.
modified_beforestringdate-timeISO 8601 UTC upper modification bound. Requires modified_after and cannot be combined with cursor.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProfilesSQUARESPACE_LIST_PROFILESAcciónList and filter legacy Profiles records one cursor page at a time. The Profiles API is in maintenance mode; use Contacts for new workflows.
SQUARESPACE_LIST_PROFILESAcciónList and filter legacy Profiles records one cursor page at a time. The Profiles API is in maintenance mode; use Contacts for new workflows.
Parámetros de entrada
emailstringCase-insensitive email address filter. Cannot be combined with filter or cursor.
cursorstringOpaque next-page cursor returned by the previous call. Pass it unchanged and omit every filter and sort parameter.
filterstringSemicolon-separated isCustomer and/or hasAccount profile filters. Cannot be combined with email or cursor.
sort_fieldstringenumField used to sort profiles. Squarespace defaults to id. Cannot be combined with cursor.
createdOnidemaillastNamesort_directionstringenumSort profiles in ascending (asc) or descending (dsc) order. Squarespace defaults to descending. Cannot be combined with cursor.
ascdsc
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Store PagesSQUARESPACE_LIST_STORE_PAGESAcciónList website store pages one cursor page at a time.
SQUARESPACE_LIST_STORE_PAGESAcciónList website store pages one cursor page at a time.
Parámetros de entrada
cursorstringOpaque next-page cursor returned by the previous call.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TransactionsSQUARESPACE_LIST_TRANSACTIONSAcciónList financial transaction documents for orders and donations one cursor page at a time.
SQUARESPACE_LIST_TRANSACTIONSAcciónList financial transaction documents for orders and donations one cursor page at a time.
Parámetros de entrada
cursorstringOpaque next-page cursor returned by the previous call.
order_idstringReturn transaction documents associated with this order ID.
modified_afterstringdate-timeISO 8601 UTC lower bound for document modification time.
modified_beforestringdate-timeISO 8601 UTC upper bound for document modification time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Webhook SubscriptionsSQUARESPACE_LIST_WEBHOOK_SUBSCRIPTIONSAcciónList up to 25 webhook subscriptions owned by the connected Squarespace OAuth application. Squarespace does not support API keys for this action.
SQUARESPACE_LIST_WEBHOOK_SUBSCRIPTIONSAcciónList up to 25 webhook subscriptions owned by the connected Squarespace OAuth application. Squarespace does not support API keys for this action.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query ContactsSQUARESPACE_QUERY_CONTACTSAcciónFilter, search, and sort contacts using Squarespace's complete contact query contract, returning one cursor page.
SQUARESPACE_QUERY_CONTACTSAcciónFilter, search, and sort contacts using Squarespace's complete contact query contract, returning one cursor page.
Parámetros de entrada
cursorstringOpaque cursor returned by the previous call. The original filters and sort options are retained automatically.
page_sizeintegerNumber of contacts to return in this page (1-1000).
sort_fieldstringenumContact field by which to sort matching contacts.
IDCREATED_ONEMAILACCEPTS_MARKETING_JOINED_ONFIRST_NAMELAST_NAMEORDER_COUNTLAST_ORDER_ONORDER_AMOUNTDONATION_COUNTLAST_DONATION_ONDONATION_AMOUNTorder_countobjectFilter by the contact's number of orders.
order_amountobjectFilter by the contact's total order amount.
last_order_onobjectFilter by the date of the contact's latest order.
search_stringstringSearch contact names and email addresses.
donation_countobjectFilter by the contact's number of donations.
first_order_onobjectFilter by the date of the contact's first order.
sort_directionstringenumDirection in which to sort matching contacts.
ASCENDINGDESCENDINGdonation_amountobjectFilter by the contact's total donation amount.
last_donation_onobjectFilter by the date of the contact's latest donation.
first_donation_onobjectFilter by the date of the contact's first donation.
accepts_marketing_with_dateobjectFilter by marketing consent and the date the contact joined the marketing list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Reorder Product ImageSQUARESPACE_REORDER_PRODUCT_IMAGEAcciónMove 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.
SQUARESPACE_REORDER_PRODUCT_IMAGEAcciónMove 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.
Parámetros de entrada
image_idstringObligatorioID of the product image to move.
product_idstringObligatorioID of the product that owns the image.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 select supported legacy routes.
v21.11.0move_to_firstbooleanSet true to move the image to the first position.
after_image_idstringID of the image after which the moved image should be placed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Replace Address Book EntrySQUARESPACE_REPLACE_ADDRESS_BOOK_ENTRYAcciónReplace a Squarespace contact address book entry with a complete postal address. Clearing default shipping on the current default entry has no effect.
SQUARESPACE_REPLACE_ADDRESS_BOOK_ENTRYAcciónReplace a Squarespace contact address book entry with a complete postal address. Clearing default shipping on the current default entry has no effect.
Parámetros de entrada
addressobjectObligatorioComplete replacement postal address. Include every address value that should remain on the entry.
contact_idstringObligatorioParent contact ID.
default_shippingbooleanWhether this entry should be the default shipping address. Setting this to false on the current default entry has no effect.
address_book_entry_idstringObligatorioAddress book entry ID to replace.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Replace DiscountSQUARESPACE_REPLACE_DISCOUNTAcciónReplace 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.
SQUARESPACE_REPLACE_DISCOUNTAcciónReplace 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.
Parámetros de entrada
discountobjectObligatorioComplete writable replacement definition. Include criteria, name, template, trigger, and validFrom; omitted writable settings are replaced by provider defaults rather than merged.
discount_idstringObligatorioID of the discount to replace.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve Contact Transaction SummariesSQUARESPACE_RETRIEVE_CONTACT_TRANSACTION_SUMMARIESAcciónReturn order and donation transaction summaries grouped by each supplied contact ID.
SQUARESPACE_RETRIEVE_CONTACT_TRANSACTION_SUMMARIESAcciónReturn order and donation transaction summaries grouped by each supplied contact ID.
Parámetros de entrada
group_bystringGrouping field; Squarespace currently supports only contactId.
contact_idsstring[]ObligatorioUnique contact IDs to summarize (1-1000 IDs).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Rotate Webhook Subscription SecretSQUARESPACE_ROTATE_WEBHOOK_SUBSCRIPTION_SECRETAcciónRotate 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.
SQUARESPACE_ROTATE_WEBHOOK_SUBSCRIPTION_SECRETAcciónRotate 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.
Parámetros de entrada
subscription_idstringObligatorioID of the webhook subscription.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send Webhook Test NotificationSQUARESPACE_SEND_WEBHOOK_TEST_NOTIFICATIONAcciónCause 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.
SQUARESPACE_SEND_WEBHOOK_TEST_NOTIFICATIONAcciónCause 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.
Parámetros de entrada
topicstringObligatorioSquarespace event topic to put in the test notification.
subscription_idstringObligatorioID of the webhook subscription whose endpoint should be called.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ContactSQUARESPACE_UPDATE_CONTACTAcciónPartially update a Squarespace contact using JSON Merge Patch semantics. Omitted fields remain unchanged, while explicit null values are preserved.
SQUARESPACE_UPDATE_CONTACTAcciónPartially update a Squarespace contact using JSON Merge Patch semantics. Omitted fields remain unchanged, while explicit null values are preserved.
Parámetros de entrada
patchobjectObligatorioFields to merge into the contact. Omitted fields are unchanged; explicit null values clear fields where Squarespace permits.
contact_idstringObligatorioID of the contact to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ProductSQUARESPACE_UPDATE_PRODUCTAcciónPartially 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.
SQUARESPACE_UPDATE_PRODUCTAcciónPartially 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.
Parámetros de entrada
changesobjectObligatorioProduct fields to update. Omitted fields remain unchanged; use null to clear fields that Squarespace supports clearing.
product_idstringObligatorioID of the product to update.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 select supported legacy routes.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Product ImageSQUARESPACE_UPDATE_PRODUCT_IMAGEAcciónUpdate 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.
SQUARESPACE_UPDATE_PRODUCT_IMAGEAcciónUpdate 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.
Parámetros de entrada
alt_textstringReplacement image alt text. Omit to leave unchanged or use an empty string to clear.
image_idstringObligatorioID of the product image to update.
product_idstringObligatorioID of the product that owns the image.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Product VariantSQUARESPACE_UPDATE_PRODUCT_VARIANTAcciónPartially 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.
SQUARESPACE_UPDATE_PRODUCT_VARIANTAcciónPartially 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.
Parámetros de entrada
changesanyObligatorioPlain variant fields to update. V2 supports gtin and mpn; legacy versions reject those fields. Omitted fields remain unchanged.
product_idstringObligatorioID of the parent product.
variant_idstringObligatorioID of the product variant to update.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 use the legacy variant update contract.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Webhook SubscriptionSQUARESPACE_UPDATE_WEBHOOK_SUBSCRIPTIONAcciónReplace an OAuth-owned webhook subscription's endpoint URL or topic list. Omitted fields remain unchanged. Squarespace does not support API keys for this action.
SQUARESPACE_UPDATE_WEBHOOK_SUBSCRIPTIONAcciónReplace an OAuth-owned webhook subscription's endpoint URL or topic list. Omitted fields remain unchanged. Squarespace does not support API keys for this action.
Parámetros de entrada
topicsstring[]Replacement list of event topics that trigger notifications.
endpoint_urlstringReplacement HTTPS URL that receives webhook notifications.
subscription_idstringObligatorioID of the webhook subscription to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload Product ImageSQUARESPACE_UPLOAD_PRODUCT_IMAGEAcciónUpload 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.
SQUARESPACE_UPLOAD_PRODUCT_IMAGEAcciónUpload 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.
Parámetros de entrada
fileobjectObligatorioImage file to upload to the product.
product_idstringObligatorioID of the product that will own the uploaded image.
api_versionstringenumSquarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.
v21.11.0
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not