Create a Fc Subscription

A fulfillment center (FC) is a physical location from which Eshopbox fulfills orders. Subscribing fulfillment center (FC) will allow a user to send their inventory to Eshobox warehouses.

post
Create a fulfillment Center Subscription

https://{{workspace}}.myeshopbox.com/api/v1/subscription
This endpoint is required to subscribe a fulfillment center (FC) for sending inventory to Eshopbox warehouse
Request
Response
Request
Headers
Authentication
required
string
The Bearer token is required to access API
Body Parameters
warehouseId
required
string
Id of warehouse for which a user want to subscribe
warehouseName
required
string
Name of warehouse for which a user want to subscribe
externalWmsAccountId
required
string
Id of External WMS account
facility
required
string
Name of facility for which subscription is made
requestDocuments
required
object
Documents(gst certificate,signature,company logo) required to subscribe Fulfillment channels
Response
200: OK
Fulfillment center is successfully subscribed
{
"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"
},
"acknowledgementCertificateUrl": "http://certificatestorage.com/ack.jpg",
"enrollmentStatus": "PENDING",
"createdAt": "2019-04-08T12:41:05.000+05:30",
"updatedAt": "2019-04-08T12:41:05.000+05:30"
}
CURL
CURL
curl -X POST https://auth.myeshopbox.com/api/v1/subscription \
-H "Authorization: Bearer XXXX" \
-H "Content-Type: application/json" \
-d $'{
"data": {
"warehouseId": "1",
"warehouseName": "TCNS Banglore",
"externalWmsAccountId": "1",
"facility": "BDBLR108",
"operatingModel": "consignment",
"requestDocuments": {
"gstCertificateUrl": "http://abc.com/1.jpg",
"signatureUrl": "http://abc.com/2.jpg",
"companyLogoUrl": "http://abc.com/3.jpg"
}
}
}'