Update Transaction
Updates a pending transaction (items, totals, customer, payments) before confirmation.
Recalculates redeemable and accumulating cashback so the next confirmOrder uses the new
values.
Both recalculateReward and recalculateRedemption default to true — set them to false
to keep the original calculation when sending only metadata changes (e.g. updating items
without re-running the cashback rules). Monetary fields (price, listPrice, tax,
amountToRedeem) are sent as integer cents —
see Monetary values.
Try-it values populated from environment ACME (Demo)
Authentication
Token
Send your user token in the x-guper-authorization header. Endpoints that
support a Public mode (e.g. acúmulo and resgate previews) accept the same
request without the header — Private mode adds customer data and a
confirmation token to the response.
Headers
Path parameters
Request body
Content-Type:
application/json
Responses
Notes
The wallet rules are re-applied to the new cart. If the wallet has a dynamic
minimum (minOrderRate) and the cart shrank below it, the redemption already reserved
is dropped: redeemable.total comes back 0 with redeemable.blocked explaining why
(same shape as in Reward by order).
Always charge the customer by the redeemable.total of this response — not by the
one quoted before the cart changed.