Skip to main content
GET
/
pos
/
locations
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>"
      }
    ]
  }
}

Authorizations

X-Api-Key
string
header
required

API key for your store

Response

OK

message
string
required
success
boolean
required
content
object
required
⌘I