create_checkout
ActiveTool of La Luer — AI Skincare Commerce
Create a checkout URL for one or more products. Pass variant IDs (items) and/or product URLs (product_urls). When a product URL is provided (e.g. https://laluer.com/products/mira), the tool resolves it to a variant ID automatically — no catalog import needed. Supports discount codes, cart notes, and selling plans. Do not use unless the user wants to buy — use search_products or skincare_recommend first. Returns a direct Shopify checkout link the user can click to buy.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"note": {
"type": "string",
"maxLength": 500,
"description": "Cart note visible to the merchant"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"variant_id"
],
"properties": {
"quantity": {
"type": "integer",
"default": 1,
"maximum": 10,
"minimum": 1,
"description": "Quantity (default 1)"
},
"variant_id": {
"type": [
"string",
"number"
],
"description": "Shopify variant ID (numeric or GID format)"
},
"selling_plan_id": {
"type": "string",
"description": "Shopify selling plan ID for subscriptions"
}
},
"additionalProperties": false
},
"maxItems": 20,
"description": "Products to add to cart by variant ID"
},
"decision_id": {
"type": "string",
"maxLength": 100,
"description": "Decision Check ID from a prior /validate call. Required when this merchant enforces authority-gated checkout (require_authority_for_checkout); ignored otherwise."
},
"product_urls": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Shopify product URL (e.g. https://store.com/products/handle)"
},
"quantity": {
"type": "integer",
"default": 1,
"maximum": 10,
"minimum": 1,
"description": "Quantity (default 1)"
}
},
"additionalProperties": false
},
"maxItems": 20,
"description": "Products to add to cart by URL — resolved to variant IDs automatically"
},
"discount_code": {
"type": "string",
"maxLength": 50,
"description": "Discount code to apply (e.g. 'WELCOME10')"
}
},
"additionalProperties": false
}Parent server
La Luer — AI Skincare Commerce
https://github.com/nathangrotticelli/searchshopai
2/7 registries