Get a redemption
GET/v1/redemptions/{id}
Returns a redemption. Use it after a timeout to see whether the hold is still reserved before you send the order.
Permissions: Secret key with checkout:write, or a member token for its own member's redemptions.
Guide
Checkout and ordersPath parameters#
idstring (uuid)Required
Response fields#
Returns 200 with Redemption
idstring (uuid)Send it inredemption_idson the order.statusstringSee Redemption statuses.One ofreserved,captured,canceled,expired,reversedmember_idstring (uuid)Nullablenullfor a guest code.reward_idstring (uuid)NullableWhat was redeemed. One is set.wallet_item_idstring (uuid)NullableWhat was redeemed. One is set.codestringNullableWhat was redeemed. One is set.discount_centsintegerThe discount on the cart it was created for.Min 0points_costintegerPoints held, then spent on capture.0for wallet items and codes.affected_line_idsarray of stringCart lines the discount applies to.order_idstring (uuid)NullableThe order that captured it.expires_atstring (date-time)End of the hold, 15 minutes after creation.created_atstring (date-time)
Error descriptions#
404Not found
not_found
No redemption with this id in your brand, or it belongs to another member (member token).
Any endpoint can also return the common errors.