> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# Order Products

Lesson 14 of 26 · 30 min

Order products are the product line items belonging to an order.

## Pricing

* If price is not specified, it will automatically pick up the price from the store's product catalog. However, you can override this via `price_inc_tax` and `price_ex_tax`.
* If the `price_inc_tax` or `price_ex_tax` specified then any variant pricing is ignored and the order products `base_price` is updated according to the store settings. For example, if the store is set to display prices with tax included, then the `base_price` will be `price_inc_tax`.

## Stock

* For products that are configured to track stock, the quantity specified on the order will reduce the stock on hand.
* When there is not enough inventory to fulfill the order, the order will be rejected with an "out of stock" error code.

## Min and Max Quantities

* For products that have min and max quantities specified in their settings, the API will honor these, and will reject orders appropriately.

## Options

* For products where product options are required, the API will validate these requirements to ensure that the product options are specified.

### Add a Product with Options to an Existing Order

![Example Request - Add a Product with Options to an Existing Product](/_fern-files/bigcommerce.docs.buildwithfern.com/9ffabff3eb9df942f98517a062ab230cf90d78b8e99df408ba292199f8233802/assets/learn/checkout-orders-rest-api/addProductOptions_request.png)

![Example Response - Add a Product with Options to an Existing Product](/_fern-files/bigcommerce.docs.buildwithfern.com/3ec3754d8cc6839e37bb7054a9ecfa7e89948d06cf2ab18938b32b1087890902/assets/learn/checkout-orders-rest-api/addProduct_response.png)

## Customer File Uploads

* For products that allow customers to upload a file at checkout (i.e., an image uploaded for a t-shirt order), developers can follow these steps to retrieve the file:
* Get the filename value from `GET /orders/[order_id]/products`, in the `product_options` array
* Use that filename value to download the file via WebDAV using the following path: `https://store.com/product_images/configured_products/[value]`

## List Order Products

Lists all order products on an order using `order_id` with a **GET** request to: `/orders/{order_id}/products`

## Resources:

* [Order Products](/developer/docs/admin/checkout-and-cart/orders/overview#adding-products)