Order insertion
Delivery address validation
Validates a delivery address before order creation, confirming if the location is reachable and retrieving delivery zone information.
POST
Delivery address validation
write:ordersAuthorizations
Body
application/json
The address can be provided in two alternative ways:
- Mode 1:
addressfield with complete address as a single string - Mode 2: separate fields (
street,number,city,province,zip,country)
You must provide the address using one of the two modes.
Response
Address validation response
Error code if the operation failed. Possible values:
INVALID_ADDRESS= invalid, incomplete or not found addressADDRESS_NOT_SERVED= address outside service zoneDELIVERY_NOT_AVAILABLE= delivery service unavailableMISSING_PARAMETER= address parameters missing or not enough to identify the address (neitheraddressnor thestreet+city+numbercombination was provided, or the provided fields are insufficient)EXTERNAL_SERVICE_ERROR= the geocoding/distance external service is temporarily unavailable
See Error codes for general error codes that may also occur.