prepare_checkout
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. Return a buyer review link for a valid UAE basket. 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. Optional buyer name, phone, email and address may be supplied for prefill only. The link contains those details and must be shared only with the buyer. Creates NO order. Buyer must open the link, review or correct details, accept terms and personally confirm. Card payment link follows by WhatsApp. 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. Quote first and resolve blockers, then send the same complete basket here. No cart, session or quote ID is accepted. Buyer prefill is optional and must be nested inside buyer. Example arguments: {"country":"AE","emirate":"Dubai","items":[{"id":"PRODUCT_ID_FROM_SEARCH","qty":1}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | No | Optional buyer-supplied prefill, accepted only by prepare_checkout. Omit if not supplied. No payment, consent or approval fields. The resulting link contains these details and is not encrypted; share only with the buyer. | |
| 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. |