Skip to content

Store adapter — TrueCommerce

The adapter object contains properties for connecting to the TrueCommerce API.

Parent object: a store with property "platform" : "true_commerce"

Required properties

The following adapter properties are required for TrueCommerce stores.

connection_string

Propertyconnection_string
NameFTP Connection String
Data typestring
Example"ftp://user:pass@host:port"
Required?Yes

Optional properties

The following adapter properties are optional for TrueCommerce stores.

receiver_id

Propertyreceiver_id
NameReceiver ID
Data typestring

Example

Example: create a new TrueCommerce 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 TrueCommerce Store",
  "platform": "true_commerce",
  "adapter": {
    "connection_string": "ftp://user@pass@host:21",
    "receiver_id": "abc123"
  }
}
EOF

For details about this request type, see: Create a new store.