Skip to content

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

Propertyapp_key
NameApplication Key
Data typestring
Required?Yes

security_key

Propertysecurity_key
NameSecurity Key
Data typestring
Required?Yes

Optional properties

The following adapter properties are optional for Solid Commerce stores.

warehouse_name

Propertywarehouse_name
NameWarehouse Name
Data typestring

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.