v1

latestOpenAPI 3.1.02026-07-24111290748.0 KB
Customers

Set customer data

Set a customer's data.

put/api/customers/{customer_id}/data

Path parameters

customer_idinteger required

The ID of the customer to update.

Request body

versionstring nullable

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

{"stackTrail":"paths:/api/customers/{customer_id}/data:put:requestBody:content:application/json:schema:properties:data","oasType":"schema","type":"unknown","description":"The customer data.","example":{"key":"value"}}

Example request

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

Response

An empty response.