Read a branch
Any signed in user. Returns one branch with its address, VAT number, and trade currency. The identifier is a branch id, and an id that matches no row is refused rather than returned empty.
GET
/api/v1/branches/{branchId}Authorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Path parameters
branchIdstringrequiredThe branch id.
Responses
200
The branch
idstringrequiredcodestringrequirednamestringrequiredcitystringrequiredvat_numberstringrequiredaddressstringrequiredcurrency_codestringrequiredimage_urlstringrequiredis_activebooleanrequiredis_deletedintegerrequiredmin -9007199254740991 · max 9007199254740991
created_atstringrequiredupdated_atstringrequired401
Not authenticated
detailstringrequired404
Branch not found
detailstringrequired