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