On this page
Orders
The order object#
Every order endpoint returns this object, and every order.* webhook event carries it in data. Money is in cents; times are UTC.
ord_…."order".JP-10482. Printed on the packing slip; you can use it anywhere you can use id.api or dashboard (the New order form). Orders from our own website never appear in the API.in_production: which step it is on. null otherwise.YYYY-MM-DD in New York. Set when the order is paid. See Timing.itm_…."cover": the crop fills the whole puzzle.{x, y, w, h}. If you did not send one, it is null until processing fills in the centered crop we used.pending while processing, then passed, warning (prints, see warnings) or failed.{from, to} as YYYY-MM-DD."usd".ch_…. See Charges.awaiting_payment.{code, message}. For example soft artwork.{ "id": "ord_k4Mn8Pq3xY2aBc", "object": "order", "number": "JP-10482", "environment": "sandbox", "source": "api", "external_id": "KP-20922", "status": "in_production", "production_stage": "cutting", "status_reason": null, "ship_by": "2026-12-01", "rush": false, "items": [ { "id": "itm_7Hc2Lw9Rt4Vx3N", "sku": "PZL-1000", "pieces": 1000, "quantity": 1, "orientation": "landscape", "title": "Sunset on the Hudson", "mystery": false, "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg", "fit": "cover", "crop": { "x": 300, "y": 214, "w": 5400, "h": 3857 }, "width_px": 6000, "height_px": 4286, "effective_dpi": 279, "quality": "good", "preflight": "passed", "preview_url": "https://firebasestorage.googleapis.com/v0/b/puzzle-printing-ny.firebasestorage.app/o/artwork%2Ford_k4Mn8Pq3xY2aBc%2Fitm_7Hc2Lw9Rt4Vx3N%2Fpreview.jpg?alt=media&token=3f9c1a52-8d4e-4b6a-9e1f-2c7d5b8a0e64" } } ], "shipping": { "method": "usps_ground", "address": { "company": null, "line2": "Apt 4F", "phone": null, "email": null, "name": "Grace Kim", "line1": "77 Spring Garden St", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US" }, "carrier": null, "tracking_number": null, "tracking_url": null, "estimated_delivery": { "from": "2026-12-02", "to": "2026-12-04" } }, "branding": { "gift_message": "Happy birthday, Mom. Love, Sam and Leo", "packing_slip_from": "Kindred Prints" }, "costs": { "currency": "usd", "items": 1990, "discount": 0, "options": 35, "rush": 0, "shipping": 540, "tax": 0, "total": 2565 }, "payment": { "status": "paid", "charge": "ch_9Tq4Wm2Xc8Rb5K", "paid_at": "2026-11-30T16:00:04Z", "refunded_amount": 0, "last_error": null }, "warnings": [], "metadata": { "customer_id": "cus_48213" }, "created_at": "2026-11-30T14:02:11Z", "updated_at": "2026-12-01T14:37:52Z"}Create an order#
We validate the body, price the order and answer right away with 201 and the order in processing. Then, in the background, we download each artwork file and check it, usually within seconds. The order moves to awaiting_payment if every check passes, or to rejected with a status_reason if one fails. Either way you get a webhook.
Nothing is charged at create. Orders waiting for payment are charged together at 11 AM ET, or right away with Pay now.
Idempotency-Key with every create. A retry with the same key within 24 hours returns the original order instead of making a second one.1https:// URL we can download within 30 seconds: JPG, PNG, WebP or TIFF, up to 60 MB. A URL that is not https:// gets 422 artwork_url_invalid; a file we cannot download or print is rejected after create. See Artwork.{"x", "y", "w", "h"} integers. Use the puzzle's shape, 7:5 (5:7 in portrait). Default: the largest centered crop. See Cropping.landscape if the image is at least as wide as it is tall, otherwise portrait.falsePA (or DC).19123 or 19123-4401.falseGET /v1/orders?external_id=.curl https://jigsawpress.com/v1/orders \ -H "Authorization: Bearer $CORNERPIECE_KEY" \ -H "Idempotency-Key: KP-20922" \ -H "Content-Type: application/json" \ -d '{ "external_id": "KP-20922", "items": [ { "sku": "PZL-1000", "quantity": 1, "title": "Sunset on the Hudson", "mystery": false, "orientation": "landscape", "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg", "crop": { "x": 300, "y": 214, "w": 5400, "h": 3857 } } } ], "shipping": { "method": "usps_ground", "address": { "name": "Grace Kim", "company": null, "line1": "77 Spring Garden St", "line2": "Apt 4F", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US", "phone": null, "email": null } }, "rush": false, "branding": { "gift_message": "Happy birthday, Mom. Love, Sam and Leo" }, "metadata": { "customer_id": "cus_48213" }}'{ "id": "ord_k4Mn8Pq3xY2aBc", "object": "order", "number": "JP-10482", "environment": "sandbox", "source": "api", "external_id": "KP-20922", "status": "processing", "production_stage": null, "status_reason": null, "ship_by": null, "rush": false, "items": [ { "id": "itm_7Hc2Lw9Rt4Vx3N", "sku": "PZL-1000", "pieces": 1000, "quantity": 1, "orientation": "landscape", "title": "Sunset on the Hudson", "mystery": false, "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg", "fit": "cover", "crop": { "x": 300, "y": 214, "w": 5400, "h": 3857 }, "width_px": null, "height_px": null, "effective_dpi": null, "quality": null, "preflight": "pending", "preview_url": null } } ], "shipping": { "method": "usps_ground", "address": { "company": null, "line2": "Apt 4F", "phone": null, "email": null, "name": "Grace Kim", "line1": "77 Spring Garden St", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US" }, "carrier": null, "tracking_number": null, "tracking_url": null, "estimated_delivery": { "from": "2026-12-02", "to": "2026-12-04" } }, "branding": { "gift_message": "Happy birthday, Mom. Love, Sam and Leo", "packing_slip_from": "Kindred Prints" }, "costs": { "currency": "usd", "items": 1990, "discount": 0, "options": 35, "rush": 0, "shipping": 540, "tax": 0, "total": 2565 }, "payment": { "status": "unpaid", "charge": null, "paid_at": null, "refunded_amount": 0, "last_error": null }, "warnings": [], "metadata": { "customer_id": "cus_48213" }, "created_at": "2026-11-30T14:02:11Z", "updated_at": "2026-11-30T14:02:11Z"}{ "error": { "type": "invalid_request_error", "code": "parameter_missing", "message": "items[0].artwork.url is required.", "param": "items[0].artwork.url", "request_id": "req_Xb4Nq8Lm2Rt7Vw" }}Retrieve an order#
Pass the order id (ord_k4Mn8Pq3xY2aBc) or its number (JP-10482). Orders from the other environment, or from another account, return 404 resource_missing.
curl https://jigsawpress.com/v1/orders/JP-10482 \ -H "Authorization: Bearer $CORNERPIECE_KEY"{ "id": "ord_k4Mn8Pq3xY2aBc", "object": "order", "number": "JP-10482", "environment": "sandbox", "source": "api", "external_id": "KP-20922", "status": "awaiting_payment", "production_stage": null, "status_reason": null, "ship_by": null, "rush": false, "items": [ { "id": "itm_7Hc2Lw9Rt4Vx3N", "sku": "PZL-1000", "pieces": 1000, "quantity": 1, "orientation": "landscape", "title": "Sunset on the Hudson", "mystery": false, "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg", "fit": "cover", "crop": { "x": 300, "y": 214, "w": 5400, "h": 3857 }, "width_px": 6000, "height_px": 4286, "effective_dpi": 279, "quality": "good", "preflight": "passed", "preview_url": "https://firebasestorage.googleapis.com/v0/b/puzzle-printing-ny.firebasestorage.app/o/artwork%2Ford_k4Mn8Pq3xY2aBc%2Fitm_7Hc2Lw9Rt4Vx3N%2Fpreview.jpg?alt=media&token=3f9c1a52-8d4e-4b6a-9e1f-2c7d5b8a0e64" } } ], "shipping": { "method": "usps_ground", "address": { "company": null, "line2": "Apt 4F", "phone": null, "email": null, "name": "Grace Kim", "line1": "77 Spring Garden St", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US" }, "carrier": null, "tracking_number": null, "tracking_url": null, "estimated_delivery": { "from": "2026-12-02", "to": "2026-12-04" } }, "branding": { "gift_message": "Happy birthday, Mom. Love, Sam and Leo", "packing_slip_from": "Kindred Prints" }, "costs": { "currency": "usd", "items": 1990, "discount": 0, "options": 35, "rush": 0, "shipping": 540, "tax": 0, "total": 2565 }, "payment": { "status": "unpaid", "charge": null, "paid_at": null, "refunded_amount": 0, "last_error": null }, "warnings": [], "metadata": { "customer_id": "cus_48213" }, "created_at": "2026-11-30T14:02:11Z", "updated_at": "2026-11-30T14:02:19Z"}List orders#
Returns your orders in this environment, newest first, as {"object": "list", "data": [...], "has_more": true}. To get the next page, pass the id of the last order you received as starting_after. Stop when has_more is false.
25id. Returns the orders that come after it in the list.curl "https://jigsawpress.com/v1/orders?status=awaiting_payment&limit=100" \ -H "Authorization: Bearer $CORNERPIECE_KEY"{ "object": "list", "data": [ { "id": "ord_k4Mn8Pq3xY2aBc", "object": "order", "number": "JP-10482", "environment": "sandbox", "source": "api", "external_id": "KP-20922", "status": "awaiting_payment", "production_stage": null, "status_reason": null, "ship_by": null, "rush": false, "items": [ { "id": "itm_7Hc2Lw9Rt4Vx3N", "sku": "PZL-1000", "pieces": 1000, "quantity": 1, "orientation": "landscape", "title": "Sunset on the Hudson", "mystery": false, "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg", "fit": "cover", "crop": { "x": 300, "y": 214, "w": 5400, "h": 3857 }, "width_px": 6000, "height_px": 4286, "effective_dpi": 279, "quality": "good", "preflight": "passed", "preview_url": "https://firebasestorage.googleapis.com/v0/b/puzzle-printing-ny.firebasestorage.app/o/artwork%2Ford_k4Mn8Pq3xY2aBc%2Fitm_7Hc2Lw9Rt4Vx3N%2Fpreview.jpg?alt=media&token=3f9c1a52-8d4e-4b6a-9e1f-2c7d5b8a0e64" } } ], "shipping": { "method": "usps_ground", "address": { "company": null, "line2": "Apt 4F", "phone": null, "email": null, "name": "Grace Kim", "line1": "77 Spring Garden St", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US" }, "carrier": null, "tracking_number": null, "tracking_url": null, "estimated_delivery": { "from": "2026-12-02", "to": "2026-12-04" } }, "branding": { "gift_message": "Happy birthday, Mom. Love, Sam and Leo", "packing_slip_from": "Kindred Prints" }, "costs": { "currency": "usd", "items": 1990, "discount": 0, "options": 35, "rush": 0, "shipping": 540, "tax": 0, "total": 2565 }, "payment": { "status": "unpaid", "charge": null, "paid_at": null, "refunded_amount": 0, "last_error": null }, "warnings": [], "metadata": { "customer_id": "cus_48213" }, "created_at": "2026-11-30T14:02:11Z", "updated_at": "2026-11-30T14:02:19Z" } ], "has_more": false}Cancel an order#
You can cancel an order while it is processing, awaiting_payment, paid or on_hold. Once production starts it is too late: the call returns 409 order_not_cancelable, as it does for orders that are already shipped, delivered, rejected or canceled.
- If the order was not paid yet, it is simply dropped from the next charge.
- If it was paid, we refund its
costs.totalto the card it was charged to.payment.statusbecomesrefunded. - You get an
order.canceledwebhook.
The request takes no body.
curl -X POST https://jigsawpress.com/v1/orders/ord_k4Mn8Pq3xY2aBc/cancel \ -H "Authorization: Bearer $CORNERPIECE_KEY"{ "id": "ord_k4Mn8Pq3xY2aBc", "object": "order", "number": "JP-10482", "environment": "sandbox", "source": "api", "external_id": "KP-20922", "status": "canceled", "production_stage": null, "status_reason": null, "ship_by": "2026-12-01", "rush": false, "items": [ { "id": "itm_7Hc2Lw9Rt4Vx3N", "sku": "PZL-1000", "pieces": 1000, "quantity": 1, "orientation": "landscape", "title": "Sunset on the Hudson", "mystery": false, "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg", "fit": "cover", "crop": { "x": 300, "y": 214, "w": 5400, "h": 3857 }, "width_px": 6000, "height_px": 4286, "effective_dpi": 279, "quality": "good", "preflight": "passed", "preview_url": "https://firebasestorage.googleapis.com/v0/b/puzzle-printing-ny.firebasestorage.app/o/artwork%2Ford_k4Mn8Pq3xY2aBc%2Fitm_7Hc2Lw9Rt4Vx3N%2Fpreview.jpg?alt=media&token=3f9c1a52-8d4e-4b6a-9e1f-2c7d5b8a0e64" } } ], "shipping": { "method": "usps_ground", "address": { "company": null, "line2": "Apt 4F", "phone": null, "email": null, "name": "Grace Kim", "line1": "77 Spring Garden St", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US" }, "carrier": null, "tracking_number": null, "tracking_url": null, "estimated_delivery": { "from": "2026-12-02", "to": "2026-12-04" } }, "branding": { "gift_message": "Happy birthday, Mom. Love, Sam and Leo", "packing_slip_from": "Kindred Prints" }, "costs": { "currency": "usd", "items": 1990, "discount": 0, "options": 35, "rush": 0, "shipping": 540, "tax": 0, "total": 2565 }, "payment": { "status": "refunded", "charge": "ch_9Tq4Wm2Xc8Rb5K", "paid_at": "2026-11-30T16:00:04Z", "refunded_amount": 2565, "last_error": null }, "warnings": [], "metadata": { "customer_id": "cus_48213" }, "created_at": "2026-11-30T14:02:11Z", "updated_at": "2026-11-30T17:20:41Z"}{ "error": { "type": "invalid_request_error", "code": "order_not_cancelable", "message": "This order is already in production and can no longer be canceled.", "param": null, "request_id": "req_Xb4Nq8Lm2Rt7Vw" }}Get a quote#
Takes the same body as Create an order and returns what it would cost, without creating anything or downloading the artwork. lines show list prices; your tier discount is in costs.discount.
ship_by and estimated_delivery assume the order would be paid at the next daily charge. Use them to show your customer a delivery date at checkout.
"quote".{sku, quantity, unit, amount}, list prices in cents.costs.YYYY-MM-DD, if paid at the next daily charge.{from, to}, YYYY-MM-DD.curl https://jigsawpress.com/v1/quotes \ -H "Authorization: Bearer $CORNERPIECE_KEY" \ -H "Content-Type: application/json" \ -d '{ "items": [ { "sku": "PZL-1000", "quantity": 1, "title": "Sunset on the Hudson", "mystery": false, "orientation": "landscape", "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg", "crop": { "x": 300, "y": 214, "w": 5400, "h": 3857 } } } ], "shipping": { "method": "usps_ground", "address": { "name": "Grace Kim", "company": null, "line1": "77 Spring Garden St", "line2": "Apt 4F", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US", "phone": null, "email": null } }, "rush": false, "branding": { "gift_message": "Happy birthday, Mom. Love, Sam and Leo" }}'{ "object": "quote", "environment": "sandbox", "lines": [ { "sku": "PZL-1000", "quantity": 1, "unit": 1990, "amount": 1990 } ], "costs": { "currency": "usd", "items": 1990, "discount": 0, "options": 35, "rush": 0, "shipping": 540, "tax": 0, "total": 2565 }, "charge_at": "2026-11-30T16:00:00Z", "ship_by": "2026-12-01", "estimated_delivery": { "from": "2026-12-02", "to": "2026-12-04" }}