younifyd
Menu

Update Customer Data

Set customer data

PUT/api/customers/{customer_id}/data

Use it in a workflow

  1. Add a step and choose the Gorgias connector.
  2. Pick the Update Customer Data action (under Customers).
  3. Fill in the fields below, then reference the result from later steps as {{updateCustomerData.response.data}}.

Request

Path parameters

customer_idintegerrequired

The ID of the customer to update.

Request body

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

versionstring | null

The date of the customer data. If we already have a more recent version, the request will be ignored.

dataanyrequired

The customer data.

json
{
  "data": {
    "key": "value"
  },
  "version": "2022-05-13T12:34:21.918927"
}

Response

Returns 202 with a any. Read it in later steps with {{updateCustomerData.response.data.<field>}}.

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

Update Customer Data — Gorgias — Documentation