generate_direct_checkout_link
Build a pre-filled Shopify cart permalink for one or more book or bundle variant IDs, creating a one-click checkout on humanedgepress.com with optional note or user-supplied discount code.
Instructions
Build a pre-filled 1-click Shopify cart permalink on humanedgepress.com for one or more book or bundle variant IDs (from search or book details). Only pass a discountCode that the user explicitly provided.
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": {
"items": "<items>"
},
"name": "generate_direct_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional gift or order note | |
| items | Yes | Books or bundles to add to cart | |
| discountCode | No | Optional user-supplied discount code |