Store adapter — UltraCart¶
The adapter object contains properties for connecting to the UltraCart API.
Parent object: a store with property "platform" : "ultra_cart"
Required properties¶
The following adapter properties are required for UltraCart stores.
distribution_center_code¶
| Property | distribution_center_code |
|---|---|
| Name | Distribution Center Code |
| Data type | string |
| Required? | Yes |
key¶
| Property | key |
|---|---|
| Name | UltraCart API Key |
| Data type | string |
| Required? | Yes |
merchant_id¶
| Property | merchant_id |
|---|---|
| Name | UltraCart Merchant ID |
| Data type | string |
| Required? | Yes |
Example¶
Example: create a new UltraCart 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 UltraCart Store",
"platform": "ultra_cart",
"adapter": {
"key": "abc123",
"merchant_id": "abc123"
"distribution_center_code": "abc123"
}
}
EOF
For details about this request type, see: Create a new store.
