Skip to content

Store adapter — BrightStores

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

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

Required properties

The following adapter properties are required for BrightStores stores.

api_token

Propertyapi_token
NameBrightStores API Token
Data typestring
Required?Yes

subdomain

Propertysubdomain
NameBrightStores Subdomain
Data typestring
ExampleIf the site domain is "https://mysite.mybrightsites.com", the subdomain is "mysite"
Required?Yes

Optional properties

The following adapter properties are optional for BrightStores stores.

order_import_status

Propertyorder_import_status
NameOrder Import Status
Data typestring
Default"paid"

Example

Example: create a new BrightStores 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 BrightStores Store",
  "platform": "brightsites",
  "adapter": {
    "subdomain": "abc123",
    "api_token": "abc123",
    "order_import_status": "paid"
  }
}
EOF

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