PATCH
/
v5
/
app
/
line_items
/
{id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the line item, which will look like li_*************

Body

application/json
metadata
object
required

A JSON object containing any additional metadata for the line item.

Response

200 - application/json
id
string
required

The ID of the line item, which will look like li_*************

amount
number
required

The amount (price) for the line item.

base_currency
enum<string>
required

A three letter currency code for the line item.

Available options:
usd,
sgd,
inr,
aud,
brl,
cad,
dkk,
eur,
nok,
gbp,
sek,
chf,
hkd,
huf,
jpy,
mxn,
myr,
pln,
czk,
nzd,
aed,
cop,
ron,
thb
allow_multiple_quantity
boolean
required

Whether or not the line item can be purchased as multiple quantity.

name
string
required

The name of the line item.

created_at
integer
required

The date the line item was created as a unix timestamp.

description
string

A textual description for the line item.

metadata
object

A JSON object containing any additional metadata for the line item.