Create a branch address
POST/api/branchs/branchsAddresses
Registers a new pickup address for the merchant. The address type comes from GET /api/open/typeBranchAddress and the municipality from POST /api/open/municipality.
Request
Responses
- 201
- 400
- 401
- 409
- 500
Address registered
Validation errors. The API joins all errors into a single message, separated by ;.
Possible messages per field (in Spanish): es requerido (is required), debe ser una cadena (must be a string), debe tener al menos N caracteres (must have at least N characters), no debe exceder los N caracteres (must not exceed N characters), tiene un formato inválido (has an invalid format).
The token is missing, expired (it lasts 15 minutes) or invalid. Log in again to get a new one.
An active address with the same name already exists
Internal error