Skip to content

Store adapter — FoxyCart

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

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

Required properties

The following adapter properties are required for FoxyCart stores.

api_token

Propertyapi_token
NameFoxyCart API Token
Data typestring
Required?Yes

url

Propertyurl
NameFoxyCart Shop URL
Data typestring
RequirementsMust be a valid URL
Example"http://example.com"
Required?Yes

Example

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

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