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.

Create a fulfillment Center Subscription

POST https://{{workspace}}.myeshopbox.com/api/v1/subscription

This endpoint is required to subscribe a fulfillment center (FC) for sending inventory to Eshopbox warehouse

Headers

NameTypeDescription

Authentication

string

The Bearer token is required to access API

Request Body

NameTypeDescription

warehouseId

string

Id of warehouse for which a user want to subscribe

warehouseName

string

Name of warehouse for which a user want to subscribe

externalWmsAccountId

string

Id of External WMS account

facility

string

Name of facility for which subscription is made

requestDocuments

object

Documents(gst certificate,signature,company logo) required to subscribe Fulfillment channels

{
    "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 -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"
    }
      }
    }'

Last updated