Customers
Update customer
Update an existing customer’s details or tags in your affiliate program
PUT
Update customer
Endpoint
Parameters
You can identify the customer either by path parameter or request body:| Parameter | Location | Type | Description |
|---|---|---|---|
key | path | string | Customer’s unique key in the URL |
key | body | string | Customer’s key (alternative to path) |
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
update | object | Yes | Object containing fields to update |
update.email | string | No | New email address |
update.name | string | No | Customer’s first name |
update.surname | string | No | Customer’s last name |
update.key | string | No | New customer key (must be unique) |
update.tags | array | No | Tags to associate. Empty array [] removes all tags. null skips update |
Request
Response
Update customer
