create_order
Create a print order for a validated upload. Validates everything BEFORE any payment link is minted. Returns { order, order_token } — the order object has order_id, status, amount, and payment_url (the Razorpay link, present while awaiting_payment). Give payment_url to the human to pay (UPI/cards/netbanking). SAVE order_token — it is shown only once and is required for get_order and cancel_order. The order confirms automatically after payment; unpaid orders expire after 72 hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Buyer email; receives the Razorpay payment notification. | ||
| copies | No | ||
| format | Yes | paperback/hardcover: bound storybook (20-60 page PDF). sticker-a3: single-sheet A3 portrait sticker / wall chart (exactly 1 page, 842×1191 pt). greeting-card-a5: folded A5 greeting card, one A4-landscape sheet printed duplex (exactly 2 pages, 859×612 pt incl. 3 mm bleed). | |
| address | Yes | India shipping address (V1 ships within India only). | |
| upload_id | Yes | upload_id of a PDF that passed validation. |