Redeem my points
POST
/ store/ v1/ customers/ me/ loyalty/ redeem- Idempotency-Key supported
Turns the signed-in customer's points into store credit.
Headers
X-Customer-TokenstringrequiredCustomer session 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
pointsintegerrequired
Returns
200 What it gave.
Errors
- 401
unauthenticatedNo valid customer session. - 422
validation_failedToo few points, or not a whole step.