Orders
Add a line item to an order
Add a new line item to an unpaid order. Order totals will be recalculated.
post/admin/orders/{order_id}/line-items
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/admin/orders/{order_id}/line-items
- Auth: HTTP bearer
Path parameters
order_idstring uuid required
Example:c074a01d-97e2-48b5-b054-8b173d3402cf
Request body
Example request
{
"quantity": 1,
"price": 24.69,
"internal_cost": 673.75
}Response
Line item added successfully
Example response
{
"quantity": 1,
"price": 24.69,
"internal_cost": 673.75,
"source": "opportunity_card"
}Changes
No recorded changes to this operation across all 3 revisions of this API.