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