Add products to selection
Add products to the selection. Products must have been discovered via GET /discovery//discover-products first.
Authorizations
API key or access token
Path Parameters
Discovery ID
1"abc123-def456-ghi789"
Body
Request to add products to a discovery session
Products to add to the selection
1When true, replaces all existing products instead of merging
Optional campaign binding check. When provided, the server verifies this discovery session is attached to the campaign before reporting success.
"campaign_ea5e33dd-d65b-44c7-a3e8-8e1db1d137b4"
Response
Add products to selection
Response containing selected products
Discovery ID
Selected products in the discovery session
Total number of selected products
-9007199254740991 <= x <= 9007199254740991Budget allocation context
Whether this discovery session is attached to an active campaign. When false, the products are saved to the session but no active campaign reflects them yet.
Guidance shown only when campaignBound is false: either the session is not attached to any campaign, or the campaign it was attached to has been archived. Pass campaignId for an active campaign (or restore the archived one) so the campaign reflects the products.