Verify COD code
POST
/ store/ v1/ carts/ {cart_id}/ cod-verification/ verify- Idempotency-Key supported
Check the code; the phone stays verified for the cart.
Path parameters
cart_idstringrequiredThe cart's ID, like
cart_01k8qs5s….
Headers
X-Cart-TokenstringrequiredThe cart's token
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
codestringrequiredThe 6 digits sent to the cart's phone.
Returns
204 Verified.
Errors
- 404
not_foundNo such cart. - 422
validation_failedWrong or expired code.