Update Customization
PUTOverview
Section titled “Overview”Update an existing customization by its unique identifier. This request replaces the full customization definition.
Request parameters
Section titled “Request parameters”Path parameters
Section titled “Path parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
TRACKER_ID | string | ✓ | Your unique tracker identifier. |
CUSTOMIZATION_ID | UUID | ✓ | The unique ID of the customization to update. |
Request headers
Section titled “Request headers”| Header | Value | Description |
|---|---|---|
Content-Type | application/json; charset=utf-8 | Required. |
Date | HTTP date | Required for HMAC. |
Authorization | ApiAuth {TRACKER_ID}:{SIGNATURE} | Required for HMAC. |
Request body attributes
Section titled “Request body attributes”The request body follows the same structure as Create Customization.
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | ✓ | Recommender model. |
target_type | string | ✓ | Scope type: item, criteria, or all. |
target_identity | string | Item ID when target_type is item. | |
target_criteria | object | Criteria definition when target_type is criteria. | |
tags | array | Customization tags. | |
pin_definitions | array | ✓ | Pin definitions to set on the customization. |
How to Make a Request
Section titled “How to Make a Request”- Build the HMAC string from the method, content type, date, and full resource path including the customization ID.
- Generate the HMAC SHA-256 digest with your private key.
- Send the full updated customization object in the JSON body.
Response structure
Section titled “Response structure”The server returns 204 No Content on success.
Error handling
Section titled “Error handling”| HTTP Status | Description |
|---|---|
204 No Content | Customization updated successfully. |
400 Bad Request | Invalid configuration provided. |
401 Unauthorized | Missing or invalid authentication. |
404 Not Found | Customization ID not found. |
422 Unprocessable Entity | Invalid pin definition provided. |
Was this page helpful?
Thanks.