Store adapter — Linnworks¶
The adapter
object contains properties for connecting to the Linnworks API.
Parent object: a store with property "platform" : "linnworks"
Required properties¶
The following adapter
properties are required for Linnworks stores.
token
¶
Property | token |
---|---|
Name | Linnworks API Token |
Data type | string |
Required? | Yes |
Optional properties¶
The following adapter
properties are optional for Linnworks stores.
fulfillment_center_id
¶
Property | fulfillment_center_id |
---|---|
Name | Fulfillment Center ID |
Data type | string |
Example¶
Example: create a new Linnworks 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 Linnworks Store",
"platform": "linnworks",
"adapter": {
"token": "abc123",
"fulfillment_center_id": "abc123"
}
}
EOF
For details about this request type, see: Create a new store.