Update a list or segment
Partially updates an existing list or segment. Only the fields provided are modified. For lists (type=list), only name is mutable. For segments (type=segment), name, segmentation_config (JSON-serialized rule tree), and keep_updated are mutable. Updating segmentation_config re-evaluates the segment asynchronously; counts may lag.
Parameters
Header Parameters
[Authentication] Required API key, in the form {prefix}.{secret}.
"a1b2c3d4.xK9pR2mVn6QwErTyUiOpAsDfGhJkLzXcVbNmQwErTyU""^[a-zA-Z0-9]{8}\\.[A-Za-z0-9_-]+$"Path Parameters
List identifier
Request Body
Responses
Resource successfully retrieved.
Update a list or segment Partially updates an existing list or segment. Only the fields provided are modified. For lists (type=list), only name is mutable. For segments (type=segment), name, segmentation_config (JSON-serialized rule tree), and keep_updated are mutable. Updating segmentation_config re-evaluates the segment asynchronously; counts may lag. PATCH /v1/lists/{id_shop_list} updateList Lists spm-api-key [Authentication] Required API key, in the form {prefix}.{secret}. id_shop_list List identifier Resource successfully retrieved. Client error - Invalid request or authentication issues Server error - Internal processing failure