---
title: "Create an order from a quote"
method: POST
path: "/orders/public/facilitate_order"
tags: ["Orders"]
---

# Create an order from a quote

`POST /orders/public/facilitate_order`

## Request

- Base URL: `https://api.paperlessparts.com/v1`
- URL: `https://api.paperlessparts.com/v1/orders/public/facilitate_order`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/paperlessparts/apis/paperless-parts-api/docs/orders/public/facilitate_order/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- FacilitateOrderBody: Data representing a Quote that will be used to generate an Order. This endpoint provides an alternative to the checkout flow in the app. For each quote item you'd like to check out for, specify the quantity and unit price. Note that you may submit an arbitrary quantity and arbitrary unit price; you are not restricted to the options on the quote. NOTE: shipping_info, billing_info and shipping_option are optional.
  - `number` integer
  - `quantity_data` object[]
    - `quote_item_id` integer
    - `quantity` integer
    - `unit_price` number, float
    - `add_ons` object[]: If you'd like to apply add-ons, specify the ID of the AddOn you'd like to apply (not the ID of the AddOnQuantity). If you've selected an existing quantity and unit price for this quote item, the corresponding existing AddOnQuantity will be used. If you've specified a nonexistent quantity and/or unit price, a new AddOnQuantity will be created with the supplied manual_price.
      - `add_on_id` integer
      - `manual_price` number, float, nullable: There is no need to supply this field if you have selected an existing quantity and unit_price for this quote item.
    - `expedite_id` integer, nullable
  - `shipping_info` object, nullable
    - `business_name` string
    - `first_name` string
    - `last_name` string
    - `phone` string
    - `phone_ext` string
    - `address` object
      - `address1` string
      - `address2` string
      - `postal_code` string
      - `city` string
      - `state` object
        - `abbr` string
      - `country` object
        - `abbr` string
  - `billing_info` object, nullable
    - `business_name` string
    - `first_name` string
    - `last_name` string
    - `phone` string
    - `phone_ext` string
    - `address` object
      - `address1` string
      - `address2` string
      - `postal_code` string
      - `city` string
      - `state` object
        - `abbr` string
      - `country` object
        - `abbr` string
  - `shipping_option` object, nullable
    - `type` 'pickup' | 'customers_shipping_account' | 'suppliers_shipping_account'
    - `shipping_method` 'early_am_overnight' | 'next_day_air' | 'second_day_air' | 'ground'
    - `ship_when` 'when_ready' | 'all_at_once'

## Response `200`

Successful response

## Other responses

- `404`: Not found response

---

[API](https://skmtc.dev/paperlessparts/apis/paperless-parts-api.md) - [All operations](https://skmtc.dev/paperlessparts/apis/paperless-parts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paperlessparts/apis/paperless-parts-api/revisions/3eb132ead1fe?raw)
