Create a draft order
create_draft_orderSaves a draft of the order (the logo from check_logo, the card message, the sign-off, the occasion and the kind of gift) and returns a private link. The customer opens the link to check the preview and every card, add their recipient list and pay on the website. Takes no recipient names or addresses and no payment details. Each call saves a new draft with its own link. The answer says when the link expires.
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": {
"mode": "<mode>",
"card_message": "<card_message>",
"signed_by": "<signed_by>",
"occasion": "<occasion>"
},
"name": "create_draft_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | business for a company logo, personal for a personal gift. | |
| boxes | No | Optional estimate of how many boxes; the recipient list sets the real count. | |
| logo_ref | No | From check_logo. Leave it out and the customer adds the logo on the website. | |
| occasion | Yes | The occasion, as get_gift_box_details names them. | |
| signed_by | Yes | Who the cards are from, printed under the message. | |
| card_message | Yes | The message printed on every card. get_gift_box_details gives the rules. |