---
title: "Add Line"
method: POST
path: "/api/sales-orders/{order_id}/lines"
tags: ["sales-orders"]
---

# Add Line

`POST /api/sales-orders/{order_id}/lines`

## Request

- Base URL: `https://api.brm-chronographes.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brm-chronographes.com/api/sales-orders/{order_id}/lines`
- Auth: HTTP bearer

## Path parameters

- `order_id` integer, required

## Request body

- LineCreate
  - `line_type` string
  - `ps_id` integer, nullable
  - `combo_image_id` integer, nullable
  - `ps_declinaison_id` integer, nullable
  - `catalogue_ref` string, nullable
  - `catalogue_name` string, nullable
  - `collection` string, nullable
  - `model_ref` string, nullable
  - `model_name` string, nullable
  - `base_price` number
  - `selected_options` object, nullable
  - `options_total` number
  - `custom_description` string, nullable
  - `special_customization` string, nullable
  - `needle_config` object, nullable
  - `watch_description` object, nullable
  - `custom_image` string, nullable
  - `quantity` integer
  - `unit_price_ht` number
  - `sort_order` integer
  - `wrist_size` string, nullable
  - `cord_color` string, nullable
  - `limited_serial` string, nullable
  - `limited_series_id` integer, nullable
  - `limited_entry_id` integer, nullable
  - `stock_serial` string, nullable
  - `piece_unique_id` integer, nullable
  - `delivery_status` string, nullable
  - `delivery_mode` string, nullable
  - `packaging_type` string, nullable
  - `packaging_details` string, nullable
  - `discount_type` string, nullable
  - `discount_value` number

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brm-chronographes/apis/brm-hub.md) · [All operations](https://skmtc.dev/brm-chronographes/apis/brm-hub/llms.txt) · [OpenAPI document](https://skmtc.dev/brm-chronographes/apis/brm-hub/revisions/f4342ec9ac98?raw)
