Store adapter — Overstock¶
The adapter object contains properties for connecting to the Overstock API.
Parent object: a store with property "platform" : "overstock"
Required properties¶
The following adapter properties are required for Overstock stores.
password¶
| Property | password |
|---|---|
| Name | Overstock API Password |
| Data type | string |
| Required? | Yes |
username¶
| Property | username |
|---|---|
| Name | Overstock API Username |
| Data type | string |
| Required? | Yes |
warehouse_code¶
| Property | warehouse_code |
|---|---|
| Name | Warehouse Code |
| Data type | string |
| Required? | Yes |
Example¶
Example: create a new Overstock 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 Overstock Store",
"platform": "overstock",
"adapter": {
"username": "abc123",
"password": "abc123",
"warehouse_code": "abc123"
}
}
EOF
For details about this request type, see: Create a new store.
