Stores API
List Stores
Section titled “List Stores”GET /v1/storesGet Store
Section titled “Get Store”GET /v1/stores/{id}Create Store
Section titled “Create Store”POST /v1/stores{ "name": "Downtown Flagship", "address": { "street": "123 Main St", "city": "San Francisco", "state": "CA", "zip": "94102", "country": "US" }, "coordinates": { "lat": 37.7749, "lng": -122.4194 }, "metadata": { "type": "flagship", "hours": "9am-9pm" }}| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Store name |
address | object | Yes | Physical address |
coordinates | object | No | Lat/lng for geolocation |
metadata | object | No | Custom store data |
Update Store
Section titled “Update Store”PATCH /v1/stores/{id}Delete Store
Section titled “Delete Store”DELETE /v1/stores/{id}