User Errors Customer Address User Errors Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to ADDRESS_ARGUMENT_EMPTYADDRESS_ARGUMENT_EMPTY
The provided address argument is empty.
- Anchor to ADDRESS_ID_DOES_NOT_EXISTADDRESS_ID_DOES_NOT_EXIST
The provided address ID doesn't exist.
- Anchor to ADDRESS1_MISSINGADDRESS1_MISSING
The Address1 field is missing.
- Anchor to CONTAINS_HTML_TAGSCONTAINS_HTML_TAGS
Input contains HTML tags.
- Anchor to COUNTRY_NOT_EXISTCOUNTRY_NOT_EXIST
The provided country doesn't exist.
- Anchor to CUSTOMER_ADDRESS_ALREADY_EXISTSCUSTOMER_ADDRESS_ALREADY_EXISTS
The provided customer address already exists.
- Anchor to DELETING_CUSTOMER_DEFAULT_ADDRESS_NOT_ALLOWEDDELETING_CUSTOMER_DEFAULT_ADDRESS_NOT_ALLOWED
The default address of the customer can't be deleted before setting another one as default.
- Anchor to DEMOTING_CUSTOMER_DEFAULT_ADDRESS_NOT_ALLOWEDDEMOTING_CUSTOMER_DEFAULT_ADDRESS_NOT_ALLOWED
Demoting the default address of the customer isn't allowed.
- Anchor to INVALIDINVALID
The provided address field isn't valid.
- Anchor to INVALID_FOR_COUNTRYINVALID_FOR_COUNTRY
The provided value is invalid for the country.
- Anchor to INVALID_FOR_COUNTRY_AND_PROVINCEINVALID_FOR_COUNTRY_AND_PROVINCE
The provided value is invalid for the country and province.
- Anchor to INVALID_TERRITORY_CODEINVALID_TERRITORY_CODE
The provided Territory Code isn't valid.
- Anchor to PHONE_NUMBER_NOT_VALIDPHONE_NUMBER_NOT_VALID
The provided phone number isn't valid.
- Anchor to REQUIREDREQUIRED
The field is required.
- Anchor to TERRITORY_CODE_MISSINGTERRITORY_CODE_MISSING
The Territory Code field is missing.
- Anchor to TOO_LONGTOO_LONG
The provided address field is too long.
- Anchor to ZONE_CODE_MISSINGZONE_CODE_MISSING
The Zone Code field is missing.