Add Line Item
Add a line item to a checkout session.
Works for both User and API Key authentication.
Account access is automatically validated via endpoint dependency.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
external_id
account_id
Request
This endpoint expects an object.
price_id
Price Identifier
quantity
Quantity of items
description
Line item description
Response
Successful Response
id
Unique line item identifier
product_id
Product Identifier
price_id
Price Identifier
quantity
Quantity of items
created_at
When the line item was created
updated_at
When the line item was last updated
description
Line item description
Errors
422
Unprocessable Entity Error