{
"type": "object",
"properties": {
"question": {
"type": "string",
"description": "The visitor's question, in their own words."
},
"limit": {
"type": "integer",
"description": "How many sections to return, 1-10. Defaults to 4.",
"minimum": 1,
"maximum": 10
}
},
"required": [
"question"
],
"additionalProperties": false
}{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words to match against product names, descriptions, and tags."
},
"max_price": {
"type": "number",
"description": "Only return products at or below this price, in USD.",
"minimum": 0
},
"in_stock_only": {
"type": "boolean",
"description": "Only return products with at least one variant in stock."
},
"limit": {
"type": "integer",
"description": "How many products to return, 1-10. Defaults to 10.",
"minimum": 1,
"maximum": 10
}
},
"required": [],
"additionalProperties": false
}{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "The product slug from search_products, e.g. \"butterfly-dangle-earrings\". Omit on a product page to describe the product being viewed."
}
},
"required": [],
"additionalProperties": false
}{
"type": "object",
"properties": {
"product": {
"type": "string",
"description": "The product slug from search_products or get_product. Omit on a product page to add the product being viewed."
},
"variant": {
"type": "string",
"description": "The wood species, exactly as get_product lists it (e.g. \"Walnut\"). Optional when the product has only one option."
},
"quantity": {
"type": "integer",
"description": "How many to add, 1-99. Defaults to 1.",
"minimum": 1,
"maximum": 99
},
"personalization_text": {
"type": "string",
"description": "Engraving or personalization text, only for products that offer it."
}
},
"required": [],
"additionalProperties": false
}{
"type": "object",
"properties": {
"order_number": {
"type": "integer",
"description": "The order number from the confirmation email.",
"minimum": 1
},
"email": {
"type": "string",
"format": "email",
"description": "The email address the order was placed with."
}
},
"required": [
"order_number",
"email"
],
"additionalProperties": false
}