Subscriptions

SetSubscriptionAttribute

Set a subscription's attribute

post/subscription/attribute

Request

  • Base URL
    https://api.cleverpush.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

channelIdstring required
<p>The channel ID.</p>
attributeIdstring required
<p>The attribute ID. For <code>wishlist</code>, prefer push-value/pull-value. If you setAttribute a full array, CleverPush diffs ids and cancels timelines for removed SKUs.</p>
valuestring required
<p>The attribute value. Can be a String (max length: 255 characters) or Number. If the attribute is configured to store arrays, the maximum length of the array should be 1000.</p>
subscriptionIdstring
<p>The subscription ID.</p>
subscriptionIdsstring[]
<p>The subscription IDs (max. 1000).</p>

Response

Success-Response:

successboolean required

Changes

No recorded changes to this operation across all 3 revisions of this API.