Redeem point rewards via API?

34 views
Skip to first unread message

Arjun Nandkishore

unread,
Mar 1, 2016, 3:23:44 AM3/1/16
to deliverydotcom API V2
Is there a built-in way to redeem point rewards via the API? (Or direct the user to a page where they can select the reward and then be automatically redirected back?)

Lawren Hanson

unread,
Mar 1, 2016, 6:05:51 PM3/1/16
to deliverydotcom API V2
Hi Arjun,

Sorry to say but we don't currently support a redirect from our rewards page.  I don't believe we are going to support either unless there is large demand for that ability.  There is a endpoint /api/prizes that we do not document. If you like, you can inspect the request on https://www.delivery.com/delivery-points and see how we handle it to get around the need to redirect back to your app or site.  If you have anymore questions let me know.

Arjun Nandkishore

unread,
Mar 1, 2016, 11:24:14 PM3/1/16
to deliverydotcom API V2
Thanks - will investigate that endpoint and get back to you if I have any questions!

One broad question regarding the points: I see that in the payment types at checkout, there is a credit_balance field. Am I correct in assuming that the flow for redeeming points is then as described below?

1) via the /api/prizes endpoint, turn the points into a credit balance
2) receive some kind of id for this balance[?]
3) pass this id and the value of the balance as part of the payments array at checkout under the credit_balance field


Lawren Hanson

unread,
Mar 2, 2016, 12:30:56 PM3/2/16
to deliverydotcom API V2
You will receive a gift card code that is redeemable during checkout (similar to how one redeems a promo code).  Once the person redeems the code, it is added to the list of available payment option and the person as a choice to apply it to their current checkout or not.  If s/he decides not to then it will remain in their account until they do so.
Reply all
Reply to author
Forward
0 new messages