Update a workspace

Update by ID

PUT https://{{workspace}}.myeshopbox.com/api/v1/account/:id

This endpoint allows user to update a workspace of a particular account id

Path Parameters

NameTypeDescription

id

integer

The ID of account which is used to be updated

Headers

NameTypeDescription

Authentication

string

The Bearer token to grant access to the API

Request Body

NameTypeDescription

stepsCompleted

integer

Number of step completed to create a workspace

{
    "id": "1",
    "accountName": "Kapas Kraft",
    "accountSlug": "KapasKraft",
    "status": "0",
    "clientCode": "KKPL359",
    "stepsCompleted": "1",
    "workspaceStatus":"1",
    "addressLine1": "Khasra no 5 16 2 17",
    "addressLine2": "Gundavali, Bhiwandi",
    "city": "Bangalore",
    "state": "Karnataka",
    "country": "IN",
    "pincode": "122018",
    "email": "johndoe@gmail.com",
    "phone": "9451782453",
    "panNumber": "AAA6910ZZZ",
    "pancardScannedCopy": "https://storage.cloud.google.com/panCard.appspot.com/AAA6910ZZZ.pdf",
    "accountNumber": "1234567899746",
    "bankName": "India Bank",
    "ifscCode": "SIB0003246",
    "branch": "Sector 7, Gurgaon",
    "cancelledChequeScannedCopy": "https://storage.cloud.google.com/cheque.appspot.com/cheque.pdf",
    "contactPerson": "Ram Sharma",
    "gstin": "06ABCD1234E1Z1",
    "contractUrl": "https://storage.cloud.google.com/contract.appspot.com/contract.pdf",
    "createdAt": "2019-04-08T12:41:05.000+05:30",
    "updatedAt": "2019-04-08T12:41:05.000+05:30"
}
curl -X PUT https://{{workspace}}.myeshopbox.com/api/v1/account/:id \
     -H "Authorization: Bearer XXXX" \
     -H "Content-Type: application/json" \
     -d $'{
      "data": {
        "stepsCompleted": 1
      }
    }'

Last updated