Skip to main content
PATCH
Update a line item's quantity (0 removes it) and properties

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required
lineId
string
required

Body

application/json
quantity
integer
required
Required range: x >= 0
properties
object[]

Replaces the line's custom fields wholesale. Omit to leave them unchanged. The line keeps its id even when the new properties match another line's.

Response

200 - application/json

Updated checkout

data
object