Volver al catálogo

Squarespace

squarespace

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

Acciones
52
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

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

Parámetros de entrada

  • adjustmentsobjectObligatorio

    Complete inventory adjustment containing decrement, increment, exact finite-stock, and unlimited-stock operations.

  • idempotency_keystring

    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.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Associate Variant ImageSQUARESPACE_ASSOCIATE_VARIANT_IMAGEAcción

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.

Parámetros de entrada

  • image_idstring

    Product image ID to associate with the variant.

  • product_idstringObligatorio

    ID of the product that owns the variant and image.

  • variant_idstringObligatorio

    ID of the product variant whose image association will change.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.

    v21.11.0
  • remove_imageboolean

    Set true to remove the variant's current image association.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Address Book EntrySQUARESPACE_CREATE_ADDRESS_BOOK_ENTRYAcción

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.

Parámetros de entrada

  • addressobjectObligatorio

    Postal address to add to the contact's address book.

  • contact_idstringObligatorio

    ID of the contact that will own the address.

  • default_shippingboolean

    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.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ContactSQUARESPACE_CREATE_CONTACTAcción

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

Parámetros de entrada

  • localestringObligatorio

    Contact locale.

  • last_namestringObligatorio

    Contact last name.

  • first_namestringObligatorio

    Contact first name.

  • primary_emailobjectObligatorio

    Primary email and optional marketing consent.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create DiscountSQUARESPACE_CREATE_DISCOUNTAcción

Create 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

  • discountobjectObligatorio

    Complete discount definition using one official criteria, template, and trigger branch.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ProductSQUARESPACE_CREATE_PRODUCTAcción

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.

Parámetros de entrada

  • productanyObligatorio

    Complete product body matching the selected API generation.

  • api_versionstringenum

    Products API generation. Use v2 for new integrations; 1.1 and 1.0 are legacy versions.

    v21.11.0

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Product VariantSQUARESPACE_CREATE_PRODUCT_VARIANTAcción

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.

Parámetros de entrada

  • variantanyObligatorio

    Complete variant definition for the selected API generation. Only v2 accepts gtin and mpn.

  • product_idstringObligatorio

    ID of the product that will own the new variant.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 select supported legacy contracts.

    v21.11.0

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Webhook SubscriptionSQUARESPACE_CREATE_WEBHOOK_SUBSCRIPTIONAcción

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.

Parámetros de entrada

  • topicsstring[]

    Event topics that trigger notifications.

  • endpoint_urlstringObligatorio

    HTTPS URL to which Squarespace will POST webhook notifications.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Address Book EntrySQUARESPACE_DELETE_ADDRESS_BOOK_ENTRYAcción

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.

Parámetros de entrada

  • contact_idstringObligatorio

    ID of the contact that owns the address book entry.

  • address_book_entry_idstringObligatorio

    ID of the address book entry to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ContactSQUARESPACE_DELETE_CONTACTAcción

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

Parámetros de entrada

  • contact_idstringObligatorio

    ID of the contact to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete DiscountSQUARESPACE_DELETE_DISCOUNTAcción

Permanently 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_idstringObligatorio

    ID of the discount to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ProductSQUARESPACE_DELETE_PRODUCTAcción

Permanently 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_idstringObligatorio

    ID of the product to permanently delete.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.

    v21.11.0

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Product ImageSQUARESPACE_DELETE_PRODUCT_IMAGEAcción

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

Parámetros de entrada

  • image_idstringObligatorio

    ID of the product image to permanently delete.

  • product_idstringObligatorio

    ID of the product that owns the image.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.

    v21.11.0

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Product VariantSQUARESPACE_DELETE_PRODUCT_VARIANTAcción

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.

Parámetros de entrada

  • product_idstringObligatorio

    ID of the product that owns the variant.

  • variant_idstringObligatorio

    ID of the product variant to permanently delete.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.

    v21.11.0

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Webhook SubscriptionSQUARESPACE_DELETE_WEBHOOK_SUBSCRIPTIONAcción

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

Parámetros de entrada

  • subscription_idstringObligatorio

    ID of the webhook subscription.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fulfill OrderSQUARESPACE_FULFILL_ORDERAcción

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

