Store adapter — Skubana¶
The adapter
object contains properties for connecting to the Skubana API.
Parent object: a store with property "platform" : "skubana"
Required properties¶
The following adapter
properties are required for Skubana stores.
access_token
¶
Property | access_token |
---|---|
Name | Skubana API Access Token |
Data type | string |
Required? | Yes |
Optional properties¶
The following adapter
properties are optional for Skubana stores.
auto_create_missing_inventory
¶
Property | auto_create_missing_inventory |
---|---|
Name | Auto Create Missing Inventory |
Data type | boolean |
Default | false |
warehouse_ids
¶
Property | warehouse_ids |
---|---|
Name | Warehouse IDs |
Data type | array of strings |
More info | Each string is in the form:"warehouse_id warehouse_type" Where warehouse_type is one of:
|
Example | [ "1234 THIRD_PARTY_LOGISTICS", "2345 DROPSHIP_VENDOR" ] |
Example¶
Example: create a new Skubana 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 Skubana Store",
"platform": "skubana",
"adapter": {
"access_token": "abc123",
"warehouse_ids": [
"1234 THIRD_PARTY_LOGISTICS",
"2345 DROPSHIP_VENDOR",
"3456 DIRECT_FULFILLMENT"
],
"auto_create_missing_inventory": false
}
}
EOF
For details about this request type, see: Create a new store.