What an order would cost delivered to an address — asked of the shop’s own cart, nothing ordered
quote_orderFree. For a business on WooCommerce or Shopify (its card says platform), with no owner connection:
puts the offering in a cart session of OUR OWN on the shop’s public cart, gives it the delivery address and
reads back what the shop itself computes — delivery.state confirmed | refuted | unknown for that address,
options (each delivery / pickup with its price, tax and the whole order’s total), tax, total,
currency, and delivery_date ONLY when the shop publishes one in its standard fields (otherwise
unknown — ask the shop). Nothing is ordered, the cart is emptied afterwards, and only the address is
sent (no name, e-mail or phone; nothing is stored). Shopify’s public cart has no tax: tax.state is unknown
and the total is before tax. A shop whose cart is closed answers not_available with the reason; so does
any other platform. When the shop needs more of the address than you gave, status: needs_address names
the missing fields. A required add-on the page asks for («a card with a message?») is answered «no»
unless you pass options; options_used says what was chosen. Hand order_url to the user to buy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | several different items of the SAME shop in one cart (delivery and tax on the whole order); offering_id is then the first of them | |
| options | No | answers to the product page’s own add-on questions; the rest are answered «no» | |
| quantity | No | default 1 | |
| deliver_to | Yes | where it must be brought: "33139", "Miami Beach, FL 33139", or {postcode, state, city, address_1} | |
| variant_id | No | a variant id from the card when it lists several | |
| offering_id | Yes | the offering id from a card |