Create cart
create_cartCreates a new Shopify cart with wine variants (variant_id from search_wines or get_wine) and returns cart_id, the items with live prices, the subtotal and checkout_url. No order is placed and no payment is taken here; checkout_url opens the checkout on shop.nevini.wine. NEVINI sells alcohol. The buyer and the recipient must be 18 or older (Dutch Alcohol Act); orders for anyone under 18 are not allowed. The order is only placed once the customer opens the checkout and completes the order. The recipient's age may be checked on delivery; have a valid ID ready. Requires buyer_is_18_or_older: true, set only after the user has confirmed being 18 or older.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Wines to add. Duplicate variant ids are merged; a cart holds at most 25 different variants. | |
| language | No | Language of item names and of the checkout: "nl" (default) or "en". | |
| buyer_is_18_or_older | Yes | Confirms that the buyer is 18 or older and that the order is not for anyone under 18. Set it to true only after the user has said so in this conversation; if they have not, ask them first. The cart is only created when this is true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| cart_id | Yes | ||
| currency | Yes | ||
| warnings | Yes | ||
| next_step | Yes | ||
| age_notice | Yes | ||
| checkout_url | Yes | ||
| order_placed | Yes | ||
| subtotal_eur | Yes | ||
| shipping_note | Yes | ||
| total_quantity | Yes |