Update customers by ID
Understanding how to use FeatureOS API to build custom integrations.
Introduction
The FeatureOS update customers API allows you to update information about your customers.
PUT
https://api.featureos.app/api/v3/customers/:id
curl -X PUT 'https://api.featureos.app/api/v3/customers/:id' \
-H 'API-KEY: YOUR_API_KEY' \
-H 'Content-Type: application/json'Headers
| Parameter | Default | Description |
|---|---|---|
| API-KEY | - | Generate from organization settings on the admin dashboard. |
| Authorization | - | Generate a unique JWT token specific to a user. |
Query Parameters
| Parameter | Format | Required | Description |
|---|---|---|---|
| name | String | true | Customer's name |
| blocked | Boolean | false | Block the customer from accessing the organization |
| labels | Array | false | Array of labels to be added to the customer. |
| starred | Boolean | false | Set to true to star the customer. |
| profile_picture_url | String | false | URL of the profile picture of the customer. Supports PNG, JPG, JPEG and GIF formats. |
| custom_fields | JSON Object | false | Each field should be a key-value pair. To update an attribute, please provide the complete set of Key-Value pairs in the existing data, rather than only the specific attribute you wish to modify. This ensures that all necessary information is available for a successful update. |