Create Draft Order
ninja_create_draft_orderCreate a draft order to validate cart pricing and item availability for retail, pharmacy, beauty, and restaurant orders. Supports toppings, coupons, and pharmacy prescriptions.
Instructions
Validate a cart and pricing without creating a payable checkout. Supports retail, pharmacy OTC, beauty, and restaurant variant/topping line items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| pharmacy | No | ||
| vertical | No | RETAIL | |
| addressId | Yes | ||
| lineItems | Yes | ||
| couponCode | No | ||
| restaurant | No | ||
| selectedAwardId | No | ||
| includeExactRequest | No |