Approve Scout Proposal

SCOUT_v1.0 (MP #50, Task 5.2). CEO-auth.

Approves a PENDING_CEO_REVIEW proposal. Inserts into a2a_catalog with available=false -- the SKU exists but is not on sale until a handler is built (NO_SKU_WITHOUT_HANDLER v1.0, MP #80). ON CONFLICT (sku) DO NOTHING so a re-approve cannot flip a deactivated row back on. Updates scout_proposals.status to APPROVED. 404 if not found; 422 if status != PENDING_CEO_REVIEW.

post/api/scout/proposals/{proposal_id}/approve

Request

  • Base URL: https://api.merchant-0.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.merchant-0.com/api/scout/proposals/{proposal_id}/approve
  • Auth: none declared

Path parameters

proposal_idstring required

Request body

sandbox_tokenstring required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.