# Get all Fulfillment center

<mark style="color:blue;">`GET`</mark> `https://{{workspace}}.myeshopbox.com/api/v1/warehouse`

#### Query Parameters

| Name      | Type    | Description                                    |
| --------- | ------- | ---------------------------------------------- |
| per\_page | integer | The number of items to be return per page      |
| page      | integer | The number of pages used to offset the results |

#### Headers

| Name           | Type   | Description                                |
| -------------- | ------ | ------------------------------------------ |
| Authentication | string | The Bearer token is required to access API |

{% tabs %}
{% tab title="200 List of fulfillment center is successfully retrieved" %}

```
{
    "data": [
        {
            "country": "India",
            "city": "Bangalore",
            "latitude": null,
            "gstin": "06ABCD1234E1Z1",
            "warehouseName": "Kapas Kraft Apparels Limited 1006",
            "createdAt": "2019-05-01T13:49:17.000Z",
            "operatingModel": "Billing",
            "acknowledgementCertificateUrl": http://certificatestorage.com/ack.jpg,
            "addressLine1": "Khasra no 5 16 2 17",
            "addressLine2": "Gundavali, Bhiwandi",
            "externalWmsAccountId": 1,
            "state": "Karnataka",
            "externalWarehouseId": "2022",
            "longitude": null,
            "updatedAt": "2019-09-19T23:03:36.000Z",
            "area": "123456",
            "pincode": "80",
            "facilityId": 3,
            "operatingDays": "monday,tuesday,wednesday,thursday",
            "primaryPhone": "7546390123",
            "accountId": 5,
            "isDefault": "1",
            "warehouseId": 9,
            "operatingHours": "08:30:00-20:00:00",
            "enrollmentStatus": "ENROLLED",
            "location": "Bangalore",
            "subscriptionId": 40,
            "facility": "GGN",
            "status": "1",
            "requestDocuments": {
                "gstCertificateUrl": "http://certificatestorage.com/gstCertificate.jpg",
                "companyLogoName": "http://logostorage.com/name",
                "companyLogoUrl": "http://logostorage.com/logo.jpg",
                "signatureUrl": "http://signaturestorage.com/sign.jpg",
                "signatureFileName": "http://signaturestorage.com/name",
                "gstCertificateFileName": "http://certificatestorage.com/name"
            }
        }
    ],
    "page": "1",
    "total": 1,
    "perPage": "500"
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="cURL" %}

```bash
l -X GET https://{{workspace}}.myeshopbox.com/api/v1/warehouse\    
 -H "Authorization: Bearer XXXX"
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eshop.gitbook.io/eshopbox-developers/setting/subscription/get-all-fulfillment-center.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
