Skip to content

Store adapter — Squarespace

The adapter object contains properties for connecting to the Squarespace API.

Parent object: a store with property "platform" : "squarespace"

Required properties

The following adapter properties are required for Squarespace stores.

access_token

Propertyaccess_token
NameSquarespace API Access Token
Data typestring
Required?Yes

Optional properties

The following adapter properties are optional for Squarespace stores.

order_import_status

Propertyorder_import_status
NameOrder Import Status
DescriptionOne or more import statuses, separated by a comma
Data typestring
Accepted values
  • "PENDING"
  • "FULFILLED"
  • "CANCELED"
Example"PENDING,FULFILLED"

Example

Example: create a new Squarespace store
curl -X POST \
    -H "Authorization: Bearer $JWT_TOKEN" \
    -H "Content-Type: application/json" \
    https://api.getdropstream.com/stores \
    -d @- <<EOF
{ "customer_id": "3775",
  "name": "Your Squarespace Store",
  "platform": "squarespace",
  "adapter": {
    "access_token": "abc123",
    "order_import_status": "PENDING,FULFILLED"
  }
}
EOF

For details about this request type, see: Create a new store.