Parámetros de entrada

  • order_idstringObligatorio

    Order 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_notificationboolean

    Whether 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Address Book EntrySQUARESPACE_GET_ADDRESS_BOOK_ENTRYAcción

Return one address book entry for a contact.

Parámetros de entrada

  • contact_idstringObligatorio

    Parent contact ID.

  • address_book_entry_idstringObligatorio

    Address book entry ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ContactSQUARESPACE_GET_CONTACTAcción

Return one Squarespace contact by ID.

Parámetros de entrada

  • contact_idstringObligatorio

    Unique ID of the contact to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get DiscountSQUARESPACE_GET_DISCOUNTAcción

Return one Squarespace discount by its ID.

Parámetros de entrada

  • discount_idstringObligatorio

    Discount ID to retrieve. Current Squarespace discount IDs use a 24-character identifier format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Fulfillment OptionsSQUARESPACE_GET_FULFILLMENT_OPTIONSAcción

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

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Image Processing StatusSQUARESPACE_GET_IMAGE_PROCESSING_STATUSAcción

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

Parámetros de entrada

  • image_idstringObligatorio

    ID of the uploaded product image whose processing status to retrieve.

  • product_idstringObligatorio

    ID of the product that owns the uploaded image.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.

    v21.11.0

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get InventorySQUARESPACE_GET_INVENTORYAcción

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

Parámetros de entrada

  • variant_idsstring[]Obligatorio

    One to 50 product variant IDs to retrieve. Squarespace does not guarantee that results follow the requested order.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OrderSQUARESPACE_GET_ORDERAcción

Return one Squarespace order by its ID.

Parámetros de entrada

  • order_idstringObligatorio

    Unique ID of the order to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ProductsSQUARESPACE_GET_PRODUCTSAcción

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

Parámetros de entrada

  • api_versionstringenum

    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.

    v21.11.0
  • product_idsstring[]Obligatorio

    One to 50 product IDs to retrieve in one request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ProfilesSQUARESPACE_GET_PROFILESAcción

Return 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[]Obligatorio

    One to 50 legacy profile IDs to retrieve. Current Squarespace profile IDs use a 24-character identifier format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get TransactionsSQUARESPACE_GET_TRANSACTIONSAcción

Return financial transaction documents for one to 50 document IDs.

Parámetros de entrada

  • document_idsstring[]Obligatorio

    One to 50 transaction document IDs to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Webhook SubscriptionSQUARESPACE_GET_WEBHOOK_SUBSCRIPTIONAcción

Retrieve 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_idstringObligatorio

    ID of the webhook subscription.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get WebsiteSQUARESPACE_GET_WEBSITEAcción

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

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import OrderSQUARESPACE_IMPORT_ORDERAcción

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.

Parámetros de entrada

  • orderobjectObligatorio

    Complete official third-party order import body.

  • idempotency_keystring

    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.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Address Book EntriesSQUARESPACE_LIST_ADDRESS_BOOK_ENTRIESAcción

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

Parámetros de entrada

  • cursorstring

    Opaque next-page cursor returned by the previous call.

  • page_sizeinteger

    Address book entries to return in this page (0-1000).

  • contact_idstringObligatorio

    Contact whose address book to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ContactsSQUARESPACE_LIST_CONTACTSAcción

List website contacts one cursor page at a time.

Parámetros de entrada

  • cursorstring

    Opaque next-page cursor returned by the previous call. Keep other pagination parameters unchanged.

  • page_sizeinteger

    Contacts to return in this page (0-1000).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DiscountsSQUARESPACE_LIST_DISCOUNTSAcción

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

Parámetros de entrada

  • limitinteger

    Maximum discounts in this page.

  • offsetinteger

    Zero-based page offset.

  • searchstring

    Search discount names and promo codes.

  • statusstringenum

    Discount lifecycle status.

    ALLACTIVEEXPIREDSCHEDULED
  • sort_bystringenum

    Field used to sort discounts.

    CREATED_ONPROMO_CODEUSES_COUNT
  • triggerstring[]

    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_directionstringenum

    Sort direction.

    ASCENDINGDESCENDING
  • limited_use_onlyboolean

    Return only limited-use discounts when true.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List InventorySQUARESPACE_LIST_INVENTORYAcción

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

Parámetros de entrada

  • cursorstring

    Opaque next-page cursor returned by the previous call.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List OrdersSQUARESPACE_LIST_ORDERSAcción

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

