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
¶
Property | access_token |
---|---|
Name | Zentail API Access Token |
Data type | string |
Required? | Yes |
warehouse_id
¶
Property | warehouse_id |
---|---|
Name | Zentail Warehouse ID |
Data type | integer |
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.