Create Branch
The Create Branch API allows you to add a new branch to the system. This API is typically used by administrators or authorized personnel to manage branches within the organization.
API Method
POST
Endpoint
https://cebuana-apiuat.veryfyglobal.com/branches
Headers
Key
Value
Accept
application/json
Authorization
Bearer <YOUR_TOKEN>
Body Parameters
Parameter
Type
Required
Description
name
string
Yes
The name of the branch. Maximum length: 255 characters.
address
string
Yes
The physical address of the branch. Maximum length: 255 characters.
Example Request Body
{
"name": "Branch B",
"address": "456 Another St, City, Country"
}Response Sample
{
"message": "Ok",
"data": []
}{
"code": "422.000.000",
"message": "The name field is required. (and 1 more error)",
"errors": {
"name": [
"The name field is required."
],
"address": [
"The address field is required."
]
}
}{
"code": "403.000.000",
"message": "Invalid ability provided."
}Last updated