younifyd
Menu

Update customers/validate

Update customers/validate

PUT/V1/customers/validate

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Update customers/validate action (under Customers).
  3. Fill in the fields below, then reference the result from later steps as {{updateCustomersValidate.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

customerobjectrequired

Customer entity interface for API handling.

idinteger

Customer id

group_idinteger

Group id

default_billingstring

Default billing address id

default_shippingstring

Default shipping address id

confirmationstring

Confirmation

created_atstring

Created at time

updated_atstring

Updated at time

created_instring

Created in area

dobstring

In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers (e.g., full name) before collecting or processing such data.

emailstringrequired

Email address

firstnamestringrequired

First name

lastnamestringrequired

Last name

middlenamestring

Middle name

prefixstring

Prefix

suffixstring

Suffix

genderinteger

Gender

store_idinteger

Store id

taxvatstring

Tax Vat

website_idinteger

Website id

addressesarray<object>21 fields

Customer addresses.

disable_auto_group_changeinteger

Disable auto group change flag.

extension_attributesobject4 fields

ExtensionInterface class for @see \Magento\Customer\Api\Data\CustomerInterface

custom_attributesarray<object>2 fields

Custom attributes values.

json
{
  "customer": {
    "email": "string",
    "firstname": "string",
    "lastname": "string",
    "id": 0,
    "group_id": 0,
    "default_billing": "string",
    "default_shipping": "string",
    "confirmation": "string",
    "created_at": "string",
    "updated_at": "string",
    "created_in": "string",
    "dob": "string"
  }
}

Response

Returns 200 with an object. Read it in later steps with {{updateCustomersValidate.response.data.<field>}}.

validboolean

If the provided data is valid.

messagesarray<string>

Error messages as array in case of validation failure, else return empty array.

json
{
  "valid": false,
  "messages": [
    "string"
  ]
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.

Update customers/validate — Adobe Commerce — Documentation