Parámetros de entrada

  • cursorstring

    Opaque next-page cursor returned by the previous call. Pass it unchanged and omit every other filter.

  • customer_idstring

    Filter orders by customer ID. Cannot be combined with cursor.

  • modified_afterstringdate-time

    ISO 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-time

    ISO 8601 UTC upper modification bound. Requires modified_after and cannot be combined with cursor.

  • fulfillment_statusstringenum

    Fulfillment status to include. Cannot be combined with cursor.

    PENDINGFULFILLEDCANCELED

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProductsSQUARESPACE_LIST_PRODUCTSAcción

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

Parámetros de entrada

  • querystring

    Search query. Cannot be combined with cursor.

  • cursorstring

    Opaque cursor returned by the previous call. Pass it unchanged and omit all filters; the cursor retains the selected API generation.

  • api_versionstringenum

    Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.

    v21.11.0
  • product_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-time

    ISO 8601 UTC lower modification bound. Requires modified_before and cannot be combined with cursor.

  • modified_beforestringdate-time

    ISO 8601 UTC upper modification bound. Requires modified_after and cannot be combined with cursor.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProfilesSQUARESPACE_LIST_PROFILESAcción

List 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

  • emailstring

    Case-insensitive email address filter. Cannot be combined with filter or cursor.

  • cursorstring

    Opaque next-page cursor returned by the previous call. Pass it unchanged and omit every filter and sort parameter.

  • filterstring

    Semicolon-separated isCustomer and/or hasAccount profile filters. Cannot be combined with email or cursor.

  • sort_fieldstringenum

    Field used to sort profiles. Squarespace defaults to id. Cannot be combined with cursor.

    createdOnidemaillastName
  • sort_directionstringenum

    Sort profiles in ascending (asc) or descending (dsc) order. Squarespace defaults to descending. Cannot be combined with cursor.

    ascdsc

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Store PagesSQUARESPACE_LIST_STORE_PAGESAcción

List website store pages one cursor page at a time.

Parámetros de entrada

  • cursorstring

    Opaque next-page cursor returned by the previous call.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List TransactionsSQUARESPACE_LIST_TRANSACTIONSAcción

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

Parámetros de entrada

  • cursorstring

    Opaque next-page cursor returned by the previous call.

  • order_idstring

    Return transaction documents associated with this order ID.

  • modified_afterstringdate-time

    ISO 8601 UTC lower bound for document modification time.

  • modified_beforestringdate-time

    ISO 8601 UTC upper bound for document modification time.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Webhook SubscriptionsSQUARESPACE_LIST_WEBHOOK_SUBSCRIPTIONSAcción

List 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Query ContactsSQUARESPACE_QUERY_CONTACTSAcción

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

Parámetros de entrada

  • cursorstring

    Opaque cursor returned by the previous call. The original filters and sort options are retained automatically.

  • page_sizeinteger

    Number of contacts to return in this page (1-1000).

  • sort_fieldstringenum

    Contact field by which to sort matching contacts.

    IDCREATED_ONEMAILACCEPTS_MARKETING_JOINED_ONFIRST_NAMELAST_NAMEORDER_COUNTLAST_ORDER_ONORDER_AMOUNTDONATION_COUNTLAST_DONATION_ONDONATION_AMOUNT
  • order_countobject

    Filter by the contact's number of orders.

  • order_amountobject

    Filter by the contact's total order amount.

  • last_order_onobject

    Filter by the date of the contact's latest order.

  • search_stringstring

    Search contact names and email addresses.

  • donation_countobject

    Filter by the contact's number of donations.

  • first_order_onobject

    Filter by the date of the contact's first order.

  • sort_directionstringenum

    Direction in which to sort matching contacts.

    ASCENDINGDESCENDING
  • donation_amountobject

    Filter by the contact's total donation amount.

  • last_donation_onobject

    Filter by the date of the contact's latest donation.

  • first_donation_onobject

    Filter by the date of the contact's first donation.

  • accepts_marketing_with_dateobject

    Filter by marketing consent and the date the contact joined the marketing list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reorder Product ImageSQUARESPACE_REORDER_PRODUCT_IMAGEAcción

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.

