Store adapter — Solid Commerce¶
The adapter
object contains properties for connecting to the Solid Commerce API.
Parent object: a store with property "platform" : "solid_commerce"
Required properties¶
The following adapter
properties are required for Solid Commerce stores.
app_key
¶
Property | app_key |
---|---|
Name | Application Key |
Data type | string |
Required? | Yes |
security_key
¶
Property | security_key |
---|---|
Name | Security Key |
Data type | string |
Required? | Yes |
Optional properties¶
The following adapter
properties are optional for Solid Commerce stores.
warehouse_name
¶
Property | warehouse_name |
---|---|
Name | Warehouse Name |
Data type | string |
Example¶
Example: create a new Solid Commerce 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 Solid Commerce Store",
"platform": "solid_commerce",
"adapter": {
"app_key": "abc123",
"security_key": "abc123",
"warehouse_name": "abc123"
}
}
EOF
For details about this request type, see: Create a new store.