Skip to content

Store adapter — OpenCart

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

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

Required properties

The following adapter properties are required for OpenCart stores.

api_key

Propertyapi_key
NameOpenCart API Key
Data typestring
Required?Yes

url

Propertyurl
NameOpenCart Store URL
Data typestring
RequirementsMust be a valid URL
Example"http://www.example.com"
Required?Yes

Example

Example: create a new OpenCart 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 OpenCart Store",
  "platform": "opencart",
  "adapter": {
    "url": "https://www.example.com",
    "api_key": "abc123"
  }
}
EOF

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