Skip to main content
POST
Create a Line Item

Authorizations

Authorization
string
header
required

Bearer Token necessary to use API

Path Parameters

order_id
string
required

The ID of the order

Query Parameters

expand
string[]

This endpoint supports expandable responses. For more, see the documentation page.

Body

application/json

Create a line item

type
enum<string>
required
Available options:
unit_type,
protection,
product,
security_deposit
quantity
integer
required
price
object
required
item
object

Response

line item successfully created

Single Order Line Item

line_item
object

Order Line Item

meta
object