Get all workspaces

Get work spaces

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

This endpoint allows a user to get list of workspaces available for a particular account

Query Parameters

NameTypeDescription

page

integer

The number of pages used to offset the results

per_page

integer

The number of items to be return per page

Headers

NameTypeDescription

Authentication

string

The Bearer token which allows to grant access to the API

{
 "data": [
  {
   "id": 5,
   "accountName": "Kapas Kraft",
   "accountSlug": "KapasKraft",
   "status": "1",
   "clientCode": "KKPL359",
   "addressLine1": "Khasra no 5 16 2 17",
   "addressLine2": "Gundavali, Bhiwandi",
   "city": "Bangalore",
   "state": "Karnataka",
   "pincode": "122018",
   "country": "IN",
   "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"",
   "stepsCompleted": 5,
   "userAccountMappingId": 356,
   "userAccountMappingStatus": "1",
   "userAccountMappingRole": "admin",
   "createdAt": "2019-04-08T12:41:05.000+05:30",
   "updatedAt": "2019-04-08T12:41:05.000+05:30"
  },
  {
   "id": 5,
   "accountName": "Kapas Kraft",
   "accountSlug": "KapasKraft",
   "type": "0",
   "status": "1",
   "clientCode": "KKPL3591",
   "addressLine1": "Khasra no 5 16 2 17",
   "addressLine2": "Near Subhash Chowk, Sohna Road ",
   "city": "Gurgaon",
   "state": "Haryana",
   "pincode": "122015",
   "country": "IN",
   "email": "johndoe@gmail.com",
   "phone": "9512006489",
   "panNumber": "AAA430956Q",
   "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"",
   "stepsCompleted": 5,
   "userAccountMappingId": 356,
   "userAccountMappingStatus": "1",
   "userAccountMappingRole": "admin",
   "createdAt": "2019-04-08T12:41:05.000+05:30",
   "updatedAt": "2019-04-08T12:41:05.000+05:30"
  }
 ],
 "total": 2,
 "page": 1,
 "per_page": 100
 
}
curl -X GET https://auth.myeshopbox.com/api/v1/account \    
 -H "Authorization: Bearer XXXX"

Last updated