Delivery address validation
Validates a delivery address before order creation, confirming if the location is reachable and retrieving delivery zone information.
write:ordersAuthorizations
Client ID for API Client authentication (must be used together with Client Secret)
Client Secret for API Client authentication (must be used together with Client ID)
Body
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.
[Mode 1] Complete address as a single string (alternative to separate fields)
[Mode 2] Street/avenue name
[Mode 2] Civic number
[Mode 2] Municipality
[Mode 2] Province code
[Mode 2] Postal code
[Mode 2] Country code (e.g., IT)
ISO 639-1 language code; defaults to restaurant settings
Response
Address validation response
Operation result: true if successful, false if failed
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 unavailable
See Error codes for general error codes that may occur.
Human-readable error description if the operation failed
Validated address data (present only if success = true)