Skip to content

Update Customization

PUT
View MD

Update an existing customization by its unique identifier. This request replaces the full customization definition.

ParameterTypeRequiredDescription
TRACKER_IDstringYour unique tracker identifier.
CUSTOMIZATION_IDUUIDThe unique ID of the customization to update.
HeaderValueDescription
Content-Typeapplication/json; charset=utf-8Required.
DateHTTP dateRequired for HMAC.
AuthorizationApiAuth {TRACKER_ID}:{SIGNATURE}Required for HMAC.

The request body follows the same structure as Create Customization.

ParameterTypeRequiredDescription
modelstringRecommender model.
target_typestringScope type: item, criteria, or all.
target_identitystringItem ID when target_type is item.
target_criteriaobjectCriteria definition when target_type is criteria.
tagsarrayCustomization tags.
pin_definitionsarrayPin definitions to set on the customization.
  1. Build the HMAC string from the method, content type, date, and full resource path including the customization ID.
  2. Generate the HMAC SHA-256 digest with your private key.
  3. Send the full updated customization object in the JSON body.

The server returns 204 No Content on success.

HTTP StatusDescription
204 No ContentCustomization updated successfully.
400 Bad RequestInvalid configuration provided.
401 UnauthorizedMissing or invalid authentication.
404 Not FoundCustomization ID not found.
422 Unprocessable EntityInvalid pin definition provided.