Server definition
- Hash
- sha256:85f59ec605fe9266eb0e96486f2642e502a5c55662d7ae66ea9e29221703cbcf
- What it is
- What a remote MCP server returned when asked what it offers: 6 tools
The blob, as servednamed by its sha256
{
"instructions": null,
"tools": [
{
"description": "\nAdd one or more items to the shopping cart.\n\nIf no cart exists, this tool makes a new cart. This tool adds products and gift\ncertificates.\n\nSteps\n\n1. Call the 'search_products' tool to find a product.\n2. Call the 'get_product_details' tool to get the variants and the modifier options.\n3. Call this tool to add the item.\n4. Call the 'create_checkout_url' tool to get a checkout URL.\n\nRules\n\nSend 'quantity' and 'productEntityId' for each item.\nIf the product has variants, send 'variantEntityId'.\n\nModifier options\n\nA modifier option is a product choice that is not a variant.\nExamples are an engraving message and a nicotine strength.\nThe 'get_product_details' tool returns these options in 'modifierOptions'.\n\nIf the product has no 'modifierOptions', do not send 'selectedOptions'.\nDo not send a variant option in 'selectedOptions'.\nSend a variant in 'variantEntityId'.\n\nAn option is required if 'isRequired' is 'true'.\nSend each required option.\nIf you do not send a required option, the server does not add the item.\n\nTo send an option:\n1. Read the bucket name from 'selectedOptionsKey'.\n2. Add the option to 'item.selectedOptions' in that bucket.\n3. Send the 'optionEntityId' of the option.\n4. For a choice option, send the 'valueEntityId' of the value that the user selected.\n\nSend only the buckets that you need.\n\nExample. A required choice option has a 'selectedOptionsKey' of \"multipleChoices\", an\n'optionEntityId' of 108, and a selected value with a 'valueEntityId' of 251:\n{\n \"item\": {\n \"quantity\": 1,\n \"productEntityId\": 88,\n \"variantEntityId\": 67,\n \"selectedOptions\": {\n \"multipleChoices\": [ { \"optionEntityId\": 108, \"optionValueEntityId\": 251 } ]\n }\n }\n }\n\nA free-entry bucket takes a typed value in place of an ID.\n'textFields' and 'multiLineTextFields' take \"text\".\n'numberFields' takes \"number\".\n'dateFields' takes \"date\".\nObey the 'constraints' of the option.\n\nIf a required option has more than one value, ask the user to select one value.\nDo not select a value yourself. Do not use the default value.\n\nIf 'unsupported' is 'true', you cannot send the option.\nIf such an option is also required, tell the user to buy the product on the website.\n",
"inputSchema": {
"additionalProperties": false,
"properties": {
"item": {
"additionalProperties": false,
"properties": {
"productEntityId": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"selectedOptions": {
"additionalProperties": false,
"properties": {
"checkboxes": {
"items": {
"additionalProperties": false,
"properties": {
"optionEntityId": {
"type": "integer"
},
"optionValueEntityId": {
"type": "integer"
}
},
"required": [
"optionEntityId",
"optionValueEntityId"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"dateFields": {
"items": {
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"optionEntityId": {
"type": "integer"
}
},
"required": [
"optionEntityId",
"date"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"multiLineTextFields": {
"items": {
"additionalProperties": false,
"properties": {
"optionEntityId": {
"type": "integer"
},
"text": {
"type": "string"
}
},
"required": [
"optionEntityId",
"text"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"multipleChoices": {
"items": {
"additionalProperties": false,
"properties": {
"optionEntityId": {
"type": "integer"
},
"optionValueEntityId": {
"type": "integer"
}
},
"required": [
"optionEntityId",
"optionValueEntityId"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"numberFields": {
"items": {
"additionalProperties": false,
"properties": {
"number": {
"type": "number"
},
"optionEntityId": {
"type": "integer"
}
},
"required": [
"optionEntityId",
"number"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"textFields": {
"items": {
"additionalProperties": false,
"properties": {
"optionEntityId": {
"type": "integer"
},
"text": {
"type": "string"
}
},
"required": [
"optionEntityId",
"text"
],
"type": "object"
},
"type": [
"null",
"array"
]
}
},
"type": [
"null",
"object"
]
},
"variantEntityId": {
"type": [
"null",
"integer"
]
}
},
"required": [
"quantity",
"productEntityId",
"variantEntityId"
],
"type": "object"
}
},
"required": [
"item"
],
"type": "object"
},
"name": "add_item_to_cart",
"outputSchema": {
"additionalProperties": false,
"properties": {
"cart": {
"additionalProperties": false,
"properties": {
"amount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"amountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"baseAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"baseAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"createdAt": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"currencyCode": {
"type": "string"
},
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityId",
"discountedAmount",
"discountedAmountInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"displayCurrencyCode": {
"type": "string"
},
"isTaxIncluded": {
"type": "boolean"
},
"lineItems": {
"additionalProperties": false,
"properties": {
"customItems": {
"items": {
"additionalProperties": false,
"properties": {
"entityId": {
"type": "string"
},
"extendedListPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedListPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"name": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"sku": {
"type": [
"null",
"string"
]
}
},
"required": [
"entityId",
"sku",
"name",
"quantity",
"listPrice",
"listPriceInDisplayCurrency",
"extendedListPrice",
"extendedListPriceInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"digitalItems": {
"items": {
"additionalProperties": false,
"properties": {
"brand": {
"type": [
"null",
"string"
]
},
"couponAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"couponAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityId",
"discountedAmount",
"discountedAmountInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"entityId": {
"type": "string"
},
"extendedListPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedListPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"image": {
"additionalProperties": false,
"properties": {
"altText": {
"type": "string"
},
"isDefault": {
"type": "boolean"
},
"urlOriginal": {
"type": "string"
},
"urlTemplate": {
"type": "string"
}
},
"required": [
"urlOriginal",
"urlTemplate",
"altText",
"isDefault"
],
"type": [
"null",
"object"
]
},
"isTaxable": {
"type": "boolean"
},
"listPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"name": {
"type": "string"
},
"originalPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"originalPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"parentEntityId": {
"type": [
"null",
"string"
]
},
"path": {
"type": "string"
},
"productEntityId": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"salePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"salePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"selectedOptions": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedCheckboxOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedDateFieldOption",
"type": "string"
},
"date": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"date",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedFileUploadOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"fileName": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"fileName",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultiLineTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultipleChoiceOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedNumberFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"number": {
"type": "number"
}
},
"required": [
"entityId",
"name",
"__typename",
"number",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
}
]
},
"type": "array"
},
"sku": {
"type": [
"null",
"string"
]
},
"variantEntityId": {
"type": [
"null",
"integer"
]
}
},
"required": [
"entityId",
"parentEntityId",
"productEntityId",
"variantEntityId",
"sku",
"name",
"brand",
"quantity",
"isTaxable",
"path",
"discounts",
"discountedAmount",
"discountedAmountInDisplayCurrency",
"couponAmount",
"couponAmountInDisplayCurrency",
"listPrice",
"listPriceInDisplayCurrency",
"originalPrice",
"originalPriceInDisplayCurrency",
"salePrice",
"salePriceInDisplayCurrency",
"extendedListPrice",
"extendedListPriceInDisplayCurrency",
"extendedSalePrice",
"extendedSalePriceInDisplayCurrency",
"image"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"giftCertificates": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"amountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
},
"isTaxable": {
"type": "boolean"
},
"message": {
"type": [
"null",
"string"
]
},
"name": {
"type": "string"
},
"recipient": {
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"email"
],
"type": "object"
},
"sender": {
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"email"
],
"type": "object"
},
"theme": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"theme",
"isTaxable",
"message",
"amount",
"amountInDisplayCurrency",
"sender",
"recipient"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"physicalItems": {
"items": {
"additionalProperties": false,
"properties": {
"brand": {
"type": [
"null",
"string"
]
},
"couponAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"couponAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityId",
"discountedAmount",
"discountedAmountInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"entityId": {
"type": "string"
},
"extendedListPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedListPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"giftWrapping": {
"additionalProperties": false,
"properties": {
"amount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"amountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"message": {
"type": [
"null",
"string"
]
},
"name": {
"type": "string"
}
},
"required": [
"name",
"message",
"amount",
"amountInDisplayCurrency"
],
"type": [
"null",
"object"
]
},
"image": {
"additionalProperties": false,
"properties": {
"altText": {
"type": "string"
},
"isDefault": {
"type": "boolean"
},
"urlOriginal": {
"type": "string"
},
"urlTemplate": {
"type": "string"
}
},
"required": [
"urlOriginal",
"urlTemplate",
"altText",
"isDefault"
],
"type": [
"null",
"object"
]
},
"isShippingRequired": {
"type": "boolean"
},
"isTaxable": {
"type": "boolean"
},
"listPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"name": {
"type": "string"
},
"originalPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"originalPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"parentEntityId": {
"type": [
"null",
"string"
]
},
"path": {
"type": "string"
},
"productEntityId": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"salePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"salePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"selectedOptions": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedCheckboxOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedDateFieldOption",
"type": "string"
},
"date": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"date",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedFileUploadOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"fileName": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"fileName",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultiLineTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultipleChoiceOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedNumberFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"number": {
"type": "number"
}
},
"required": [
"entityId",
"name",
"__typename",
"number",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
}
]
},
"type": "array"
},
"sku": {
"type": [
"null",
"string"
]
},
"variantEntityId": {
"type": [
"null",
"integer"
]
}
},
"required": [
"entityId",
"parentEntityId",
"productEntityId",
"variantEntityId",
"sku",
"name",
"brand",
"quantity",
"isTaxable",
"isShippingRequired",
"path",
"discounts",
"discountedAmount",
"discountedAmountInDisplayCurrency",
"couponAmount",
"couponAmountInDisplayCurrency",
"listPrice",
"listPriceInDisplayCurrency",
"originalPrice",
"originalPriceInDisplayCurrency",
"salePrice",
"salePriceInDisplayCurrency",
"extendedListPrice",
"extendedListPriceInDisplayCurrency",
"extendedSalePrice",
"extendedSalePriceInDisplayCurrency",
"giftWrapping",
"image"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"totalQuantity": {
"type": "integer"
}
},
"required": [
"totalQuantity",
"physicalItems",
"digitalItems",
"giftCertificates",
"customItems"
],
"type": "object"
},
"locale": {
"type": "string"
},
"updatedAt": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"version": {
"type": [
"null",
"integer"
]
}
},
"required": [
"currencyCode",
"displayCurrencyCode",
"isTaxIncluded",
"locale",
"version",
"baseAmount",
"baseAmountInDisplayCurrency",
"discountedAmount",
"discountedAmountInDisplayCurrency",
"amount",
"amountInDisplayCurrency",
"discounts",
"lineItems",
"createdAt",
"updatedAt"
],
"type": [
"null",
"object"
]
},
"message": {
"type": "string"
},
"success": {
"type": "boolean"
}
},
"required": [
"success",
"cart"
],
"type": "object"
}
},
{
"description": "\nCreateResult a checkout URL for a cart assigned to a current session\n\nArguments:\nNone, but requires a cart to be present in the current session.\n\nReturns:\n- checkoutURL - the URL to redirect the user to for checkout\n- errors - any errors encountered during the process (like, cart not found, etc.)\n\nFlow:\n- Call 'manage_cart' with 'create_cart' operation to create a new cart.\n- Call this tool to create a checkout URL for the cart assigned to the current session.\n",
"inputSchema": {
"additionalProperties": false,
"type": "object"
},
"name": "create_checkout_url",
"outputSchema": {
"additionalProperties": false,
"properties": {
"checkoutURL": {
"type": [
"null",
"string"
]
},
"message": {
"type": "string"
},
"success": {
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
{
"description": "\nGet the details of one or more products. The details are the variants, the options, and\nthe images.\n\nArguments\n\nproductIds - The list of product IDs. Get these IDs from the 'search_products' tool.\n Request only the products that the user needs.\n The server has a maximum count of IDs. The default maximum is 20.\n If you send too many IDs, the server returns an error. Then send fewer IDs.\noption_values - The option IDs and the value IDs of one variant.\n Use this argument with one product ID only. This argument applies to the B2C catalog.\n For a B2B buyer, the tool returns all the variants. Then select one variant.\nchannelId - Optional. This argument selects the B2B catalog.\n The default is the channel of the request.\nvariantCursor - Optional. This argument gets the next page of variants.\n Use this argument with one product ID only.\n Take the value from 'nextVariantCursor' in the previous result.\n If 'nextVariantCursor' is absent, or is null, or is the text \"null\", do not send this\n argument.\n\nResults\n\nThe tool returns a list of products in 'products'. The output schema gives all the\nfields.\nA product has 'modifierOptions' only if the product has modifier options.\nA variant has a price, an inventory level, a purchase flag, and bulk prices only for a\nB2B buyer.\nIf the tool does not find a product, the list does not include that product.\n\nModifier options\n\nA modifier option is a product choice that is not a variant.\nExamples are an engraving message and a gift note.\nA variant option is never a modifier option.\n\nIf a product has no 'modifierOptions', add the product to the cart without\n'selectedOptions'.\n\nAn option is required if 'isRequired' is 'true'.\nSend each required option to the 'add_item_to_cart' tool.\nIf you do not send a required option, the server does not add the item.\nA variant selection does not replace a required option.\n\nEach option has 'optionEntityId', 'displayName', and 'selectedOptionsKey'.\n'selectedOptionsKey' is the name of the field to send the option in.\nA choice option has 'values'. Each value has 'valueEntityId' and 'label'.\nA free-entry option has 'constraints' in place of 'values'.\n\nIf 'unsupported' is 'true', you cannot send the option. A file upload is one example.\nIf such an option is also required, tell the user to buy the product on the website.\n\nVariant pages\n\nThe list of variants can be one page of a longer list. The server sets the page size.\n\nIf 'hasMoreVariants' is 'true', more variants exist than the tool returned.\nThen do not tell the user that a variant does not exist. You did not receive all the\nvariants.\n\nTo get the next page, call this tool again. Send the same product ID, and only that\nproduct ID. Send 'variantCursor' with the value of 'nextVariantCursor'.\n\nA filter is better than a page walk. If the user named the variant, send 'option_values'\ninstead. One filtered call is cheaper than many pages.\n\nDo not change 'option_values' between pages. The cursor is a position in the list of the\nprevious call. A different filter gives the wrong variants.\n\nStock\n\nEach product has 'inStock'. It tells you if the store has units in stock.\nIt does not tell you if the user can buy the product.\n\nIf 'inStock' is 'false', do not refuse the request.\nMany stores accept orders for products that are not in stock.\nTell the user that the product is not in stock, and that delivery can take more time.\nThen add the product if the user agrees.\nIf the store blocks the purchase, the 'add_item_to_cart' tool fails and gives a reason.\nGive that reason to the user.\n\nIf 'inStock' is 'true', the store reports no out-of-stock condition.\nA store that does not count stock reports 'true' for all products.\nTherefore do not tell the user a quantity.\n\n'inventoryLevel' is present only if the store publishes stock counts.\nIf 'inventoryLevel' is absent, the count is unknown. The count is not zero.\n\nEach variant has its own 'inStock'. Use the value of the variant if you add one variant.\n\nSteps\n\n1. Call the 'search_products' tool to get the product IDs.\n2. Call this tool with the product IDs.\n3. Call the 'add_item_to_cart' tool with the results of step 1 and step 2.\n\nIf a product has variants, you must tell the 'add_item_to_cart' tool which variant to\nadd.\nIf a product has required modifier options, you must send those options.\n",
"inputSchema": {
"additionalProperties": false,
"properties": {
"channelId": {
"type": [
"null",
"integer"
]
},
"option_values": {
"items": {
"additionalProperties": false,
"properties": {
"optionEntityId": {
"type": "integer"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"optionEntityId",
"valueEntityId"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"productIds": {
"items": {
"type": "integer"
},
"type": [
"null",
"array"
]
},
"variantCursor": {
"type": [
"null",
"string"
]
}
},
"required": [
"productIds"
],
"type": "object"
},
"name": "get_product_details",
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"products": {
"items": {
"additionalProperties": false,
"properties": {
"availability": {
"type": "string"
},
"currencyCode": {
"type": "string"
},
"hasMoreVariants": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"images": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"inStock": {
"type": [
"null",
"boolean"
]
},
"inventoryTracking": {
"type": "string"
},
"isPriceHidden": {
"type": "boolean"
},
"modifierOptions": {
"items": {
"additionalProperties": false,
"properties": {
"constraints": {
"additionalProperties": false,
"properties": {
"earliest": {
"type": "string"
},
"highest": {
"type": [
"null",
"number"
]
},
"isIntegerOnly": {
"type": "boolean"
},
"latest": {
"type": "string"
},
"lowest": {
"type": [
"null",
"number"
]
},
"maxLength": {
"type": [
"null",
"integer"
]
},
"maxLines": {
"type": [
"null",
"integer"
]
},
"minLength": {
"type": [
"null",
"integer"
]
}
},
"type": [
"null",
"object"
]
},
"displayName": {
"type": "string"
},
"isRequired": {
"type": "boolean"
},
"optionEntityId": {
"type": "integer"
},
"selectedOptionsKey": {
"type": "string"
},
"unsupported": {
"type": "boolean"
},
"values": {
"items": {
"additionalProperties": false,
"properties": {
"isDefault": {
"type": "boolean"
},
"label": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"valueEntityId",
"label"
],
"type": "object"
},
"type": [
"null",
"array"
]
}
},
"required": [
"optionEntityId",
"displayName",
"isRequired"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"name": {
"type": "string"
},
"nextVariantCursor": {
"type": "string"
},
"orderQuantityMaximum": {
"type": "integer"
},
"orderQuantityMinimum": {
"type": "integer"
},
"productUrl": {
"type": "string"
},
"sku": {
"type": "string"
},
"variants": {
"items": {
"additionalProperties": false,
"properties": {
"SKU": {
"type": "string"
},
"bulkPricing": {
"items": {
"additionalProperties": false,
"properties": {
"maxQty": {
"type": [
"null",
"integer"
]
},
"minQty": {
"type": "integer"
},
"price": {
"type": "number"
}
},
"required": [
"minQty",
"price"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"entityId": {
"type": "integer"
},
"inStock": {
"type": [
"null",
"boolean"
]
},
"inventoryLevel": {
"type": [
"null",
"integer"
]
},
"options": {
"items": {
"additionalProperties": false,
"properties": {
"optionId": {
"type": "integer"
},
"optionLabel": {
"type": "string"
},
"valueId": {
"type": "integer"
},
"valueLabel": {
"type": "string"
}
},
"required": [
"optionId",
"optionLabel",
"valueId",
"valueLabel"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"price": {
"type": [
"null",
"number"
]
},
"purchaseable": {
"type": [
"null",
"boolean"
]
}
},
"required": [
"entityId",
"SKU"
],
"type": "object"
},
"type": [
"null",
"array"
]
}
},
"type": "object"
},
"type": [
"null",
"array"
]
},
"success": {
"type": "boolean"
},
"totalCount": {
"type": "integer"
}
},
"required": [
"success",
"products",
"totalCount"
],
"type": "object"
}
},
{
"description": "\nRemove specific items from your shopping cart.\nIt is removing the item completly from the cart.\nIf you want to reduce quantity of the items use 'update_cart_item'\n\nRemove unwanted items from your shopping cart by targeting specific item IDs. This tool provides precise control over cart cleanup and item removal.\n\nUse this tool when customers want to:\n-Remove specific products they no longer want\n-Delete gift certificates from their cart\n-Clean up their cart before checkout\n-Remove items added by mistake\n\nFeatures:\n- Target removal by specific item ID\n- Works with both products and gift certificates\n- Maintains cart structure after removal\n- Immediate cart updates\n\nFlow:\n- Call 'search_products' tool to find products by search term.\n- Call 'get_product_details' tool to get product variants and images.\n- Call 'add_item_to_cart' tool to create new cart with item\n- Call 'add_item_to_cart' tool to add another item to cart\n- Call 'remove_item_from_cart' tool to remove added item to cart\n- Call 'create_checkout_url' tool to generate a checkout URL for the cart.\n\nRequires an existing cart with items to remove.\n",
"inputSchema": {
"additionalProperties": false,
"properties": {
"item_id": {
"type": "string"
}
},
"required": [
"item_id"
],
"type": "object"
},
"name": "remove_item_from_cart",
"outputSchema": {
"additionalProperties": false,
"properties": {
"cart": {
"additionalProperties": false,
"properties": {
"amount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"amountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"baseAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"baseAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"createdAt": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"currencyCode": {
"type": "string"
},
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityId",
"discountedAmount",
"discountedAmountInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"displayCurrencyCode": {
"type": "string"
},
"isTaxIncluded": {
"type": "boolean"
},
"lineItems": {
"additionalProperties": false,
"properties": {
"customItems": {
"items": {
"additionalProperties": false,
"properties": {
"entityId": {
"type": "string"
},
"extendedListPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedListPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"name": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"sku": {
"type": [
"null",
"string"
]
}
},
"required": [
"entityId",
"sku",
"name",
"quantity",
"listPrice",
"listPriceInDisplayCurrency",
"extendedListPrice",
"extendedListPriceInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"digitalItems": {
"items": {
"additionalProperties": false,
"properties": {
"brand": {
"type": [
"null",
"string"
]
},
"couponAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"couponAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityId",
"discountedAmount",
"discountedAmountInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"entityId": {
"type": "string"
},
"extendedListPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedListPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"image": {
"additionalProperties": false,
"properties": {
"altText": {
"type": "string"
},
"isDefault": {
"type": "boolean"
},
"urlOriginal": {
"type": "string"
},
"urlTemplate": {
"type": "string"
}
},
"required": [
"urlOriginal",
"urlTemplate",
"altText",
"isDefault"
],
"type": [
"null",
"object"
]
},
"isTaxable": {
"type": "boolean"
},
"listPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"name": {
"type": "string"
},
"originalPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"originalPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"parentEntityId": {
"type": [
"null",
"string"
]
},
"path": {
"type": "string"
},
"productEntityId": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"salePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"salePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"selectedOptions": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedCheckboxOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedDateFieldOption",
"type": "string"
},
"date": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"date",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedFileUploadOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"fileName": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"fileName",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultiLineTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultipleChoiceOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedNumberFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"number": {
"type": "number"
}
},
"required": [
"entityId",
"name",
"__typename",
"number",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
}
]
},
"type": "array"
},
"sku": {
"type": [
"null",
"string"
]
},
"variantEntityId": {
"type": [
"null",
"integer"
]
}
},
"required": [
"entityId",
"parentEntityId",
"productEntityId",
"variantEntityId",
"sku",
"name",
"brand",
"quantity",
"isTaxable",
"path",
"discounts",
"discountedAmount",
"discountedAmountInDisplayCurrency",
"couponAmount",
"couponAmountInDisplayCurrency",
"listPrice",
"listPriceInDisplayCurrency",
"originalPrice",
"originalPriceInDisplayCurrency",
"salePrice",
"salePriceInDisplayCurrency",
"extendedListPrice",
"extendedListPriceInDisplayCurrency",
"extendedSalePrice",
"extendedSalePriceInDisplayCurrency",
"image"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"giftCertificates": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"amountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
},
"isTaxable": {
"type": "boolean"
},
"message": {
"type": [
"null",
"string"
]
},
"name": {
"type": "string"
},
"recipient": {
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"email"
],
"type": "object"
},
"sender": {
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"email"
],
"type": "object"
},
"theme": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"theme",
"isTaxable",
"message",
"amount",
"amountInDisplayCurrency",
"sender",
"recipient"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"physicalItems": {
"items": {
"additionalProperties": false,
"properties": {
"brand": {
"type": [
"null",
"string"
]
},
"couponAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"couponAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityId",
"discountedAmount",
"discountedAmountInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"entityId": {
"type": "string"
},
"extendedListPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedListPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"giftWrapping": {
"additionalProperties": false,
"properties": {
"amount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"amountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"message": {
"type": [
"null",
"string"
]
},
"name": {
"type": "string"
}
},
"required": [
"name",
"message",
"amount",
"amountInDisplayCurrency"
],
"type": [
"null",
"object"
]
},
"image": {
"additionalProperties": false,
"properties": {
"altText": {
"type": "string"
},
"isDefault": {
"type": "boolean"
},
"urlOriginal": {
"type": "string"
},
"urlTemplate": {
"type": "string"
}
},
"required": [
"urlOriginal",
"urlTemplate",
"altText",
"isDefault"
],
"type": [
"null",
"object"
]
},
"isShippingRequired": {
"type": "boolean"
},
"isTaxable": {
"type": "boolean"
},
"listPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"name": {
"type": "string"
},
"originalPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"originalPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"parentEntityId": {
"type": [
"null",
"string"
]
},
"path": {
"type": "string"
},
"productEntityId": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"salePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"salePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"selectedOptions": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedCheckboxOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedDateFieldOption",
"type": "string"
},
"date": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"date",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedFileUploadOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"fileName": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"fileName",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultiLineTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultipleChoiceOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedNumberFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"number": {
"type": "number"
}
},
"required": [
"entityId",
"name",
"__typename",
"number",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
}
]
},
"type": "array"
},
"sku": {
"type": [
"null",
"string"
]
},
"variantEntityId": {
"type": [
"null",
"integer"
]
}
},
"required": [
"entityId",
"parentEntityId",
"productEntityId",
"variantEntityId",
"sku",
"name",
"brand",
"quantity",
"isTaxable",
"isShippingRequired",
"path",
"discounts",
"discountedAmount",
"discountedAmountInDisplayCurrency",
"couponAmount",
"couponAmountInDisplayCurrency",
"listPrice",
"listPriceInDisplayCurrency",
"originalPrice",
"originalPriceInDisplayCurrency",
"salePrice",
"salePriceInDisplayCurrency",
"extendedListPrice",
"extendedListPriceInDisplayCurrency",
"extendedSalePrice",
"extendedSalePriceInDisplayCurrency",
"giftWrapping",
"image"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"totalQuantity": {
"type": "integer"
}
},
"required": [
"totalQuantity",
"physicalItems",
"digitalItems",
"giftCertificates",
"customItems"
],
"type": "object"
},
"locale": {
"type": "string"
},
"updatedAt": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"version": {
"type": [
"null",
"integer"
]
}
},
"required": [
"currencyCode",
"displayCurrencyCode",
"isTaxIncluded",
"locale",
"version",
"baseAmount",
"baseAmountInDisplayCurrency",
"discountedAmount",
"discountedAmountInDisplayCurrency",
"amount",
"amountInDisplayCurrency",
"discounts",
"lineItems",
"createdAt",
"updatedAt"
],
"type": [
"null",
"object"
]
},
"message": {
"type": "string"
},
"success": {
"type": "boolean"
}
},
"required": [
"success",
"cart"
],
"type": "object"
}
},
{
"description": "\nSearch products by a term\n\nArguments:\nterm - the search term to look for products. It should be at least 3 characters long.\ncursor - optional, used for pagination. If provided, it will return the next page of results after.\n\nPagination:\nSupports pagination with 'cursor' arguments. If 'cursor' is not provided, it will return the first page of results.\nValue for 'cursor' can be obtained from the 'nextCursor' field in the response. If 'nextCursor' is null, it means there are no more results to fetch.\nIf value of cursor is null (or a string representation of 'null') dont send it in the payload.\n\nResults:\nEach product includes 'requiresFileUpload'. When true, the product has a required file-upload\noption (e.g. \"upload your design\") and shouldn't be added to cart through this assistant. Do not\nattempt to purchase it — tell the user it must be ordered on the website.\n\nStock:\nEach product carries 'inStock'. It reports whether the store has units on hand. It does NOT\nreport whether the item can be bought.\n- false does NOT mean the purchase will fail. Many stores accept orders for out-of-stock\n items - backorder, pre-order, or made-to-order goods that are fabricated after ordering.\n Whether a given store does is not exposed by this API.\n So: tell the user the item is out of stock and may take longer to arrive, then ADD IT if\n they still want it. Do not refuse on 'inStock: false' alone.\n- If the store really does block it, 'add_item_to_cart' fails and returns the reason. Relay\n that reason to the user. Attempting the add is the only reliable way to find out.\n- true only means no out-of-stock condition is reported. A store that does not track inventory\n reports true for every product, so never state or imply a quantity.\n- 'inventoryLevel' appears only on stores that publish stock figures; absent means undisclosed,\n not zero.\n\nFlow:\n- Call this tool with a 'term' argument and optionally with 'cursor' to search for products.\n\t- if you find a matching product, call 'get_product_details' with the product ID to get its\n\t variants and options (if any).\n\t- if 'requiresFileUpload' is true, inform the user the product needs a file upload and cannot\n\t be purchased here.\n- Call 'add_item_to_cart' with results of 'search_products' and 'get_product_details' (variant) tools to add the product to the cart.\n - [IMPORTANT] If product has variants ask user to pick\n",
"inputSchema": {
"additionalProperties": false,
"properties": {
"context": {
"description": "Additional information about the request such as user demographics, mood, location, or other relevant details that could help in tailoring the response appropriately. Should not contains PII.",
"type": [
"null",
"string"
]
},
"cursor": {
"type": [
"null",
"string"
]
},
"term": {
"type": "string"
}
},
"required": [
"term"
],
"type": "object"
},
"name": "search_products",
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"nextCursor": {
"type": "string"
},
"products": {
"items": {
"additionalProperties": false,
"properties": {
"availability": {
"type": "string"
},
"currencyCode": {
"type": "string"
},
"hasBulkPricing": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"imageUrl": {
"type": "string"
},
"inStock": {
"type": [
"null",
"boolean"
]
},
"inventoryLevel": {
"type": [
"null",
"integer"
]
},
"inventoryTracking": {
"type": "string"
},
"isPriceHidden": {
"type": "boolean"
},
"name": {
"type": "string"
},
"orderQuantityMaximum": {
"type": "integer"
},
"orderQuantityMinimum": {
"type": "integer"
},
"priceRange": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": [
"null",
"object"
]
},
"productUrl": {
"type": "string"
},
"requiresFileUpload": {
"type": "boolean"
},
"sku": {
"type": "string"
},
"variantCount": {
"type": "integer"
}
},
"required": [
"id",
"name",
"sku",
"hasBulkPricing",
"isPriceHidden"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"success": {
"type": "boolean"
}
},
"required": [
"success",
"products"
],
"type": "object"
}
},
{
"description": "\nChange an item that is already in the shopping cart.\n\nUse this tool to change the quantity, the variant, or the modifier options of one cart\nitem. A cart must exist and must have items.\n\nSteps\n\n1. Call the 'add_item_to_cart' tool to put an item in the cart.\n2. Call this tool to change the item.\n3. Call the 'create_checkout_url' tool to get a checkout URL.\n\nRules\n\nSend 'line_item_id' to select the cart item to change.\nSend 'quantity' and 'productEntityId' in 'item'.\nIf the product has variants, send 'variantEntityId'.\n\nModifier options\n\n'item.selectedOptions' works as it works in the 'add_item_to_cart' tool.\nThe 'get_product_details' tool returns these options in 'modifierOptions'.\n\nIf the product has required modifier options, send them again in this request.\nIf you do not send them, the server does not change the item.\nSend only the buckets that you need.\n",
"inputSchema": {
"additionalProperties": false,
"properties": {
"item": {
"additionalProperties": false,
"properties": {
"productEntityId": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"selectedOptions": {
"additionalProperties": false,
"properties": {
"checkboxes": {
"items": {
"additionalProperties": false,
"properties": {
"optionEntityId": {
"type": "integer"
},
"optionValueEntityId": {
"type": "integer"
}
},
"required": [
"optionEntityId",
"optionValueEntityId"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"dateFields": {
"items": {
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"optionEntityId": {
"type": "integer"
}
},
"required": [
"optionEntityId",
"date"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"multiLineTextFields": {
"items": {
"additionalProperties": false,
"properties": {
"optionEntityId": {
"type": "integer"
},
"text": {
"type": "string"
}
},
"required": [
"optionEntityId",
"text"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"multipleChoices": {
"items": {
"additionalProperties": false,
"properties": {
"optionEntityId": {
"type": "integer"
},
"optionValueEntityId": {
"type": "integer"
}
},
"required": [
"optionEntityId",
"optionValueEntityId"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"numberFields": {
"items": {
"additionalProperties": false,
"properties": {
"number": {
"type": "number"
},
"optionEntityId": {
"type": "integer"
}
},
"required": [
"optionEntityId",
"number"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"textFields": {
"items": {
"additionalProperties": false,
"properties": {
"optionEntityId": {
"type": "integer"
},
"text": {
"type": "string"
}
},
"required": [
"optionEntityId",
"text"
],
"type": "object"
},
"type": [
"null",
"array"
]
}
},
"type": [
"null",
"object"
]
},
"variantEntityId": {
"type": [
"null",
"integer"
]
}
},
"required": [
"quantity",
"productEntityId",
"variantEntityId"
],
"type": "object"
},
"line_item_id": {
"type": "string"
}
},
"required": [
"line_item_id",
"item"
],
"type": "object"
},
"name": "update_cart_item",
"outputSchema": {
"additionalProperties": false,
"properties": {
"cart": {
"additionalProperties": false,
"properties": {
"amount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"amountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"baseAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"baseAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"createdAt": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"currencyCode": {
"type": "string"
},
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityId",
"discountedAmount",
"discountedAmountInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"displayCurrencyCode": {
"type": "string"
},
"isTaxIncluded": {
"type": "boolean"
},
"lineItems": {
"additionalProperties": false,
"properties": {
"customItems": {
"items": {
"additionalProperties": false,
"properties": {
"entityId": {
"type": "string"
},
"extendedListPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedListPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"name": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"sku": {
"type": [
"null",
"string"
]
}
},
"required": [
"entityId",
"sku",
"name",
"quantity",
"listPrice",
"listPriceInDisplayCurrency",
"extendedListPrice",
"extendedListPriceInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"digitalItems": {
"items": {
"additionalProperties": false,
"properties": {
"brand": {
"type": [
"null",
"string"
]
},
"couponAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"couponAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityId",
"discountedAmount",
"discountedAmountInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"entityId": {
"type": "string"
},
"extendedListPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedListPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"image": {
"additionalProperties": false,
"properties": {
"altText": {
"type": "string"
},
"isDefault": {
"type": "boolean"
},
"urlOriginal": {
"type": "string"
},
"urlTemplate": {
"type": "string"
}
},
"required": [
"urlOriginal",
"urlTemplate",
"altText",
"isDefault"
],
"type": [
"null",
"object"
]
},
"isTaxable": {
"type": "boolean"
},
"listPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"name": {
"type": "string"
},
"originalPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"originalPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"parentEntityId": {
"type": [
"null",
"string"
]
},
"path": {
"type": "string"
},
"productEntityId": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"salePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"salePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"selectedOptions": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedCheckboxOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedDateFieldOption",
"type": "string"
},
"date": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"date",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedFileUploadOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"fileName": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"fileName",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultiLineTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultipleChoiceOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedNumberFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"number": {
"type": "number"
}
},
"required": [
"entityId",
"name",
"__typename",
"number",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
}
]
},
"type": "array"
},
"sku": {
"type": [
"null",
"string"
]
},
"variantEntityId": {
"type": [
"null",
"integer"
]
}
},
"required": [
"entityId",
"parentEntityId",
"productEntityId",
"variantEntityId",
"sku",
"name",
"brand",
"quantity",
"isTaxable",
"path",
"discounts",
"discountedAmount",
"discountedAmountInDisplayCurrency",
"couponAmount",
"couponAmountInDisplayCurrency",
"listPrice",
"listPriceInDisplayCurrency",
"originalPrice",
"originalPriceInDisplayCurrency",
"salePrice",
"salePriceInDisplayCurrency",
"extendedListPrice",
"extendedListPriceInDisplayCurrency",
"extendedSalePrice",
"extendedSalePriceInDisplayCurrency",
"image"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"giftCertificates": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"amountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
},
"isTaxable": {
"type": "boolean"
},
"message": {
"type": [
"null",
"string"
]
},
"name": {
"type": "string"
},
"recipient": {
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"email"
],
"type": "object"
},
"sender": {
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"email"
],
"type": "object"
},
"theme": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"theme",
"isTaxable",
"message",
"amount",
"amountInDisplayCurrency",
"sender",
"recipient"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"physicalItems": {
"items": {
"additionalProperties": false,
"properties": {
"brand": {
"type": [
"null",
"string"
]
},
"couponAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"couponAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"discountedAmount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"discountedAmountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityId",
"discountedAmount",
"discountedAmountInDisplayCurrency"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"entityId": {
"type": "string"
},
"extendedListPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedListPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"extendedSalePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"giftWrapping": {
"additionalProperties": false,
"properties": {
"amount": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"amountInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"message": {
"type": [
"null",
"string"
]
},
"name": {
"type": "string"
}
},
"required": [
"name",
"message",
"amount",
"amountInDisplayCurrency"
],
"type": [
"null",
"object"
]
},
"image": {
"additionalProperties": false,
"properties": {
"altText": {
"type": "string"
},
"isDefault": {
"type": "boolean"
},
"urlOriginal": {
"type": "string"
},
"urlTemplate": {
"type": "string"
}
},
"required": [
"urlOriginal",
"urlTemplate",
"altText",
"isDefault"
],
"type": [
"null",
"object"
]
},
"isShippingRequired": {
"type": "boolean"
},
"isTaxable": {
"type": "boolean"
},
"listPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"listPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"name": {
"type": "string"
},
"originalPrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"originalPriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"parentEntityId": {
"type": [
"null",
"string"
]
},
"path": {
"type": "string"
},
"productEntityId": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"salePrice": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"salePriceInDisplayCurrency": {
"additionalProperties": false,
"properties": {
"currencyCode": {
"type": "string"
},
"formatted": {
"type": [
"null",
"string"
]
},
"value": {
"type": "number"
}
},
"required": [
"currencyCode",
"value",
"formatted"
],
"type": "object"
},
"selectedOptions": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedCheckboxOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedDateFieldOption",
"type": "string"
},
"date": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"date",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedFileUploadOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"fileName": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"fileName",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultiLineTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedMultipleChoiceOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueEntityId": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"__typename",
"value",
"valueEntityId",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedNumberFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"number": {
"type": "number"
}
},
"required": [
"entityId",
"name",
"__typename",
"number",
"__typename"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"__typename": {
"const": "CartSelectedTextFieldOption",
"type": "string"
},
"entityId": {
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"entityId",
"name",
"__typename",
"text",
"__typename"
],
"type": "object"
}
]
},
"type": "array"
},
"sku": {
"type": [
"null",
"string"
]
},
"variantEntityId": {
"type": [
"null",
"integer"
]
}
},
"required": [
"entityId",
"parentEntityId",
"productEntityId",
"variantEntityId",
"sku",
"name",
"brand",
"quantity",
"isTaxable",
"isShippingRequired",
"path",
"discounts",
"discountedAmount",
"discountedAmountInDisplayCurrency",
"couponAmount",
"couponAmountInDisplayCurrency",
"listPrice",
"listPriceInDisplayCurrency",
"originalPrice",
"originalPriceInDisplayCurrency",
"salePrice",
"salePriceInDisplayCurrency",
"extendedListPrice",
"extendedListPriceInDisplayCurrency",
"extendedSalePrice",
"extendedSalePriceInDisplayCurrency",
"giftWrapping",
"image"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"totalQuantity": {
"type": "integer"
}
},
"required": [
"totalQuantity",
"physicalItems",
"digitalItems",
"giftCertificates",
"customItems"
],
"type": "object"
},
"locale": {
"type": "string"
},
"updatedAt": {
"additionalProperties": false,
"properties": {
"utc": {
"type": "string"
}
},
"required": [
"utc"
],
"type": "object"
},
"version": {
"type": [
"null",
"integer"
]
}
},
"required": [
"currencyCode",
"displayCurrencyCode",
"isTaxIncluded",
"locale",
"version",
"baseAmount",
"baseAmountInDisplayCurrency",
"discountedAmount",
"discountedAmountInDisplayCurrency",
"amount",
"amountInDisplayCurrency",
"discounts",
"lineItems",
"createdAt",
"updatedAt"
],
"type": [
"null",
"object"
]
},
"message": {
"type": "string"
},
"success": {
"type": "boolean"
}
},
"required": [
"success",
"cart"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:85f59ec605fe9266eb0e96486f2642e502a5c55662d7ae66ea9e29221703cbcf | sha256sum