quote_basket
For quote_basket and prepare_checkout only. Required on every call: country (AE), emirate (buyer-selected destination) and items (the complete basket). Each item requires id and qty. Ask the buyer for any missing destination or quantity before calling; use search_products to resolve exact orderable product IDs. Never guess missing values. Create or update a quote by supplying the COMPLETE desired basket. Add/remove/change items in that list and call again. UAE only. For Research Use Only. This research-use-only catalogue is for buyers 21+ years of age and is supplied for research purposes only. Not for human or veterinary use. Includes the selected emirate’s delivery estimate, cutoff and fee explanation. Does not store or submit an order. Send these fields inside tools/call params.arguments. Both basket tools are stateless: send the complete basket again, combining duplicate IDs. Do not send prices, totals, consent or approval flags. If a call returns INVALID_ARGUMENTS, follow missingFields (when present) and nextAction; correct invalid values or collect missing information before retrying with the complete basket. Dubai and qty 1 are examples, not defaults; replace them with the buyer-selected emirate and quantity, and replace PRODUCT_ID_FROM_SEARCH with an orderable id from search. Do not send buyer details to quote_basket. Example arguments: {"country":"AE","emirate":"Dubai","items":[{"id":"PRODUCT_ID_FROM_SEARCH","qty":1}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Required COMPLETE desired basket of 1–20 distinct variant IDs. Combine the same ID into one line; send the entire updated basket on every call. | |
| country | Yes | Required delivery country code: AE means United Arab Emirates. | |
| emirate | Yes | Required buyer-selected destination. Use an exact listed emirate; ask the buyer if unknown, never assume Dubai. | |
| promoCode | No | Optional buyer-supplied promotion code, up to 24 letters or digits. Omit when absent; do not invent one. |