Applies a proposal
POST
/ admin/ v1/ stores/ {store_id}/ agent/ proposals/ {proposal_id}/ approve- Idempotency-Key supported
Applies a proposal. Only the person who asked can, and only in their session.
Path parameters
store_idstringrequiredproposal_idstringrequired
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
hashstringrequiredThe hash on the card: what was shown is what happens.
Returns
200 Its new status: applied, stale or failed
Errors
- 403
forbidden - 404
not_found - 409