Store adapter — ChannelAdvisor¶
The adapter
object contains properties for connecting to the ChannelAdvisor API.
Parent object: a store with property "platform" : "channel_advisor"
Required properties¶
The following adapter
properties are required for ChannelAdvisor stores.
access_token
¶
Property | access_token |
---|---|
Name | ChannelAdvisor API Token |
Data type | string |
Required? | Yes |
developer_key
¶
Property | developer_key |
---|---|
Name | ChannelAdvisor Developer Key |
Description | Developer key for the DropStream ChannelAdvisor app |
Data type | string |
Required? | Yes |
password
¶
Property | password |
---|---|
Name | ChannelAdvisor Password |
Data type | string |
Required? | Yes |
Optional properties¶
The following adapter
properties are optional for ChannelAdvisor stores.
distribution_center_id
¶
Property | distribution_center_id |
---|---|
Name | Distribution Center ID(s) |
Description | One or more Distribution Center IDs, separated by a comma, used for filtering orders in inventory updates |
Data type | string |
Example | "id1,id2" |
Example¶
Example: create a new ChannelAdvisor 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 ChannelAdvisor Store",
"platform": "channel_advisor",
"adapter": {
"access_token": "abc123",
"developer_key": "abc123",
"password": "abc123",
"distribution_center_id": "id1,id2"
}
}
EOF
For details about this request type, see: Create a new store.