younifyd
Menu

Update an existing customer status

Update an existing customer status

PUT/shops/{shopKey}/countries/{countryCode}/customers/{customerIdentifier}/status

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Update an existing customer status action (under Customers).
  3. Fill in the fields below, then reference the result from later steps as {{updateAnExistingCustomerStatus.response.data}}.

Request

Path parameters

shopKeystringrequired

The shop key.

countryCodestringrequired

The shop country code; use shop country ID instead of country code when a country is ambiguous within a shop.

customerIdentifieroneOfrequired

Customer ID or reference key If you are using a reference key, it is highly recommended to use the encoded equal sign (%3D) instead of the plain =

Request body

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

isActivebooleanrequired

Declares whether the customer account is active or not

isGuestCustomerbooleanrequired

Declares if the customer have an account or not

json
{
  "isActive": true,
  "isGuestCustomer": false
}

Response

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

isActiveboolean

Declares whether the customer account is active or not

isGuestCustomerboolean

Declares if the customer have an account or not

json
{
  "isActive": true,
  "isGuestCustomer": false
}

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

Update an existing customer status — SCAYLE Admin — Documentation