Authorizations
API key for your store
Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/pos/locations \
--header 'X-Api-Key: <api-key>'
{
"message": "<string>",
"success": true,
"content": {
"locations": [
{
"id": "<string>",
"name": "<string>",
"warehouse_type": "retail-store",
"active": true,
"gstin": "<string>",
"city": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"landmark": "<string>",
"pincode": "<string>",
"state": "<string>",
"country": "<string>",
"country_code": "+91",
"contact_phone": 123,
"contact_email": "<string>",
"is_default": true,
"image_url": "<string>",
"seller_warehouse_id": "<string>",
"can_receive_stock": true,
"can_ship_parcel": true,
"can_collect": true,
"is_checkout_point": true,
"accepts_returns": true,
"opening_hours": "<string>"
}
]
}
}
List all locations.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/pos/locations \
--header 'X-Api-Key: <api-key>'
{
"message": "<string>",
"success": true,
"content": {
"locations": [
{
"id": "<string>",
"name": "<string>",
"warehouse_type": "retail-store",
"active": true,
"gstin": "<string>",
"city": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"landmark": "<string>",
"pincode": "<string>",
"state": "<string>",
"country": "<string>",
"country_code": "+91",
"contact_phone": 123,
"contact_email": "<string>",
"is_default": true,
"image_url": "<string>",
"seller_warehouse_id": "<string>",
"can_receive_stock": true,
"can_ship_parcel": true,
"can_collect": true,
"is_checkout_point": true,
"accepts_returns": true,
"opening_hours": "<string>"
}
]
}
}
API key for your store
Was this page helpful?