put https://example.com/customers/private/v1/limited/customer/phone
It updates an unconfirmed phone number. It does not send a new confirmation code.
List of possible error codes:
Code | Status | Target | Description |
---|---|---|---|
- | 401 | - | The customer is not authorized. |
PHONE_ALREADY_EXISTS | 422 | common | Other customer uses the same phone number. |
PHONE_IS_ALREADY_CONFIRMED | 403 | common | The phone number is already confirmed. |
PHONE_NUMBER_HAS_INVALID_FORMAT | 400 | field(phoneNumber ) | The field has invalid format. |
REQUIRED | 400 | field(phoneNumber ) | The field cannot be empty. |