Carts
Apply Promotions
Apply promotion codes to the cart.
POST
Applies promotion codes through Mercur’s seller-aware workflow so seller-scoped promotions only adjust that seller’s items; sending an empty array replaces (clears) the applied codes.
Path parameters
string
required
The cart’s ID.
Query parameters
string
Comma-separated fields and relations to include on the returned cart; prefix with
+/- to add to or remove from the defaults.Body parameters
string[]
required
Promotion codes to add; an empty array removes all applied codes.
Response
object