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¶
| Property | access_token |
|---|---|
| Name | Squarespace API Access Token |
| Data type | string |
| Required? | Yes |
Optional properties¶
The following adapter properties are optional for Squarespace stores.
order_import_status¶
| Property | order_import_status |
|---|---|
| Name | Order Import Status |
| Description | One or more import statuses, separated by a comma |
| Data type | string |
| Accepted values |
|
| 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.
