API late November 2026 improvements (1.7.0)
API improvements and fixes that shipped to production in late November 2026, following the late September 2026 security update.
- Added
embed-elementsas a signup channel value for theX-Spaaza-Requestheader on add-user, so customers who join through the Embed Elements signup page are recorded with their own signup channel. - Changed Apple Wallet passes so that "Add to Apple Wallet" opens Apple Wallet in a browser on an iPhone, instead of offering a file download. A pass is now only created for a customer who has a member number; for a customer without one, the request returns
user_member_number_missing(code 564). The pass text colour now follows the configured text colour, and an empty text or label colour now defaults to black instead of white. - Changed competition campaigns so that each campaign has its own win times for each store and day. Several competition campaigns can now run in the same store at the same time, and each one awards its own wins. Previously they shared the same win time, so a single basket could win all of them.
- Improved the handling of Shopify customers whose
user_hashcustomer metafield is missing or out of date: when theX-Spaaza-Session-User-Hashvalue does not match, Spaaza rewrites the metafield with the correct value so the next request can authenticate. See Shopify user authentication. - Improved the response times of get-basket-price and add-basket for customers with a long purchase history and for chains with many campaigns.
- Fixed free basket and other competition campaigns on the same basket: a competition campaign that does not win no longer uses up the item value, so a later competition campaign on the same basket can still win it.
- Fixed composable campaign reward methods that have no display metadata (title, description, image). get-basket-price and add-basket no longer fail with
server_error(code 330) for such reward methods, and campaign interactions and survey submissions now award the prize instead of reporting that none was available. The voucher uses the campaign's own voucher title, text and image.