Branch
create branch
Create branch
POST
{base url}/v1/branch
Create branch
Headers
Authorization header
*
String
API user secret key
Body
name
string
Name of the branch
location
string
Location of branch
Status
string
status of branch (active/ inactive)
Response
get branches
Get branches
GET
{base url}/v1/branch
Fetch all branches
Headers
Authorization header
*
String
API user secret key
Query parameters
page
number
page to fetch
perPage
number
number of items on a page
Response
get a branch
Get a branch
GET
{base url}/v1/branch/{branchId}
Fetch a single branch details
Headers
Authorization header
*
String
API user secret key
Response
update branch
Update branch
PATCH
{base url}/v1/branch/{branchId}
Update a single branch
Headers
Authorization header
*
String
API user secret key
Body
name
string
Name of the branch
location
string
Location of branch
Status
string
status of branch (active/ inactive)
Response
Last updated
Was this helpful?