Schemas
AcceptsMarketing
acceptsMarketingWhether the contact accepts marketing email.
joinedOnThe date and time the contact was added to the marketing list.The value returned in the creation response is a near-real-time estimate; the Get Contact endpoint should be used to verify the exact persisted timestamp.
leftOnThe date and time the contact left Marketing list
AcceptsMarketingWithDate
acceptsMarketingIf contact's email accepts marketing
Object for filtering by before and after dates
Address
address1Primary street address
address2Secondary address line
cityCity
countryCodeISO 3166-1 alpha-2 country code
firstNameFirst name
lastNameLast name
phonePhone number
postalCodePostal or ZIP code
stateState or province
AddressBook
List of Address Book Entries
defaultShippingAddressIdThe id of the address book entry that is the default shipping address.
AddressBookEntry
Address properties for a contact.
defaultShippingWhether this entry is the current default shipping address. When the contact has any address book entries, exactly one entry has this value set to true.
idThe address book entry's ID.
AddressCreateData
The address book entries that were created.
contactIdThe contact's ID.
createdOnCreation date and time in UTC (ISO 8601 format) of the address book entries.
AddressCreatePayload
createdOnCreation date and time in UTC (ISO 8601 format) of this message.
idUnique notification id.
subscriptionsIdUnique Webhook Subscriptions id.
topicDescription of the event that triggered the notification.
order.create- always value for OrderCreatePayload.topic reforder.update- always value for OrderUpdatePayload.topicextension.uninstall- always value for ExtensionUninstallPayload.topiccontact.create- always value for ContactCreatePayload.topiccontact.update- always value for ContactUpdatePayload.topiccontact.delete- always value for ContactDeletePayload.topicaddress.create- always value for AddressCreatePayload.topicaddress.update- always value for AddressUpdatePayload.topicaddress.delete- always value for AddressDeletePayload.topic
websiteIdSquarespace website id that triggered the notification.
The address data for the created address book entries.
AddressDeleteData
addressBookEntryIdsThe IDs of the deleted address book entries.
contactIdThe contact's ID.
deletedOnDeletion date and time in UTC (ISO 8601 format) of the address book entries.
AddressDeletePayload
createdOnCreation date and time in UTC (ISO 8601 format) of this message.
idUnique notification id.
subscriptionsIdUnique Webhook Subscriptions id.
topicDescription of the event that triggered the notification.
order.create- always value for OrderCreatePayload.topic reforder.update- always value for OrderUpdatePayload.topicextension.uninstall- always value for ExtensionUninstallPayload.topiccontact.create- always value for ContactCreatePayload.topiccontact.update- always value for ContactUpdatePayload.topiccontact.delete- always value for ContactDeletePayload.topicaddress.create- always value for AddressCreatePayload.topicaddress.update- always value for AddressUpdatePayload.topicaddress.delete- always value for AddressDeletePayload.topic
websiteIdSquarespace website id that triggered the notification.
Identifiers and metadata for the deleted address book entries.
AddressRequest
address1address2citycountryCodefirstNamelastNamephonepostalCodestateAddressUpdateData
The address book entries after the update.
contactIdThe contact's ID.
createdOnCreation date and time in UTC (ISO 8601 format) of the address book entries.
updatedOnLast update date and time in UTC (ISO 8601 format) of the address book entries.
AddressUpdatePayload
createdOnCreation date and time in UTC (ISO 8601 format) of this message.
idUnique notification id.
subscriptionsIdUnique Webhook Subscriptions id.
topicDescription of the event that triggered the notification.
order.create- always value for OrderCreatePayload.topic reforder.update- always value for OrderUpdatePayload.topicextension.uninstall- always value for ExtensionUninstallPayload.topiccontact.create- always value for ContactCreatePayload.topiccontact.update- always value for ContactUpdatePayload.topiccontact.delete- always value for ContactDeletePayload.topicaddress.create- always value for AddressCreatePayload.topicaddress.update- always value for AddressUpdatePayload.topicaddress.delete- always value for AddressDeletePayload.topic
websiteIdSquarespace website id that triggered the notification.
The address data after the update.
AssociateProductImageToVariantRequest
Optional; HTTPS URL to receive webhook notifications.
AutoTrigger
typeBuyXGetYCriteria
typeeligibleForDiscountQuantityQuantity of eligible items the discount applies to.
requiredFullPriceQuantityQuantity of qualifying items required at full price.
criteriaAppliesToSpecifies the possible targets for a BuyXGetYCriteria buy-side.
criteriaProductIdsProduct ids the cart must contain. Required if criteriaAppliesTo=PRODUCT.
rewardAppliesToSpecifies the possible targets for a BuyXGetYCriteria reward-side.
rewardProductIdsProduct ids eligible for the reward. Required if rewardAppliesTo=PRODUCT.
BuyXGetYFixedAmountTemplate
typeA monetary amount with currency code and decimal value.
maxApplicationsPerCartCaps how many times the discount can be applied per cart. 0 means unlimited.
BuyXGetYPercentageTemplate
typediscountPercentagePercentage to subtract from each reward item. Range (0, 100].
maxApplicationsPerCartCaps how many times the discount can be applied per cart. 0 means unlimited.
CarrierService
descriptionHuman-readable carrier service name.
nameCarrier service identifier.
CartTotalCriteria
typeA monetary amount with currency code and decimal value.
ChangeListString
presentvalueChangeMapStringString
presentChangeSeoOptions
presentOptions for search engine optimization.
ChangeUpdateProductMeasurements
presentContact
createdOnThe date and time when the contact was created.
An address book entry for a contact.
firstNameThe contact's first name.
idThe contact's ID.
lastNameThe contact's last name.
localeThe contact's locale.
The contact's primary email.
ContactAddress
countryCodeISO 3166 alpha-2 country code string.
cityAddress' city
firstNameContact's first name
lastNameContact's last name
line1First line of address
line2Second line of address
phoneNumberContact's phone number
postalCodezip/postal code
regionGeneral region (State, Province, County, etc...)
ContactCreatePayload
createdOnCreation date and time in UTC (ISO 8601 format) of this message.
idUnique notification id.
subscriptionsIdUnique Webhook Subscriptions id.
topicDescription of the event that triggered the notification.
order.create- always value for OrderCreatePayload.topic reforder.update- always value for OrderUpdatePayload.topicextension.uninstall- always value for ExtensionUninstallPayload.topiccontact.create- always value for ContactCreatePayload.topiccontact.update- always value for ContactUpdatePayload.topiccontact.delete- always value for ContactDeletePayload.topicaddress.create- always value for AddressCreatePayload.topicaddress.update- always value for AddressUpdatePayload.topicaddress.delete- always value for AddressDeletePayload.topic
websiteIdSquarespace website id that triggered the notification.
A contact.
ContactDeleteData
deletedOnDeletion date and time in UTC (ISO 8601 format) of the contact.
idThe contact's ID.
ContactDeletePayload
createdOnCreation date and time in UTC (ISO 8601 format) of this message.
idUnique notification id.
subscriptionsIdUnique Webhook Subscriptions id.
topicDescription of the event that triggered the notification.
order.create- always value for OrderCreatePayload.topic reforder.update- always value for OrderUpdatePayload.topicextension.uninstall- always value for ExtensionUninstallPayload.topiccontact.create- always value for ContactCreatePayload.topiccontact.update- always value for ContactUpdatePayload.topiccontact.delete- always value for ContactDeletePayload.topicaddress.create- always value for AddressCreatePayload.topicaddress.update- always value for AddressUpdatePayload.topicaddress.delete- always value for AddressDeletePayload.topic
websiteIdSquarespace website id that triggered the notification.
Identifiers and metadata for the deleted contact.
ContactUpdatePayload
createdOnCreation date and time in UTC (ISO 8601 format) of this message.
idUnique notification id.
subscriptionsIdUnique Webhook Subscriptions id.
topicDescription of the event that triggered the notification.
order.create- always value for OrderCreatePayload.topic reforder.update- always value for OrderUpdatePayload.topicextension.uninstall- always value for ExtensionUninstallPayload.topiccontact.create- always value for ContactCreatePayload.topiccontact.update- always value for ContactUpdatePayload.topiccontact.delete- always value for ContactDeletePayload.topicaddress.create- always value for AddressCreatePayload.topicaddress.update- always value for AddressUpdatePayload.topicaddress.delete- always value for AddressDeletePayload.topic
websiteIdSquarespace website id that triggered the notification.
A contact.
CreateAddressBookEntryRequest
Address properties for a contact.
defaultShippingWhether this entry should be the default shipping address. If this is the only address book entry for the contact after creation, it becomes the default even when set to false.
CreateContactRequest
firstNameContact's first name
lastNameContact's last name
localeContact's locale
Primary email supplied when creating a contact.
CreateDiscountLineRequest
CreateDiscountRequest
nameDisplay name for the discount.
validFromWhen the discount becomes active.
isLimitedUsesIf true, the discount can only be used maxUsesAllowed times site-wide.
isOncePerCustomerIf true, a given customer can only use this discount once.
maxUsesAllowedMaximum site-wide redemptions. Required when isLimitedUses=true; null otherwise.
Payment-plan applicability settings for this discount. When omitted from a create or update request, defaults to NONE.
Subscription applicability settings for this discount. When omitted from a create or update request, defaults to EXCLUDED.
validToWhen the discount expires. Null = no expiry.
CreateEmail
emailThe email address.
acceptsMarketingIf contact's email accepts marketing
CreateGiftCardProductRequest
descriptionisVisiblenamestorePageIdtagstypeurlSlugCreateInventoryAdjustmentRequest
Optional; array of objects. Subtracts stock quantity for InventoryItems.
Optional; array of objects. Increments stock quantity for InventoryItems.
Optional; array of objects. Sets the exact stock quantity for InventoryItems.
setUnlimitedOperationsOptional; array of InventoryItem ids. Marks stock quantity as "unlimited" for the given InventoryItems.
CreateLineItemRequest
lineItemTypeProduct type sold; values may be PHYSICAL_PRODUCT or CUSTOM.
quantityAmount of the item purchased. 1,000,000 limit.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
titleTitle of the custom line item.
variantIdRequired if lineItemType is PHYSICAL_PRODUCT. Unique id of the ProductVariant sold.
CreateOrderInventoryBehavior
Indicates whether to deduct stock quantity for the product variant upon Order creation. Values may be DEDUCT or SKIP. Defaults to SKIP.
CreateOrderRequest
channelNameName of third-party sales channel.
createdOnISO 8601 UTC date and time string. Represents the date and time when the order was placed through the third-party sales channel.
externalOrderReferenceOrder reference identifier used by the third-party sales channel.
Array of shipping fulfillments; up to 100 entries. Describes shipment information for the order.
A monetary amount with currency code and decimal value.
Array of purchased line items; cannot be empty.
priceTaxInterpretationIndicates that lineItems.unitPricePaid includes tax. Values may be EXCLUSIVE or INCLUSIVE.
Customer's shipping address.
customerEmailEmail address provided at checkout on the third-party sales channel.
Array of discount line items. Describes the promotions redeemed during checkout.
A monetary amount with currency code and decimal value.
fulfilledOnISO 8601 UTC date and time string. Represents the moment the order was fulfilled. Required if fulfillmentStatus is FULFILLED.
fulfillmentStatusCurrent fulfillment status of the order. Value may be PENDING or FULFILLED.
inventoryBehaviorIndicates whether to deduct stock quantity for the product variant upon Order creation. Values may be DEDUCT or SKIP. Defaults to SKIP.
Customer's shipping address.
Array of shipping line items. Describes the shipping options chosen at checkout. Currently accepts only one shipping entry.
A monetary amount with currency code and decimal value.
shopperFulfillmentNotificationBehaviorIndicates whether to send a fulfillment notification email to the customer. Value may be SEND or SKIP.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
CreateOrderShipmentRequest
carrierNameName of the carrier handling the shipment.
serviceCarrier's level of service for shipping.
shipDateISO 8601 UTC date and time string. Represents the moment the shipment occurred.
trackingNumberCarrier's parcel tracking number.
trackingUrlURL provided by carrier to track the shipment; must adhere to valid URL formatting.
CreatePhysicalProductRequest
descriptionisVisiblenamestorePageIdtagstypeurlSlugvariantAttributesCreatePhysicalProductVariantRequest
gtinGlobal Trade Item Number (GTIN). Optional. Must be 8, 12, 13, or 14 numeric digits. Whitespace, hyphens, and underscores are stripped before validation.
mpnManufacturer Part Number (MPN). Optional. Must be alphanumeric and 70 characters or fewer. Whitespace, hyphens, and underscores are stripped before validation.
Measurements of the variant when it's shipped. Present for PHYSICAL products only.
skuAvailable stock for the variant. Present for PHYSICAL products only.
CreateProductRequest
storePageIdIdentifier of the product's Store Page.
typeProduct type indicator. Value may be: PHYSICAL or DIGITAL.
List of variants of the product. Array must contain at least one object but no more than 100 objects.
descriptionLong-form product description represented in HTML.
isVisibleIndicates whether the product is available for purchase. If not specified, the new product is marked as Hidden.
nameProduct name.
Present for DIGITAL products only. Digital products don't have variants, so pricing is at the product level.
tagsKeywords for search and organization purposes.
urlSlugURL slug for the new product. Value can only consist of alphanumeric characters and non-contiguous hyphens.
variantAttributesList of attributes to distinguish variants of the product. Supported for PHYSICAL products only.
CreateProductVariantRequest
Present for DIGITAL products only. Digital products don't have variants, so pricing is at the product level.
skuMerchant-defined code that identifies the product variant. Value must be unique among variants. Leading and trailing whitespace is removed.
Specifies attribute-value pairs for the variant. 100 char limit per key and per value with no more than six key-value pairs. Supported for PHYSICAL products only.
Measurements of the variant when it's shipped. Present for PHYSICAL products only.
Available stock for the variant. Present for PHYSICAL products only.
CreateServiceProductRequest
descriptionisVisiblenamestorePageIdtagstypeurlSlugvariantAttributesCreateServiceProductVariantRequest
skuAvailable stock for the variant. Present for PHYSICAL products only.
CreateShippingLineRequest
A monetary amount with currency code and decimal value.
methodDescription of the shipping option.
CreateVariantRequestV2
Present for DIGITAL products only. Digital products don't have variants, so pricing is at the product level.
skuMerchant-defined code that identifies the product variant. Value must be unique among variants. Leading and trailing whitespace is removed.
Specifies attribute-value pairs for the variant. 100 char limit per key and per value with no more than six key-value pairs. Supported for PHYSICAL products only.
gtinGlobal Trade Item Number (GTIN). Optional. Must be 8, 12, 13, or 14 numeric digits. Whitespace, hyphens, and underscores are stripped before validation. Supported for PHYSICAL products only.
mpnManufacturer Part Number (MPN). Optional. Must be alphanumeric and 70 characters or fewer. Whitespace, hyphens, and underscores are stripped before validation. Supported for PHYSICAL products only.
Measurements of the variant when it's shipped. Present for PHYSICAL products only.
Available stock for the variant. Present for PHYSICAL products only.
DateFilter
afterFilter out any dates after
beforeFilter out any dates before
DigitalGood
filenameFilename of the downloadable file.
idUnique DigitalGood id.
DigitalProduct
createdOnidmodifiedOnstorePageIdtypedescriptionisVisiblenameOptions for search engine optimization.
tagsurlurlSlugPresent for DIGITAL products only.
Present for DIGITAL products only. Digital products don't have variants, so pricing is at the product level.
Discount
nameDisplay name for the discount.
validFromWhen the discount becomes active.
idDiscount id.
isLimitedUsesIf true, the discount can only be used maxUsesAllowed times site-wide.
isOncePerCustomerIf true, a given customer can only use this discount once.
lastRedeemedAtTimestamp of the most recent redemption. Null if never redeemed.
maxUsesAllowedMaximum site-wide redemptions. Required when isLimitedUses=true; null otherwise.
numberOfUsesNumber of times this discount has been redeemed.
Payment-plan applicability settings for this discount. When omitted from a create or update request, defaults to NONE.
statusDefines the lifecycle status of a discount.
Subscription applicability settings for this discount. When omitted from a create or update request, defaults to EXCLUDED.
validToWhen the discount expires. Null = no expiry.
websiteId24-char website id.
DiscountLine
A monetary amount with currency code and decimal value.
descriptionA plain-English description of the promotion
nameName of the promotion
promoCodeThe user-entered promo code that triggered the discount
DiscountResponse
Discount configured for a Commerce store.
Marketing subscription state for the contact's email.
createdOnThe date and time when the email was created.
emailThe email address.
ExtensionUninstallData
clientIdThird-party client id.
ExtensionUninstallPayload
createdOnCreation date and time in UTC (ISO 8601 format) of this message.
idUnique notification id.
subscriptionsIdUnique Webhook Subscriptions id.
topicDescription of the event that triggered the notification.
order.create- always value for OrderCreatePayload.topic reforder.update- always value for OrderUpdatePayload.topicextension.uninstall- always value for ExtensionUninstallPayload.topiccontact.create- always value for ContactCreatePayload.topiccontact.update- always value for ContactUpdatePayload.topiccontact.delete- always value for ContactDeletePayload.topicaddress.create- always value for AddressCreatePayload.topicaddress.update- always value for AddressUpdatePayload.topicaddress.delete- always value for AddressDeletePayload.topic
websiteIdSquarespace website id that triggered the notification.
The extension uninstall details.
ExternalCreateWebhookSubscriptionRequest
endpointUrlHTTPS URL to POST webhook notifications.
topicsList of event topics that trigger a webhook notification.
ExternalCreateWebhookSubscriptionResponse
clientIdThird-party client id.
createdOnISO 8601 UTC date and time string; represents when the webhook subscription was created.
endpointUrlHTTPS URL to POST webhook notifications.
idUnique Webhook Subscription id.
secretHexadecimal value used to generate a signature for a webhook notification; field is only returned when creating a new subscription or rotating a secret. Store the secret in a safe location to verify notifications from Squarespace. See the 'Verifying notifications' guide under Webhooks for details.
updatedOnISO 8601 UTC date and time string; represents when the webhook subscription was last modified.
websiteIdUnique Webhook Subscription id.
topicsList of event topics that trigger a webhook notification.
ExternalRotateSecretResponse
secretHexadecimal value used to generate a signature for a webhook notification; field is only returned when creating a new subscription or rotating a secret. Store the secret in a safe location to verify notifications from Squarespace.
ExternalSendTestNotificationRequest
topicRequired; Squarespace event topic that triggers a webhook notification. Possible values include: extension.uninstall, order.create, order.update.
ExternalTestNotificationResponse
statusCodeStatus code returned by the subscribed webhook endpoint.
ExternalTransactionProperty
keyvalueExternalUpdateWebhookSubscriptionRequest
Optional; HTTPS URL to receive webhook notifications.
Optional; list of event topics that trigger a webhook notification. Possible values include: extension.uninstall, order.create, order.update.
ExternalWebhookSubscriptionListResponse
Array of Webhook Subscription resources. If the merchant site doesn't have any webhook subscriptions, this array is empty.
ExternalWebhookSubscriptionResponse
clientIdThird-party client id.
createdOnISO 8601 UTC date and time string; represents when the webhook subscription was created.
endpointUrlHTTPS URL that receives webhook notifications.
idUnique Webhook Subscription id.
topicsList of event topics that trigger a webhook notification. Possible values include: extension.uninstall, order.create, order.update.
updatedOnISO 8601 UTC date and time string; represents when the webhook subscription was last modified.
websiteIdUnique website id.
FixedAmountTemplate
typeA monetary amount with currency code and decimal value.
FormItem
labelThe name of the form field
valueThe value of the field, as entered by the shopper
FreeShippingTemplate
typeappliesToFulfillmentOptionTypeFulfillment channel a free-shipping discount applies to.
A shipping option targeted by a free-shipping discount.
Fulfillment
carrierNameName of the carrier handling the shipment.
serviceCarrier's level of service for shipping.
shipDateISO 8601 UTC date and time string; represents the moment the fulfillment was shipped.
trackingNumberCarrier's parcel tracking number.
trackingUrlURL provided by the carrier to track the shipment.
FulfillmentOption
Available carrier services.
idFulfillment option id.
nameDisplay name for the option.
typeFulfillment channel for this option.
FulfillmentOptionsList
Fulfillment option IDs and carrier services for this website.
FulfillmentStatus
Current fulfillment status of the order. Value may be: PENDING, FULFILLED, or CANCELED.
FullProductPricing
A monetary amount with currency code and decimal value.
onSaleA monetary amount with currency code and decimal value.
GetAddressBookResponse
Address settings for a contact. When there is at least one address book entry, exactly one is the default shipping address; default shipping address is always returned on the first page of paginated results).
GiftCardProduct
createdOnidmodifiedOnstorePageIdtypedescriptionisVisiblenameOptions for search engine optimization.
tagsurlurlSlugIntegerFilter
maxFilter out any numbers greater
minFilter out any numbers lower
InventoryItem
descriptorGenerated description using the product's title and any available variant attributes including, but not limited to, color and size.
isUnlimitedIndicates whether stock is currently tracked for the item.
quantityCurrent amount in stock, or the last known stock amount prior to becoming unlimited. This value is modified by purchases and returns only when isUnlimited is false.
skuStock keeping unit (SKU) code assigned by the Squarespace merchant for the variant; used to identify an exact variant of a product using a naming scheme preferred by the merchant.
variantIdThe product variant id, which also serves as a unique id for the InventoryItem.
InventoryItemListResponse
Array of InventoryItem resources. If the merchant site doesn't have any physical or service products, this array is empty.
InventoryQuantityExpression
quantityQuantity value for the inventory operation.
variantIdUnique id for the InventoryItem.
LineItem
Array of form data submitted via a product's custom form prior to being added to the cart.
heightShipping height of the physical product variant. 0.0 when not specified or when the variant is not a physical product.
idUnique line item id.
imageUrlURL of the primary image for the item.
lengthShipping length of the physical product variant. 0.0 when not specified or when the variant is not a physical product.
lineItemTypeProduct type of the item.
productIdUnique product id; unless null, every line item with a variantId is a variant of a product with productId.
productNameName of the purchased product.
quantityAmount of the item purchased.
skuStock keeping unit (SKU) code assigned by the Squarespace merchant for a variant. Null for digital products.
A monetary amount with currency code and decimal value.
variantIdUnique id of the ProductVariant sold. Populated for physical, service, or gift card line items created on or after May 28, 2019.
Array of variant options; represents variant choices made by the customer. Null for download and gift card products.
weightShipping weight of the physical product variant. 0.0 when not specified or when the variant is not a physical product.
widthShipping width of the physical product variant. 0.0 when not specified or when the variant is not a physical product.
MemberProfile
emailProfile email address.
firstNameProfile first name.
idUnique Profile id.
lastNameProfile last name.
MonetaryAmount
ISO 4217 currency code.
valueDecimal monetary value.
Order
Customer's shipping address provided at checkout or, for recurring subscription orders, the customer's current mailing address.
channelWhere the order originated; possible values are: web and pos.
channelNameName of the third-party sales channel.
createdOnISO 8601 UTC date and time string; represents the moment when the order was placed.
customerEmailEmail address entered at checkout or, for recurring subscription orders, the customer's current email address.
customerIdUnique customer id.
Array of discount line items; describes the promotions redeemed during checkout.
A monetary amount with currency code and decimal value.
externalOrderReferenceOrder reference identifier used by the third-party sales channel.
Array of form data submitted via the checkout page.
fulfilledOnISO 8601 UTC date and time string; represents the moment the order was fulfilled.
fulfillmentStatusCurrent fulfillment status of the order. Value may be: PENDING, FULFILLED, or CANCELED.
Array of shipping fulfillments; describes shipment information for the order.
A monetary amount with currency code and decimal value.
idUnique Order id.
Array of internal notes added to the order by the merchant.
Array of purchased line items; line items describe what product or product variant was purchased, how many of that item were purchased, and additional details.
modifiedOnISO 8601 UTC date and time string; represents when the order was last modified.
orderNumberUnique, sequential number for the Order.
paymentStateCurrent state of payment for the order.
priceTaxInterpretationIndicates whether lineItems.unitPricePaid includes tax. Values may be EXCLUSIVE or INCLUSIVE.
A monetary amount with currency code and decimal value.
Customer's shipping address provided at checkout or, for recurring subscription orders, the customer's current mailing address.
Array of shipping line items; describes the shipping options chosen at checkout.
shippingOptionNamethe specific shipping service name selected at checkout (e.g. "USPS Ground Advantage", "Royal Mail Tracked 48").
shippingOptionServiceTypeThe carrier service type identifier.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
testmodeIf true, the order is a test order created using a payment method in test mode.
OrderCreateData
orderIdUnique order id.
OrderCreateFulfillmentStatus
Current fulfillment status of the order. Value may be PENDING or FULFILLED.
OrderCreateLineItemType
Product type sold; values may be PHYSICAL_PRODUCT or CUSTOM.
OrderCreatePayload
createdOnCreation date and time in UTC (ISO 8601 format) of this message.
idUnique notification id.
subscriptionsIdUnique Webhook Subscriptions id.
topicDescription of the event that triggered the notification.
order.create- always value for OrderCreatePayload.topic reforder.update- always value for OrderUpdatePayload.topicextension.uninstall- always value for ExtensionUninstallPayload.topiccontact.create- always value for ContactCreatePayload.topiccontact.update- always value for ContactUpdatePayload.topiccontact.delete- always value for ContactDeletePayload.topicaddress.create- always value for AddressCreatePayload.topicaddress.update- always value for AddressUpdatePayload.topicaddress.delete- always value for AddressDeletePayload.topic
websiteIdSquarespace website id that triggered the notification.
The created order details.
OrderFulfillmentRequest
Array of shipment data.
shouldSendNotificationIndicates whether the customer should receive an email notification about the added shipments.
OrderNote
contentContent for the note
OrderUpdateData
orderIdUnique order id.
updateThe type of update on the order.
OrderUpdatePayload
createdOnCreation date and time in UTC (ISO 8601 format) of this message.
idUnique notification id.
subscriptionsIdUnique Webhook Subscriptions id.
topicDescription of the event that triggered the notification.
order.create- always value for OrderCreatePayload.topic reforder.update- always value for OrderUpdatePayload.topicextension.uninstall- always value for ExtensionUninstallPayload.topiccontact.create- always value for ContactCreatePayload.topiccontact.update- always value for ContactUpdatePayload.topiccontact.delete- always value for ContactDeletePayload.topicaddress.create- always value for AddressCreatePayload.topicaddress.update- always value for AddressUpdatePayload.topicaddress.delete- always value for AddressDeletePayload.topic
websiteIdSquarespace website id that triggered the notification.
The updated order details.
PaginatedDiscountListResponse
Discounts for this page.
hasNextPageTrue when more results exist after the current window.
hasPreviousPageTrue when a page of results exists before the current window.
PaginatedInventoryItemListResponse
Array of InventoryItem resources. If the merchant site doesn't have any physical or service product variants, this array is empty.
PaginatedTransactionListResponse
Array of Document resources. If the merchant site doesn't have any payment transactions for orders or donations, this array is empty.
PatchContactRequest
firstNameThe contact's first name.
lastNameThe contact's last name.
localeThe contact's locale.
Primary email fields for an update request.
PatchEmail
acceptsMarketingIf contact's email accepts marketing
emailThe email address.
PaymentGatewayError
Captures errors from the payment gateway; value is null if not applicable.
PaymentPlanOptions
typeDefines how the discount applies to payment-plan payments.
PaymentState
Current state of payment for the order.
PercentageTemplate
typepercentagePercentage to subtract from the cart total. Range (0, 100].
PhysicalProduct
createdOnidmodifiedOnstorePageIdtypedescriptionisVisiblenameOptions for search engine optimization.
tagsurlurlSlugvariantAttributesPhysicalProductVariant
gtinidProduct image assigned to the variant.
mpnMeasurements of the variant when it's shipped. Present for PHYSICAL products only.
skuAvailable stock for the variant. Present for PHYSICAL products only.
Product
createdOnISO 8601 UTC date and time string; represents when the Product was created.
descriptionLong-form product description represented in HTML.
Present for DIGITAL products only.
idUnique Product id.
List of product images.
isVisibleIndicates whether the product is available for purchase.
modifiedOnISO 8601 UTC date and time string; represents when the Product was last modified.
nameProduct name.
Present for DIGITAL products only. Digital products don't have variants, so pricing is at the product level.
Options for search engine optimization.
storePageIdIdentifier of the product's Store Page.
tagsKeywords for search and organization purposes.
typeProduct type indicator. Value may be: PHYSICAL or DIGITAL.
urlAbsolute URL of the product details page.
urlSlugURL slug for the new product.
variantAttributesList of attributes to distinguish variants of the product. Present for PHYSICAL products only.
List of variants of the product. Present for PHYSICAL and GIFT_CARD products only.
ProductCriteria
typeproductIdIdentifier of the product the discount targets.
productNameDisplay-time snapshot of the product name at the time the discount was created.
ProductDimensions
heightHeight of the variant.
lengthLength of the variant.
unitUnit of measurement. Supported values: INCH, CENTIMETER.
widthWidth of the variant.
ProductDimensionsUnit
Unit of measurement. Supported values: INCH, CENTIMETER.
ProductImage
altTextAlt text for the image; impacts SEO and appears in search results.
availableFormatsAvailable image sizes. Use with images.url and a format query parameter to retrieve the image at a particular width.
idUnique ProductImage id.
orderIndexPosition of the image in the product's image list.
originalSizeImage size when first uploaded.
urlAbsolute URL of the image hosted on Squarespace.
ProductImageProcessingStatus
idstatusProductMeasurements
Physical dimensions of the variant.
Weight of the variant.
ProductPricing
A monetary amount with currency code and decimal value.
onSaleIndicates whether the variant is sold according to its sale price. Present for PHYSICAL products only.
A monetary amount with currency code and decimal value.
ProductStock
quantityNumber of units that can be purchased.
unlimitedIndicates whether the variant has unlimited stock.
ProductType
Product type indicator. Value may be: PHYSICAL or DIGITAL.
ProductV2
createdOnidmodifiedOnstorePageIdtypedescriptionisVisiblenameOptions for search engine optimization.
tagsurlurlSlugProductVariant
attributesSpecifies attribute-value pairs for the variant. Present for PHYSICAL products only.
idUnique ProductVariant id.
Product image assigned to the variant.
Present for DIGITAL products only. Digital products don't have variants, so pricing is at the product level.
Measurements of the variant when it's shipped. Present for PHYSICAL products only.
skuMerchant-defined code that identifies the product variant.
Available stock for the variant. Present for PHYSICAL products only.
ProductVariantV2
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
gtinidProduct image assigned to the variant.
mpnMeasurements of the variant when it's shipped. Present for PHYSICAL products only.
skuAvailable stock for the variant. Present for PHYSICAL products only.
ProductWeight
unitUnit of measurement. Supported values: KILOGRAM, POUND.
valueWeight amount.
ProductWeightUnit
Unit of measurement. Supported values: KILOGRAM, POUND.
Profile
acceptsMarketingIndicates whether the profile opted to receive marketing.
Customer's shipping address provided at checkout or, for recurring subscription orders, the customer's current mailing address.
createdOnISO 8601 UTC date and time string; represents when the profile was created.
emailProfile email address.
firstNameProfile first name.
hasAccountIndicates whether the profile has an account with the website.
idUnique Profile id.
isCustomerIndicates whether the profile has any commerce orders or donations with the website.
lastNameProfile last name.
Summary of profile's commerce transactions. If a profile has no commerce transactions, the object is still returned with null or 0 values. This information is calculated asynchronously; there may be a slight delay between when an order is created, and when it's reflected in the object.
PromoCodeTrigger
typepromoCode^[A-Za-z0-9_\-]{1,50… · requiredShopper-entered promo code. Required, non-empty, 1–50 characters; allowed characters: letters, digits, underscore, hyphen.
QueryContactsRequest
Contact's marketing settings with joined on date
cursorThe cursor for the next page of results. Use the value of pagination.nextPageCursor from the previous response.
Object for filtering by a min and max integer
Object for filtering by a min and max integer
Object for filtering by before and after dates
Object for filtering by before and after dates
Object for filtering by before and after dates
Object for filtering by before and after dates
Object for filtering by a min and max integer
Object for filtering by a min and max integer
pageSizeThe number of contacts to return per request.
searchStringSearch string for Name and Email address
sortDirectionDirection to sort results, ASCENDING or DESCENDING
sortFieldField to sort results by
RetrieveTransactionsSummariesRequest
contactIdsgroupByField to group results by, should be a contactId
SelectedShippingOption
shippingOptionIdIdentifier of the shipping option.
shippingOptionNameDisplay-time snapshot of the shipping option name.
isAllServicesSelectedIf true, all services within the shipping option are eligible.
selectedServiceCarrier service eligible for a free-shipping discount.
ServiceProduct
createdOnidmodifiedOnstorePageIdtypedescriptionisVisiblenameOptions for search engine optimization.
tagsurlurlSlugvariantAttributesServiceProductVariant
idProduct image assigned to the variant.
skuAvailable stock for the variant. Present for PHYSICAL products only.
ShippingLine
A monetary amount with currency code and decimal value.
methodDescription of the shipping option
ShopperFulfillmentNotificationBehavior
Indicates whether to send a fulfillment notification email to the customer. Value may be SEND or SKIP.
StandardErrorPayload
contextIddetailsmessagesubtypetypeSubscriptionOptions
typeDefines how the discount applies to subscription payments.
TaxInterpretation
Indicates that lineItems.unitPricePaid includes tax. Values may be EXCLUSIVE or INCLUSIVE.
TransactionDiscount
A monetary amount with currency code and decimal value.
descriptionDiscount description.
nameDiscount name.
TransactionDocument
createdOnISO 8601 UTC date and time string; represents when the Document was created.
customerEmailCustomer or donor email address. May be null for point of sale orders because email wasn't collected.
Array of discounts for an order payment transaction; empty for donations.
idUnique Document id.
modifiedOnISO 8601 UTC date and time string; represents when the Document was last modified.
paymentGatewayErrorCaptures errors from the payment gateway; value is null if not applicable.
Array of payment transactions for the order or donation.
Array of sales items for an order payment transaction; empty for donations.
salesOrderIdUnique order id; not applicable if payment transaction is a donation.
Array of shipping line items.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
voidedFlag; indicates order cancellation.
TransactionPayment
A monetary amount with currency code and decimal value.
creditCardTypePayment credit card type; possible values: VISA, MASTERCARD, DISCOVER, AMEX, JCB, and OTHER. null if credit card processing isn't available for the payment gateway.
externalCustomerIdUnique customer id for the payment transaction provided by the payment gateway. Value is null if not available.
externalTransactionIdUnique id for the payment transaction provided by the payment gateway.
Array of properties for the payment transaction provided by the payment gateway. Properties are listed in key/value pairs.
giftCardIdUnique id for a Squarespace gift card. Value is null if a gift card was not used.
idUnique payment id.
A monetary amount with currency code and decimal value.
paidOnISO 8601 UTC date and time string; represents when the payment was made.
Array of processing fees associated with the payment.
providerPayment gateway used for processing.
A monetary amount with currency code and decimal value.
Array of refunds for the payment transaction.
TransactionProcessingFee
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
exchangeRateForeign exchange rate between the payment gateway's and payment's currencies; determined when the payment is processed.
Array of processing fee refunds for the payment.
idUnique processing fee id.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
TransactionProcessingFeeRefund
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
exchangeRateForeign exchange rate between the payment gateway's and payment's currencies; determined when the payment is processed.
externalTransactionIdUnique id for the processing fee refund transaction provided by the payment gateway.
idUnique processing fee refund id.
refundedOnISO 8601 UTC date and time string; represents when the processing fee refund was issued.
TransactionRefund
A monetary amount with currency code and decimal value.
externalTransactionIdUnique id for the refund transaction provided by the payment gateway.
idUnique refund id.
refundedOnISO 8601 UTC date and time string; represents refund issue date.
TransactionSalesLineItem
A monetary amount with currency code and decimal value.
idUnique id for the sales item.
Array of taxes for the sale item.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
TransactionShippingLineItem
A monetary amount with currency code and decimal value.
descriptionDescription of the shipping line item as defined by the Squarespace merchant.
A monetary amount with currency code and decimal value.
idUnique id for the shipping line item.
A monetary amount with currency code and decimal value.
Array of taxes for the shipping line item.
TransactionTax
A monetary amount with currency code and decimal value.
jurisdictionTax jurisdiction in COUNTRY:{value},STATE:{value},LOCAL:{value} format. Examples: COUNTRY:US, COUNTRY:US,STATE:NY, and COUNTRY:US,STATE:NY,LOCAL:10001.
nameTax classification as defined by the Squarespace merchant.
rateTax rate as a percent. For example, a value of 7.00 is a 7% tax.
TransactionsSummary
donationCountCount of donations submitted.
firstDonationSubmittedOnISO 8601 UTC date and time string; represents when the profile's first donation was submitted.
firstOrderSubmittedOnISO 8601 UTC date and time string; represents when the profile's first order was submitted.
lastDonationSubmittedOnISO 8601 UTC date and time string; represents when the profile's latest donation was submitted.
lastOrderSubmittedOnISO 8601 UTC date and time string; represents when the profile's latest order was submitted.
orderCountCount of orders submitted.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
A monetary amount with currency code and decimal value.
TransactionsSummaryWrapper
contactIdUnique contact identifier
Summary of profile's commerce transactions. If a profile has no commerce transactions, the object is still returned with null or 0 values. This information is calculated asynchronously; there may be a slight delay between when an order is created, and when it's reflected in the object.
UpdateAddressBookEntryRequest
Address properties for a contact.
defaultShippingWhether this entry should be the default shipping address. When updating the entry that is currently the default, changing this value from true to false has no effect.
UpdateProductRequest
Optional; HTTPS URL to receive webhook notifications.
Optional; HTTPS URL to receive webhook notifications.
Pricing data for the product.
Optional; list of event topics that trigger a webhook notification. Possible values include: extension.uninstall, order.create, order.update.
Options for search engine optimization.
Optional; list of event topics that trigger a webhook notification. Possible values include: extension.uninstall, order.create, order.update.
Optional; HTTPS URL to receive webhook notifications.
UpdateProductVariantRequest
Specifies attribute-value pairs for the variant. Supported for PHYSICAL products only.
Pricing data for the product.
Measurements of the variant when it's shipped. Supported for PHYSICAL products only.
Optional; HTTPS URL to receive webhook notifications.
UpdateVariantRequestV2
Specifies attribute-value pairs for the variant. Supported for PHYSICAL products only.
Optional; HTTPS URL to receive webhook notifications.
Optional; HTTPS URL to receive webhook notifications.
Pricing data for the product.
Measurements of the variant when it's shipped. Supported for PHYSICAL products only.
Optional; HTTPS URL to receive webhook notifications.
VariantOption
optionNameThe name of the option (e.g. color, size, material)
valueThe shopper-selected value for the option (e.g. red, small, cotton)
WebsiteProfile
currencyidlanguagemeasurementStandardsiteIdtimeZonetitleurl