points_experience_id
query parameter.
GET /baskets/{uid}/loyaltyrewards/qualifying
)
olo_uid
in the GET /points_products
endpoint.olo_uid
can be used just as any other Reward ID would be
used in the Olo API.GET /baskets/{uid}/loyaltyrewards/qualifying
)olo_uid
attribute
will match the reward IDs returned by the Olo API.progress
attribute will no longer be used for merchants that have fully
transitioned to pointspoints
attribute has been added, which is an array of all the points
experiences of the given merchant and the user’s current points balance of
that points experience’s currency.points_products
attribute has been added, which is an array of all the
available points products that is available for the given merchant.
points_experience_id
is present, which is the ID of the points
experience queryable via the
GET /points_experiences/:id endpoint
points
attribute.points
is present, which is the number of points required to exchange
this points product for a rewardretire_at
is not relevant for points products, as points have not yet
been exchanged for rewardstate
of the points products will be redeemable
if the user has
enough points balance to cover the cost of the points product and
unredeemable
if the user does not have enough points.rewards
attribute, requests now accept a points_products
attribute which can include a points product ID. If a points product ID is
specified for a basket, the points product exchange will be automatically
triggered on receipt of the placed
event. The reward that was created as a
result of the points product exchange will be marked as used when the billed
event is received (using the same points product ID used in that basket’s
placed
event.
Note that only a single reward or points product can currently be applied to a
basket. The request will 400 if multiple rewards or points products are
specified in the request.
Detailed descriptions of what happens to points products when requests for each
basket state are received is documented in
POST /baskets.
rewards
attribute.
Developers can also choose to manage these workflows separately and handle
non-ordering points redemption via the explicit API for exchanging points
products and handle ordering points redemption
via the information coming from the account and
basket endpoints.
This decision is up to the developer to decide what is easiest for the given
integration. Our developer support team is available to provide advice and
support for your specific use-case.