Start checkout
start_checkoutCall when the shopper has chosen to buy: the exact product_id (a variant's when it has sizes or colours), the store_id of an offer with is_eligible_checkout true, a quantity and their ZIP. Re-checks the offer at that quantity and returns checkout_url: JENNi checkout with that item added to the shopper's basket, where they enter email, name, address and card and see delivery, tax and the total; nothing is charged until they place the order. For a concierge offer it returns the product page, which places a shopper request as a pending hold during the shop's hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | Yes | 5-digit US ZIP code the order is delivered to, e.g. 78205. | |
| quantity | No | How many (default 1). | |
| store_id | Yes | store_id of an offer with is_eligible_checkout true, or a concierge offer. | |
| product_id | Yes | The exact item: a variant's product_id when it has variants. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | ||
| kind | Yes | ||
| quantity | No | ||
| next_step | Yes | ||
| store_name | No | ||
| unit_price | No | The shelf price the page shows; checkout states the total. | |
| checkout_url | Yes |