Parámetros de entrada

  • image_idstringObligatorio

    ID of the product image to move.

  • product_idstringObligatorio

    ID of the product that owns the image.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 select supported legacy routes.

    v21.11.0
  • move_to_firstboolean

    Set true to move the image to the first position.

  • after_image_idstring

    ID of the image after which the moved image should be placed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Address Book EntrySQUARESPACE_REPLACE_ADDRESS_BOOK_ENTRYAcción

Replace 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

  • addressobjectObligatorio

    Complete replacement postal address. Include every address value that should remain on the entry.

  • contact_idstringObligatorio

    Parent contact ID.

  • default_shippingboolean

    Whether this entry should be the default shipping address. Setting this to false on the current default entry has no effect.

  • address_book_entry_idstringObligatorio

    Address book entry ID to replace.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace DiscountSQUARESPACE_REPLACE_DISCOUNTAcción

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.

Parámetros de entrada

  • discountobjectObligatorio

    Complete writable replacement definition. Include criteria, name, template, trigger, and validFrom; omitted writable settings are replaced by provider defaults rather than merged.

  • discount_idstringObligatorio

    ID of the discount to replace.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve Contact Transaction SummariesSQUARESPACE_RETRIEVE_CONTACT_TRANSACTION_SUMMARIESAcción

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

Parámetros de entrada

  • group_bystring

    Grouping field; Squarespace currently supports only contactId.

  • contact_idsstring[]Obligatorio

    Unique contact IDs to summarize (1-1000 IDs).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rotate Webhook Subscription SecretSQUARESPACE_ROTATE_WEBHOOK_SUBSCRIPTION_SECRETAcción

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.

Parámetros de entrada

  • subscription_idstringObligatorio

    ID of the webhook subscription.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send Webhook Test NotificationSQUARESPACE_SEND_WEBHOOK_TEST_NOTIFICATIONAcción

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.

Parámetros de entrada

  • topicstringObligatorio

    Squarespace event topic to put in the test notification.

  • subscription_idstringObligatorio

    ID of the webhook subscription whose endpoint should be called.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ContactSQUARESPACE_UPDATE_CONTACTAcción

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

Parámetros de entrada

  • patchobjectObligatorio

    Fields to merge into the contact. Omitted fields are unchanged; explicit null values clear fields where Squarespace permits.

  • contact_idstringObligatorio

    ID of the contact to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ProductSQUARESPACE_UPDATE_PRODUCTAcción

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.

Parámetros de entrada

  • changesobjectObligatorio

    Product fields to update. Omitted fields remain unchanged; use null to clear fields that Squarespace supports clearing.

  • product_idstringObligatorio

    ID of the product to update.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 select supported legacy routes.

    v21.11.0

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Product ImageSQUARESPACE_UPDATE_PRODUCT_IMAGEAcción

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.

Parámetros de entrada

  • alt_textstring

    Replacement image alt text. Omit to leave unchanged or use an empty string to clear.

  • image_idstringObligatorio

    ID of the product image to update.

  • product_idstringObligatorio

    ID of the product that owns the image.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.

    v21.11.0

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Product VariantSQUARESPACE_UPDATE_PRODUCT_VARIANTAcción

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.

Parámetros de entrada

  • changesanyObligatorio

    Plain variant fields to update. V2 supports gtin and mpn; legacy versions reject those fields. Omitted fields remain unchanged.

  • product_idstringObligatorio

    ID of the parent product.

  • variant_idstringObligatorio

    ID of the product variant to update.

  • api_versionstringenum

    Squarespace 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Webhook SubscriptionSQUARESPACE_UPDATE_WEBHOOK_SUBSCRIPTIONAcción

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.

Parámetros de entrada

  • topicsstring[]

    Replacement list of event topics that trigger notifications.

  • endpoint_urlstring

    Replacement HTTPS URL that receives webhook notifications.

  • subscription_idstringObligatorio

    ID of the webhook subscription to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload Product ImageSQUARESPACE_UPLOAD_PRODUCT_IMAGEAcción

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.

Parámetros de entrada

  • fileobjectObligatorio

    Image file to upload to the product.

  • product_idstringObligatorio

    ID of the product that will own the uploaded image.

  • api_versionstringenum

    Squarespace Products API generation. Use v2 for new integrations; 1.1 and 1.0 are supported legacy versions.

    v21.11.0

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not