---
title: "Create print order and get Stripe checkout URL"
method: POST
path: "/v5/prints/peecho/order"
tags: ["Print", "Orders", "V5"]
---

# Create print order and get Stripe checkout URL

`POST /v5/prints/peecho/order`

## Request

- Base URL: `http://0.0.0.0:3001/api`
- URL: `http://0.0.0.0:3001/api/v5/prints/peecho/order`
- Auth: none declared

Creates a print order in the database with the given book, quantity, shipping address, export variant, and pricing quote. Returns a Stripe Checkout Session URL for payment. The order progresses to Peecho submission after successful Stripe payment via webhook. The exportSize field (A4/A5) selects which export PDF to use for printing.

## Request body

- object
  - `bookId` string, required
  - `quantity` number
  - `currency` string
  - `exportSize` 'A4' | 'A5'
  - `shippingAddress` object
    - `fullName` string, required
    - `phone` string, required
    - `addressLine1` string, required
    - `addressLine2` string
    - `postalCode` string, required
    - `city` string, required
    - `state` string, required
    - `country` string, required
  - `spineDetails` object
    - `spineType` 'dynamic' | 'custom'
    - `textFont` string
    - `textSize` number
    - `textColour` string
    - `textTop` string
    - `textCenter` string
    - `textBottom` string
    - `customSpineUrl` string, url
  - `quote` object
    - `offering_id` number
    - `number_of_pages` number
    - `quantity` number
    - `country_code` string
    - `state` string
    - `base_price` string
    - `price_per_page` string
    - `total_product_price` string
    - `shipping_wholesale` string
    - `total_quantity_discount` string
    - `vat_percentage` string
    - `vat` string
    - `total_price` string, required
    - `currency` string, required
    - `exchange_rate` string

## Response `200`

Default Response

---

[API](https://skmtc.dev/storybee/apis/story-bee.md) - [All operations](https://skmtc.dev/storybee/apis/story-bee/llms.txt) - [OpenAPI document](https://skmtc.dev/storybee/apis/story-bee/revisions/d1d0477803c6?raw)
