Get a purchase link with pricing
get_checkout_linkReturn the purchase link for an arrangement plus a price breakdown. With a recipient ZIP the breakdown includes the exact delivery fee, tax and order total; with a ZIP and date it also confirms delivery availability. Opening the link adds the arrangement to the cart and opens the cart panel; the customer clicks Checkout and enters the recipient address, delivery date, card message and payment there.
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": "get_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Recipient ZIP code, for an exact total including tax. | |
| code | Yes | Arrangement product code, e.g. T163-1A. | |
| date | No | Requested delivery date, YYYY-MM-DD. Requires zip. | |
| client | No | Name of the assistant or app making the request (used only for attribution, e.g. "chatgpt"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pricing | Yes | ||
| product | Yes | ||
| delivery | No | ||
| checkout_url | Yes | ||
| how_to_order | Yes |