Create a prefilled checkout link
create_prefilled_checkoutSave delivery details for one arrangement on theflowersdirectory.com for 24 hours and return a checkout link that opens with the arrangement in the cart and those details filled in, plus the price breakdown (exact total when a ZIP is given). Takes the recipient's name, venue, room or unit, card message and special instructions, with the ZIP and delivery date. It does not place an order or take payment: the customer adds the street address and phone numbers, checks the details, pays and places the order on the site.
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": {
"code": "<code>"
},
"name": "create_prefilled_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Recipient ZIP code; fills the ZIP field and gives an exact total including tax. | |
| code | Yes | Arrangement product code, e.g. T163-1A. | |
| date | No | Requested delivery date, YYYY-MM-DD. Requires zip. Selected at checkout if available. | |
| client | No | Name of the assistant or app making the request (used only for attribution, e.g. "chatgpt"). | |
| venue_name | No | Funeral home, hospital, church or business name, if delivering to one. | |
| card_message | No | Message printed on the enclosure card, including who it is from. | |
| room_or_unit | No | Apartment, suite, floor or hospital room number. | |
| recipient_name | No | Recipient's full name (for a funeral, e.g. "Family of Jane Smith"). | |
| special_instructions | No | Notes for the florist, e.g. the deceased's name and service time for a funeral. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pricing | Yes | ||
| product | Yes | ||
| delivery | No | ||
| product_url | Yes | ||
| checkout_url | Yes | ||
| how_to_order | Yes | ||
| expires_in_hours | Yes | ||
| prefilled_fields | Yes |