Store adapter — Groupon Goods¶
The adapter object contains properties for connecting to the Groupon Goods API.
Parent object: a store with property "platform" : "groupon_goods"
Required properties¶
The following adapter properties are required for Groupon Goods stores.
supplier_id¶
| Property | supplier_id |
|---|---|
| Name | Supplier ID |
| Data type | string |
| Required? | Yes |
token¶
| Property | token |
|---|---|
| Name | Groupon API Token |
| Data type | string |
| Required? | Yes |
Example¶
Example: create a new Groupon Goods 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 Groupon Goods Store",
"platform": "groupon_goods",
"adapter": {
"supplier_id": "abc123",
"token": "abc123"
}
}
EOF
For details about this request type, see: Create a new store.
