Skip to main content
Anchor to UserErrorsCustomerAddressUserErrorsCode

UserErrorsCustomerAddressUserErrorsCode

enum

Possible error codes that can be returned by UserErrorsCustomerAddressUserErrors.

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.

The Address1 field is missing.

Input contains HTML tags.

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.

The provided address field isn't valid.

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.

The field is required.

Anchor to TERRITORY_CODE_MISSINGTERRITORY_CODE_MISSING

The Territory Code field is missing.

The provided address field is too long.

The Zone Code field is missing.


Was this section helpful?