put
https://api.loopsubscriptions.com/storefront/2026-04/bundle/transaction
Updates an existing bundle transaction in place - when a customer edits their bundle in the cart (changing products, quantities, discount, box size, or selling plan) before purchase.
Previously you had to call Create transaction again for every edit and rewrite the cart line with a new txnId. With this endpoint you keep the same transactionId across edits and simply refresh the cart.
Auth: Storefront-callable (no token)
This API is only applicable before purchase is completed. A transaction that has been purchased - edit those with Update subscription bundle instead.
Example flow
- Customer adds a product → call Create transaction → gets
transactionId. - Call
/cart/add.js(with_bundleId: transactionId) to open the cart. - Customer edits the bundle in the cart.
- call Update transaction with the same
transactionId. - Call
/cart/add.jsagain to reflect the updated cart. (The_bundleIdalready on the lines stays valid.