GET
/
warehouses
curl --request GET \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/warehouses \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "warehouses": [
      {
        "id": "<string>",
        "name": "<string>",
        "gstin": "<string>",
        "city": "<string>",
        "address_line1": "<string>",
        "address_line2": "<string>",
        "larndmark": "<string>",
        "pincode": "<string>",
        "state": "<string>",
        "contact_phone": "<string>",
        "contact_email": "<string>",
        "is_default": false
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
OK
message
string
success
boolean
content
object