# Get a Fc Subscription

## Get subscription by Id

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

This endpoint allows getting a subscription record  by a  particular id

#### Headers

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

{% tabs %}
{% tab title="200 Fulfillment center records is successfully retrieved" %}

```
{
    "warehouseId": "9",
    "warehouseName": "Kapas Kraft Apparels Limited 1006",
    "facilityId": "3",
    "facility": "GGN",
    "externalWarehouseId": "2022",
    "externalWmsAccountId": "1",
    "subscriptionId": "1",
    "addressLine1": "Khasra no 5 16 2 17",
    "addressLine2": "Gundavali, Bhiwandi",
    "city": "Bangalore",
    "state": "Karnataka",
    "country": "India",
    "pincode": "122018",
    "location": "Bangalore",
    "area": "80",
    "primaryPhone": "7546390123",
    "operatingHours": "08:30:00-20:00:00",
    "operatingDays": "monday,tuesday,wednesday,thursday",
    "operatingModel": "consignment",
    "longitude": "",
    "latitude": "",
    "gstin": "06ABCD1234E1Z1",
    "status": "1",
    "isDefault": "1",
    "requestDocuments": {
        "gstCertificateUrl": "http://certificatestorage.com/gstCertificate.jpg",
        "signatureUrl": "http://signaturestorage.com/sign.jpg",
        "companyLogoUrl": "http://logostorage.com/logo.jpg"
    },
    "eshopboxDocuments": {
        "nocUrl": "http://nocstorage.com/noc.jpg",
        "utilityBillUrl": "http://utilitystorage.com/bill.jpg",
        "leaseAgreementUrl": "http://agreementstorage.com/lease.jpg"
    },
    "acknowledgementCertificateUrl": "http://certificatestorage.com/ack.jpg",
    "enrollmentStatus": "PENDING",
    "createdAt": "2019-05-09T12:55:24.000+05:30",
    "updatedAt": "2019-06-07T13:40:47.000+05:30"
}
```

{% endtab %}
{% endtabs %}

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

```
curl -X GET https://{{workspace}}.myeshopbox.com/api/v1/subscription/:id \    
 -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-a-fc-subscription-1.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.
