Skip to content

Store adapter — Zentail

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

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

Required properties

The following adapter properties are required for Zentail stores.

access_token

Propertyaccess_token
NameZentail API Access Token
Data typestring
Required?Yes

warehouse_id

Propertywarehouse_id
NameZentail Warehouse ID
Data typeinteger
Required?Yes

Example

Example: create a new Zentail 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 Zentail Store",
  "platform": "zentail",
  "adapter": {
    "access_token": "abc123",
    "warehouse_id": "12345"
  }
}
EOF

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