reorder_order_bumps
Set the display order of the order bumps on a checkout page or event. Send every order bump product ID on the page exactly once (read them with list_order_bumps). Returns the reordered list. Mutating.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pageId": "<pageId>",
"pageType": "<pageType>",
"productIds": "<productIds>"
},
"name": "reorder_order_bumps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The ID of the checkout page or event. Use the type you fetched it with (get_checkout_page or get_event). | |
| pageType | Yes | The kind of page the order bump is on: `checkout` for a checkout page, `event` for an event (where order bumps are shown as add-ons). | |
| productIds | Yes | Every order bump product ID on the page, each exactly once, in the order to show them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |