These docs are for v2017-01-01. Click to read the latest docs for v2021-03-10.

Change add-ons

Change the add-ons associated with the order. This end point will add or remove add-ons

If an add-on is not found in the experience, it is ignored. Add-ons are matched by name. If the price attribute is not passed, priority is given to the price defined by an existing add-on in the order. If the order does not have the add-on, the price defined in the experience is considered.

Path Params
string
required

The order ID

Body Params
string
required

One of the defined payment methods.

addOns
array

An array of add-on objects

addOns
Responses

Language
Credentials
Header
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json