POST /api/v2/buyer/discovery/{discoveryId}/apply-proposal
Applies a seller proposal returned by Discover products, auto-adding its products with the proposal’s recommended budget allocations. Requires discover-products to have run first so the proposal’s products are in the session cache. Defaults the distributed budget to proposal.totalBudgetGuidance.recommended; set replace: true to clear the existing selection before applying.
Request
Parameters
Response
productsSkipped is non-empty when a proposal references a product that has aged out of the cached discovery results. Re-run discover to refresh the session, then re-apply.
Errors
400 VALIDATION_ERROR— missingproposalId, non-positivetotalBudget, or discover-products was never run for this session.404 NOT_FOUND—discoveryIdorproposalIdnot found for the authenticated account.
Related
Discovery overview
Proposals and refinement
Discover products
Surface proposals to apply
Get products
Inspect the resulting selection
Add products
Add products one at a time instead