Order a paid order again
order_reorderOrder a paid order again, only when the customer asks to order it again.
Pass the order reference and checkout email exactly as the customer typed them, never
guessed. Omit item_numbers to order every item again. To order only some, pass
their 1-based positions in the items that order_get returned for the reference and email.
Each item keeps its Configuration and reuses the artwork the customer paid for. If today's
Geometry has changed, a Design may need a new snapshot or uploaded files may need a new
Mapping before payment. The items go into a new order with its own checkout link.
Each line keeps the offer RendReal selected at the same production speed or the nearest
available speed. Tell the customer the price and production days before the payment link.
Change a line with catalog_configure_product and its line_id, add or remove lines, and call
order_create_payment_link when the customer asks to pay.
Returns a job — poll until SUCCEEDED for the cart. ForeignOrderNotFoundError means the
pair matched no order. ReorderItemNotFoundError names an item number that order does not
have. ReorderItemNotOfferedError names an item whose product is no longer offered as it
was, and ReorderItemNotQuotedError one that has no price today. ReorderRefusedError means
that order is not paid, so it cannot be ordered again.
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": {
"session_id": "<session_id>",
"reference_id": "<reference_id>",
"email": "<email>"
},
"name": "order_reorder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| session_id | Yes | ||
| item_numbers | No | ||
| reference_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |