Update Audience Weights
Changed onBulk-updates treatment-variant traffic percentages in place (preserving variant identity). Every treatment must be present, with no duplicate IDs; the HOLDOUT variant (if any) is auto-balanced to (100 - sum). Requires campaigns:write scope.
Request
- Base URLhttps://api.superwall.com
- URLhttps://api.superwall.com/v2/campaigns/{id}/audiences/{audience_id}/weights
- Auth
- HTTP bearer
- or API key in cookie accounts_superwall_token
- or HTTP bearer
Path parameters
Request body
Response
Success
Changes
- warning
added the new
credentials_missingenum value to the/response property for the response status - warning
added the new
credentials_missingenum value to the/response property for the response status - warning
added the new
credentials_missingenum value to the/response property for the response status - info
added
subschema #1subschema #2to the response bodyanyOflist for the response status - info
added
subschema #1subschema #2subschema #3subschema #4subschema #5to the response bodyanyOflist for the response status - info
added
subschema #2subschema #3to the response bodyanyOflist for the response status - info
removed
subschema #1subschema #2from the response bodyanyOflist for the response status - info
removed
subschema #1subschema #2subschema #3subschema #4subschema #5from the response bodyanyOflist for the response status - info
removed
subschema #2subschema #3from the response bodyanyOflist for the response status
- warning
- breaking
the
//request property type changed fromnumbertointeger
- breaking