Hide single-item quantity badges in checkout
When creating a checkout via our API, you can now pass in a new flag, shouldShowSingleQuantity
, to control whether the quantity badge is shown on items with a quantity of 1. The field defaults to true
, which matches the existing behavior.
Referral Data Available for Purchases
The purchase.completed
webhook and Purchase API have been updated to include a new object field referral
. referral.source
, referral.method
and referral.host
are new properties available on this object.
Hiding Claimed Offers in the Storefront
It is now possible to configure offers to be hidden in the storefront after they are claimed. Please refer to the documentation to learn how to configure this in your inventory.
Checkout.abandoned and Cart.abandoned Webhooks
We now support two additional webhooks (checkout.abandoned
and cart.abandoned
) that can be used to redirect users back to checkout or the shop when they abandon the flow.
Updated payout reports
Payout reports now have a new sourceType
called adjustment
and a description
column. For adjustment
transactions the description
will contain an explanation for the adjustment.
Added endpoint to retrieve all purchases
We've added a new GET /purchases endpoint that returns paginated data of all purchases made related to a specific environment. This data also includes refund items.
Two new analytics events 📊
We have two new analytics events: Checkout Completion Attempted
and Auth Code Created
. Both of these events are backend events so they're more reliably sent than frontend events. You can see the full event schemas in the event details documentation.
Promo codes are here!
Added documentation about promo codes at Neon.
Checkouts now support image-less items
You now no longer need to pass in an imageUrl
when creating checkout items.
Updated refund webhook response
Refund webhooks now contain a date
and currency
, corresponding to the date of the refund and the currency of the refunded purchase.