Skip to content

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

Propertypassword
NameFTP Password
Data typestring
Required?Yes

server

Propertyserver
NameServer ID
Data typestring
Required?Yes

site_id

Propertysite_id
NameSiteGenesis ID
Data typestring
Required?Yes

username

Propertyusername
NameFTP Username
Data typestring
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.