Skip to main content
PUT
Update One Customer

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Path Parameters

id
string
required

"id" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

customerRulesInput
CustomerRulesSetInput · object | null

input type for updating data in table "customer_rules"

id
string
input
CustomersSetInput · object | null

input type for updating data in table "customers"

Response

200 - application/json

Responses for PUT /api/rest/customers/{id}

updateCustomer
Customers · object | null

columns and relationships of "customers"

updateCustomerRules
CustomerRulesMutationResponse · object | null

response of any mutation on the table "customer_rules"