Skip to main content
POST
Recalculate the cart's external discounts

Path Parameters

cart_token
string
required

Cart token

Body

application/json

Optional flags; include_cart returns the full rendered cart instead of the receipt

include_cart
boolean

Render the refreshed cart in the response body

Response

Receipt for the refresh, or the full cart when include_cart is requested

Default receipt; every live caller reads only the status

cart_token
string
required
refreshed
boolean
required

False when the recalculation was skipped because nothing was registered and nothing was persisted

reason
string

Present only on a skipped refresh

meta
object | null