Skip to content

Store adapter — 3dcart

The adapter object contains properties for connecting to the 3dcart API.

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

Required properties

The following adapter properties are required for 3dcart stores.

private_key

Propertyprivate_key
Name3dcart Private Key
Data typestring
Required?Yes

secure_url

Propertysecure_url
Name3dcart Secure URL
Data typestring
RequirementsMust be a valid site address beginning with https://
Example"https://example.com"
Required?Yes

Example

Example: create a new 3dcart 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 3dcart Store",
  "platform": "g3dcart_rest",
  "adapter": {
    "secure_url": "https://example.com",
    "private_key": "abc123"
  }
}
EOF

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