---
title: "Create Product"
method: POST
path: "/orders/{id}/line_items"
tags: ["Products"]
---

# Create Product

`POST /orders/{id}/line_items`

Create a new product for an existing order.

## Path parameters

- `id` string, required

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Request body

- Product
  - `antifraud_info` object
  - `brand` string — The brand of the item.
  - `description` string — Short description of the item
  - `metadata` object — It is a key/value hash that can hold custom fields. Maximum 100 elements and allows special characters.
  - `name` string, required — The name of the item. It will be displayed in the order.
  - `quantity` integer, required — The quantity of the item in the order.
  - `sku` string — The stock keeping unit for the item. It is used to identify the item in the order.
  - `tags` string[] — List of tags for the item. It is used to identify the item in the order.
  - `unit_price` integer, required — The price of the item in cents.

## Response `200`

successful

## Other responses

- `401` — authentication error
- `404` — not found entity
- `500` — internal server error

---

[API](https://skmtc.net/conekta/apis/conekta-api.md) · [All operations](https://skmtc.net/conekta/apis/conekta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conekta/conekta-api/revisions/029df3052bca/schema)
