# Update a Fc Subscription

## Update fulfillment Channel Subscription

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

This endpoint allows updating the subscription by a particular   Id

#### Headers

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

#### Request Body

| Name                          | Type   | Description                                                                                |
| ----------------------------- | ------ | ------------------------------------------------------------------------------------------ |
| acknowledgementCertificateUrl | string | Acknowledgment certificate is required to verify the APOB status at the fulfillment center |

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

```
{
    "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",
        "eshopboxDeclaration":"http://declarationstorage.com/eshop.jpg"
    },
    "acknowledgementCertificateUrl": "http://certificatestorage.com/ack.jpg",
    "enrollmentStatus": "VERIFICATION",
    "createdAt": "2019-04-08T12:41:05.000+05:30",
    "updatedAt": "2019-04-08T12:41:05.000+05:30"
}
```

{% endtab %}
{% endtabs %}

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

```
curl -X PUT https://{{workspace}}.myeshopbox.com/api/v1/subscription/:id \
     -H "Authorization: Bearer XXXX" \
     -H "Content-Type: application/json" \
     -d $'{
      "data": {
        "acknowledgementCertificateUrl": "https://acbsdbcsbcbsd.com"
      }
    }'
```

{% 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/update-a-fc-subscription.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.
