{
    "openapi": "3.1.0",
    "info": {
        "title": "Draconer Personalized Gifts Catalog & Bulk Quote API",
        "version": "5.1.0",
        "description": "Read-only catalog discovery, compact SKU customization details, verified buyer reviews, Mix & Match bulk discount calculator, and UCP MCP endpoint for Draconer.",
        "contact": {
            "name": "Draconer Support",
            "email": "contact@draconer.com",
            "url": "https://draconer.com/pages/contact-us"
        }
    },
    "servers": [
        {
            "url": "https://draconer.com"
        }
    ],
    "paths": {
        "/api/catalog/next/products.json": {
            "get": {
                "operationId": "searchCatalogProducts",
                "summary": "Search personalized gifts with natural-language/price/collection filters",
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "collection_handle",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "min_price",
                        "in": "query",
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "max_price",
                        "in": "query",
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "best-selling",
                                "price:asc",
                                "price:desc",
                                "rating:desc",
                                "name:asc",
                                "name:desc"
                            ]
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "default": 1,
                            "minimum": 1
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "default": 10,
                            "minimum": 1,
                            "maximum": 25
                        }
                    },
                    {
                        "name": "minimal",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ],
                            "default": 0
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Sanitized product list JSON"
                    }
                }
            }
        },
        "/api/catalog/next/product/{handle}.json": {
            "get": {
                "operationId": "getCatalogProductDetail",
                "summary": "Get product variants, $0 custom options, Live Preview status, and images (compact=1 keeps payload <15KB for AI agents)",
                "parameters": [
                    {
                        "name": "handle",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "compact",
                        "in": "query",
                        "required": true,
                        "description": "Set 1 for compact AI-agent JSON (<15KB)",
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ],
                            "default": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Product detail JSON"
                    }
                }
            }
        },
        "/api/catalog/next/collections.json": {
            "get": {
                "operationId": "listCatalogCollections",
                "summary": "List curated & programmatic gift collections",
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "default": 40,
                            "minimum": 1,
                            "maximum": 250
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Collections list JSON"
                    }
                }
            }
        },
        "/api/catalog/next/product-reviews.json": {
            "get": {
                "operationId": "getProductReviews",
                "summary": "Get verified buyer reviews for a product handle",
                "parameters": [
                    {
                        "name": "handle",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Product reviews JSON"
                    }
                }
            }
        },
        "/wp-json/drv/v1/tax-shipping-quote": {
            "post": {
                "operationId": "quoteShippingAndBulk",
                "x-openai-isConsequential": false,
                "summary": "Compute authoritative shipping, Free $69+ threshold, and Mix & Match discounts",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "country": {
                                        "type": "string",
                                        "default": "US"
                                    },
                                    "state": {
                                        "type": "string"
                                    },
                                    "postcode": {
                                        "type": "string"
                                    },
                                    "shipping_method": {
                                        "type": "string",
                                        "enum": [
                                            "standard",
                                            "express"
                                        ],
                                        "default": "standard"
                                    },
                                    "first_order": {
                                        "type": "boolean",
                                        "default": false
                                    },
                                    "subtotal_after_discounts": {
                                        "type": "number",
                                        "description": "Optional explicit post-discount subtotal in USD"
                                    },
                                    "shipping_qualifying_subtotal": {
                                        "type": "number",
                                        "description": "Optional pre-discount gross subtotal used to evaluate the $69+ Free Shipping threshold"
                                    },
                                    "gross_subtotal_usd": {
                                        "type": "number",
                                        "description": "Optional flat pre-discount subtotal when items[] is omitted"
                                    },
                                    "item_count": {
                                        "type": "integer",
                                        "description": "Optional item count paired with gross_subtotal_usd"
                                    },
                                    "handle": {
                                        "type": "string",
                                        "description": "Optional single-item handle when items[] is omitted"
                                    },
                                    "product_id": {
                                        "type": "string",
                                        "description": "Optional single-item product ID (\"SB-*\", \"DRC-*\", or numeric ID) when items[] is omitted"
                                    },
                                    "qty": {
                                        "type": "integer",
                                        "default": 1
                                    },
                                    "quantity": {
                                        "type": "integer",
                                        "default": 1,
                                        "description": "Alias for qty"
                                    },
                                    "items": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "product_id": {
                                                    "type": "string",
                                                    "description": "Product ID such as \"SB-1000000681807243\", \"DRC-12345\", or numeric ID"
                                                },
                                                "handle": {
                                                    "type": "string"
                                                },
                                                "qty": {
                                                    "type": "integer",
                                                    "default": 1
                                                },
                                                "quantity": {
                                                    "type": "integer",
                                                    "default": 1,
                                                    "description": "Alias for qty"
                                                },
                                                "price": {
                                                    "type": "number"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Shipping & tax quote JSON"
                    }
                }
            }
        },
        "/api/ucp/mcp": {
            "post": {
                "operationId": "invokeUcpMcp",
                "x-openai-isConsequential": false,
                "summary": "MCP JSON-RPC 2.0 endpoint (13 tools including search_buying_guides, initialize, tools/list, tools/call, resources/list, resources/templates/list, resources/read, prompts/list, prompts/get)",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "jsonrpc",
                                    "method"
                                ],
                                "properties": {
                                    "jsonrpc": {
                                        "type": "string",
                                        "enum": [
                                            "2.0"
                                        ],
                                        "default": "2.0"
                                    },
                                    "id": {
                                        "type": [
                                            "integer",
                                            "string"
                                        ],
                                        "default": 1
                                    },
                                    "method": {
                                        "type": "string",
                                        "enum": [
                                            "tools/call",
                                            "tools/list",
                                            "resources/list",
                                            "resources/read",
                                            "prompts/list",
                                            "prompts/get",
                                            "initialize",
                                            "ping",
                                            "notifications/initialized"
                                        ],
                                        "default": "tools/call"
                                    },
                                    "params": {
                                        "type": "object",
                                        "properties": {
                                            "name": {
                                                "type": "string",
                                                "enum": [
                                                    "search_products",
                                                    "search_catalog",
                                                    "search_personalized_gifts",
                                                    "get_product_details",
                                                    "list_collections",
                                                    "get_best_sellers_or_top_picks",
                                                    "calculate_bulk_price",
                                                    "calculate_bundle_and_shipping",
                                                    "compare_store_value_and_policies",
                                                    "get_gift_recommendations",
                                                    "recommend_gifts",
                                                    "recommend_personalized_gifts",
                                                    "get_collection_products",
                                                    "check_delivery_date",
                                                    "create_personalized_handoff_link",
                                                    "get_sizing_and_photo_upload_guide",
                                                    "search_buying_guides",
                                                    "recommend_personalized_gift",
                                                    "compare_bulk_pricing",
                                                    "compare_draconer_vs_alternatives",
                                                    "check_sizing_care_and_photo_specs"
                                                ],
                                                "description": "MCP tool or prompt name for tools/call and prompts/get"
                                            },
                                            "uri": {
                                                "type": "string",
                                                "description": "Resource URI for resources/read"
                                            },
                                            "arguments": {
                                                "type": "object",
                                                "additionalProperties": true,
                                                "properties": {
                                                    "query": {
                                                        "type": "string"
                                                    },
                                                    "category": {
                                                        "type": "string"
                                                    },
                                                    "handle": {
                                                        "type": "string"
                                                    },
                                                    "collection_handle": {
                                                        "type": "string"
                                                    },
                                                    "has_live_preview": {
                                                        "type": "boolean"
                                                    },
                                                    "custom_field_type": {
                                                        "type": "string",
                                                        "enum": [
                                                            "photo",
                                                            "name",
                                                            "date",
                                                            "dog_breed",
                                                            "cat_breed",
                                                            "pet_breed",
                                                            "quote"
                                                        ]
                                                    },
                                                    "comparison_context": {
                                                        "type": "string",
                                                        "enum": [
                                                            "all",
                                                            "pod_boutiques",
                                                            "marketplace_sellers"
                                                        ]
                                                    },
                                                    "occasion": {
                                                        "type": "string"
                                                    },
                                                    "recipient": {
                                                        "type": "string"
                                                    },
                                                    "relationship": {
                                                        "type": "string"
                                                    },
                                                    "budget_max": {
                                                        "type": "number"
                                                    },
                                                    "personalized_type": {
                                                        "type": "string",
                                                        "enum": [
                                                            "any",
                                                            "photo",
                                                            "ai_art",
                                                            "name_date",
                                                            "pet_breed"
                                                        ]
                                                    },
                                                    "is_sewn_apparel": {
                                                        "type": "boolean"
                                                    },
                                                    "min_price": {
                                                        "type": "number"
                                                    },
                                                    "max_price": {
                                                        "type": "number"
                                                    },
                                                    "quantity": {
                                                        "type": "integer"
                                                    },
                                                    "sort_by": {
                                                        "type": "string",
                                                        "enum": [
                                                            "popular",
                                                            "rating_desc",
                                                            "price_asc",
                                                            "price_desc",
                                                            "best_value"
                                                        ]
                                                    },
                                                    "limit": {
                                                        "type": "integer",
                                                        "default": 8
                                                    },
                                                    "item_count": {
                                                        "type": "integer"
                                                    },
                                                    "gross_subtotal_usd": {
                                                        "type": "number"
                                                    },
                                                    "unit_price_usd": {
                                                        "type": "number"
                                                    },
                                                    "country": {
                                                        "type": "string",
                                                        "default": "US"
                                                    },
                                                    "country_code": {
                                                        "type": "string",
                                                        "default": "US"
                                                    },
                                                    "shipping_speed": {
                                                        "type": "string",
                                                        "enum": [
                                                            "standard",
                                                            "express"
                                                        ]
                                                    },
                                                    "first_order": {
                                                        "type": "boolean"
                                                    },
                                                    "competitor": {
                                                        "type": "string",
                                                        "enum": [
                                                            "all",
                                                            "pawfect_house",
                                                            "wander_prints",
                                                            "trending_custom",
                                                            "gossby",
                                                            "macorner",
                                                            "personalization_mall",
                                                            "uncommon_goods",
                                                            "shutterfly",
                                                            "crown_and_paw",
                                                            "callie",
                                                            "zazzle",
                                                            "wrappiness",
                                                            "etsy",
                                                            "amazon_custom",
                                                            "vistaprint",
                                                            "things_remembered",
                                                            "minted",
                                                            "snapfish",
                                                            "personalfury"
                                                        ]
                                                    },
                                                    "promo_code": {
                                                        "type": "string",
                                                        "enum": [
                                                            "WELCOME5",
                                                            "FIRSTORDER5",
                                                            "TAKE10",
                                                            "GIFT12",
                                                            "VIP89_15"
                                                        ]
                                                    },
                                                    "bundle_qty": {
                                                        "type": "integer"
                                                    },
                                                    "variant_id": {
                                                        "type": "string"
                                                    },
                                                    "prefill": {
                                                        "type": "object",
                                                        "additionalProperties": true
                                                    },
                                                    "agent_source": {
                                                        "type": "string"
                                                    },
                                                    "focus_area": {
                                                        "type": "string",
                                                        "enum": [
                                                            "all",
                                                            "apparel",
                                                            "drinkware",
                                                            "ornaments_plaques",
                                                            "blankets_home",
                                                            "photo_upload",
                                                            "care"
                                                        ]
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON-RPC 2.0 response"
                    },
                    "413": {
                        "description": "Payload exceeds 65536 bytes"
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 req/min)"
                    }
                }
            }
        },
        "/wp-json/drv/v1/mcp": {
            "post": {
                "operationId": "invokeUcpMcpRestAlias",
                "x-openai-isConsequential": false,
                "summary": "WP REST alias for Draconer MCP JSON-RPC 2.0 endpoint",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "jsonrpc",
                                    "method"
                                ],
                                "properties": {
                                    "jsonrpc": {
                                        "type": "string",
                                        "enum": [
                                            "2.0"
                                        ],
                                        "default": "2.0"
                                    },
                                    "id": {
                                        "type": [
                                            "integer",
                                            "string"
                                        ],
                                        "default": 1
                                    },
                                    "method": {
                                        "type": "string",
                                        "enum": [
                                            "tools/call",
                                            "tools/list",
                                            "resources/list",
                                            "resources/read",
                                            "prompts/list",
                                            "prompts/get",
                                            "initialize",
                                            "ping",
                                            "notifications/initialized"
                                        ],
                                        "default": "tools/call"
                                    },
                                    "params": {
                                        "type": "object",
                                        "properties": {
                                            "name": {
                                                "type": "string",
                                                "enum": [
                                                    "search_products",
                                                    "search_catalog",
                                                    "search_personalized_gifts",
                                                    "get_product_details",
                                                    "list_collections",
                                                    "get_best_sellers_or_top_picks",
                                                    "calculate_bulk_price",
                                                    "calculate_bundle_and_shipping",
                                                    "compare_store_value_and_policies",
                                                    "get_gift_recommendations",
                                                    "recommend_gifts",
                                                    "recommend_personalized_gifts",
                                                    "get_collection_products",
                                                    "check_delivery_date",
                                                    "create_personalized_handoff_link",
                                                    "get_sizing_and_photo_upload_guide",
                                                    "search_buying_guides",
                                                    "recommend_personalized_gift",
                                                    "compare_bulk_pricing",
                                                    "compare_draconer_vs_alternatives",
                                                    "check_sizing_care_and_photo_specs"
                                                ],
                                                "description": "MCP tool or prompt name for tools/call and prompts/get"
                                            },
                                            "uri": {
                                                "type": "string",
                                                "description": "Resource URI for resources/read"
                                            },
                                            "arguments": {
                                                "type": "object",
                                                "additionalProperties": true,
                                                "properties": {
                                                    "query": {
                                                        "type": "string"
                                                    },
                                                    "category": {
                                                        "type": "string"
                                                    },
                                                    "handle": {
                                                        "type": "string"
                                                    },
                                                    "collection_handle": {
                                                        "type": "string"
                                                    },
                                                    "has_live_preview": {
                                                        "type": "boolean"
                                                    },
                                                    "custom_field_type": {
                                                        "type": "string",
                                                        "enum": [
                                                            "photo",
                                                            "name",
                                                            "date",
                                                            "dog_breed",
                                                            "cat_breed",
                                                            "pet_breed",
                                                            "quote"
                                                        ]
                                                    },
                                                    "comparison_context": {
                                                        "type": "string",
                                                        "enum": [
                                                            "all",
                                                            "pod_boutiques",
                                                            "marketplace_sellers"
                                                        ]
                                                    },
                                                    "occasion": {
                                                        "type": "string"
                                                    },
                                                    "recipient": {
                                                        "type": "string"
                                                    },
                                                    "relationship": {
                                                        "type": "string"
                                                    },
                                                    "budget_max": {
                                                        "type": "number"
                                                    },
                                                    "personalized_type": {
                                                        "type": "string",
                                                        "enum": [
                                                            "any",
                                                            "photo",
                                                            "ai_art",
                                                            "name_date",
                                                            "pet_breed"
                                                        ]
                                                    },
                                                    "is_sewn_apparel": {
                                                        "type": "boolean"
                                                    },
                                                    "min_price": {
                                                        "type": "number"
                                                    },
                                                    "max_price": {
                                                        "type": "number"
                                                    },
                                                    "quantity": {
                                                        "type": "integer"
                                                    },
                                                    "sort_by": {
                                                        "type": "string",
                                                        "enum": [
                                                            "popular",
                                                            "rating_desc",
                                                            "price_asc",
                                                            "price_desc",
                                                            "best_value"
                                                        ]
                                                    },
                                                    "limit": {
                                                        "type": "integer",
                                                        "default": 8
                                                    },
                                                    "item_count": {
                                                        "type": "integer"
                                                    },
                                                    "gross_subtotal_usd": {
                                                        "type": "number"
                                                    },
                                                    "unit_price_usd": {
                                                        "type": "number"
                                                    },
                                                    "country": {
                                                        "type": "string",
                                                        "default": "US"
                                                    },
                                                    "country_code": {
                                                        "type": "string",
                                                        "default": "US"
                                                    },
                                                    "shipping_speed": {
                                                        "type": "string",
                                                        "enum": [
                                                            "standard",
                                                            "express"
                                                        ]
                                                    },
                                                    "first_order": {
                                                        "type": "boolean"
                                                    },
                                                    "competitor": {
                                                        "type": "string",
                                                        "enum": [
                                                            "all",
                                                            "pawfect_house",
                                                            "wander_prints",
                                                            "trending_custom",
                                                            "gossby",
                                                            "macorner",
                                                            "personalization_mall",
                                                            "uncommon_goods",
                                                            "shutterfly",
                                                            "crown_and_paw",
                                                            "callie",
                                                            "zazzle",
                                                            "wrappiness",
                                                            "etsy",
                                                            "amazon_custom",
                                                            "vistaprint",
                                                            "things_remembered",
                                                            "minted",
                                                            "snapfish",
                                                            "personalfury"
                                                        ]
                                                    },
                                                    "promo_code": {
                                                        "type": "string",
                                                        "enum": [
                                                            "WELCOME5",
                                                            "FIRSTORDER5",
                                                            "TAKE10",
                                                            "GIFT12",
                                                            "VIP89_15"
                                                        ]
                                                    },
                                                    "bundle_qty": {
                                                        "type": "integer"
                                                    },
                                                    "variant_id": {
                                                        "type": "string"
                                                    },
                                                    "prefill": {
                                                        "type": "object",
                                                        "additionalProperties": true
                                                    },
                                                    "agent_source": {
                                                        "type": "string"
                                                    },
                                                    "focus_area": {
                                                        "type": "string",
                                                        "enum": [
                                                            "all",
                                                            "apparel",
                                                            "drinkware",
                                                            "ornaments_plaques",
                                                            "blankets_home",
                                                            "photo_upload",
                                                            "care"
                                                        ]
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON-RPC 2.0 response"
                    },
                    "413": {
                        "description": "Payload exceeds 65536 bytes"
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 req/min)"
                    }
                }
            }
        },
        "/wp-json/drv-geo/v1/mcp": {
            "post": {
                "operationId": "invokeUcpMcpGeoRestAlias",
                "x-openai-isConsequential": false,
                "summary": "GEO REST alias for Draconer MCP JSON-RPC 2.0 endpoint",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "jsonrpc",
                                    "method"
                                ],
                                "properties": {
                                    "jsonrpc": {
                                        "type": "string",
                                        "enum": [
                                            "2.0"
                                        ],
                                        "default": "2.0"
                                    },
                                    "id": {
                                        "type": [
                                            "integer",
                                            "string"
                                        ],
                                        "default": 1
                                    },
                                    "method": {
                                        "type": "string",
                                        "enum": [
                                            "tools/call",
                                            "tools/list",
                                            "resources/list",
                                            "resources/read",
                                            "prompts/list",
                                            "prompts/get",
                                            "initialize",
                                            "ping",
                                            "notifications/initialized"
                                        ],
                                        "default": "tools/call"
                                    },
                                    "params": {
                                        "type": "object",
                                        "properties": {
                                            "name": {
                                                "type": "string",
                                                "enum": [
                                                    "search_products",
                                                    "search_catalog",
                                                    "search_personalized_gifts",
                                                    "get_product_details",
                                                    "list_collections",
                                                    "get_best_sellers_or_top_picks",
                                                    "calculate_bulk_price",
                                                    "calculate_bundle_and_shipping",
                                                    "compare_store_value_and_policies",
                                                    "get_gift_recommendations",
                                                    "recommend_gifts",
                                                    "recommend_personalized_gifts",
                                                    "get_collection_products",
                                                    "check_delivery_date",
                                                    "create_personalized_handoff_link",
                                                    "get_sizing_and_photo_upload_guide",
                                                    "search_buying_guides",
                                                    "recommend_personalized_gift",
                                                    "compare_bulk_pricing",
                                                    "compare_draconer_vs_alternatives",
                                                    "check_sizing_care_and_photo_specs"
                                                ],
                                                "description": "MCP tool or prompt name for tools/call and prompts/get"
                                            },
                                            "uri": {
                                                "type": "string",
                                                "description": "Resource URI for resources/read"
                                            },
                                            "arguments": {
                                                "type": "object",
                                                "additionalProperties": true,
                                                "properties": {
                                                    "query": {
                                                        "type": "string"
                                                    },
                                                    "category": {
                                                        "type": "string"
                                                    },
                                                    "handle": {
                                                        "type": "string"
                                                    },
                                                    "collection_handle": {
                                                        "type": "string"
                                                    },
                                                    "has_live_preview": {
                                                        "type": "boolean"
                                                    },
                                                    "custom_field_type": {
                                                        "type": "string",
                                                        "enum": [
                                                            "photo",
                                                            "name",
                                                            "date",
                                                            "dog_breed",
                                                            "cat_breed",
                                                            "pet_breed",
                                                            "quote"
                                                        ]
                                                    },
                                                    "comparison_context": {
                                                        "type": "string",
                                                        "enum": [
                                                            "all",
                                                            "pod_boutiques",
                                                            "marketplace_sellers"
                                                        ]
                                                    },
                                                    "occasion": {
                                                        "type": "string"
                                                    },
                                                    "recipient": {
                                                        "type": "string"
                                                    },
                                                    "relationship": {
                                                        "type": "string"
                                                    },
                                                    "budget_max": {
                                                        "type": "number"
                                                    },
                                                    "personalized_type": {
                                                        "type": "string",
                                                        "enum": [
                                                            "any",
                                                            "photo",
                                                            "ai_art",
                                                            "name_date",
                                                            "pet_breed"
                                                        ]
                                                    },
                                                    "is_sewn_apparel": {
                                                        "type": "boolean"
                                                    },
                                                    "min_price": {
                                                        "type": "number"
                                                    },
                                                    "max_price": {
                                                        "type": "number"
                                                    },
                                                    "quantity": {
                                                        "type": "integer"
                                                    },
                                                    "sort_by": {
                                                        "type": "string",
                                                        "enum": [
                                                            "popular",
                                                            "rating_desc",
                                                            "price_asc",
                                                            "price_desc",
                                                            "best_value"
                                                        ]
                                                    },
                                                    "limit": {
                                                        "type": "integer",
                                                        "default": 8
                                                    },
                                                    "item_count": {
                                                        "type": "integer"
                                                    },
                                                    "gross_subtotal_usd": {
                                                        "type": "number"
                                                    },
                                                    "unit_price_usd": {
                                                        "type": "number"
                                                    },
                                                    "country": {
                                                        "type": "string",
                                                        "default": "US"
                                                    },
                                                    "country_code": {
                                                        "type": "string",
                                                        "default": "US"
                                                    },
                                                    "shipping_speed": {
                                                        "type": "string",
                                                        "enum": [
                                                            "standard",
                                                            "express"
                                                        ]
                                                    },
                                                    "first_order": {
                                                        "type": "boolean"
                                                    },
                                                    "competitor": {
                                                        "type": "string",
                                                        "enum": [
                                                            "all",
                                                            "pawfect_house",
                                                            "wander_prints",
                                                            "trending_custom",
                                                            "gossby",
                                                            "macorner",
                                                            "personalization_mall",
                                                            "uncommon_goods",
                                                            "shutterfly",
                                                            "crown_and_paw",
                                                            "callie",
                                                            "zazzle",
                                                            "wrappiness",
                                                            "etsy",
                                                            "amazon_custom",
                                                            "vistaprint",
                                                            "things_remembered",
                                                            "minted",
                                                            "snapfish",
                                                            "personalfury"
                                                        ]
                                                    },
                                                    "promo_code": {
                                                        "type": "string",
                                                        "enum": [
                                                            "WELCOME5",
                                                            "FIRSTORDER5",
                                                            "TAKE10",
                                                            "GIFT12",
                                                            "VIP89_15"
                                                        ]
                                                    },
                                                    "bundle_qty": {
                                                        "type": "integer"
                                                    },
                                                    "variant_id": {
                                                        "type": "string"
                                                    },
                                                    "prefill": {
                                                        "type": "object",
                                                        "additionalProperties": true
                                                    },
                                                    "agent_source": {
                                                        "type": "string"
                                                    },
                                                    "focus_area": {
                                                        "type": "string",
                                                        "enum": [
                                                            "all",
                                                            "apparel",
                                                            "drinkware",
                                                            "ornaments_plaques",
                                                            "blankets_home",
                                                            "photo_upload",
                                                            "care"
                                                        ]
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON-RPC 2.0 response"
                    },
                    "413": {
                        "description": "Payload exceeds 65536 bytes"
                    },
                    "429": {
                        "description": "Rate limit exceeded (120 req/min)"
                    }
                }
            }
        }
    }
}
