Endpoints:
Add Line Item Property to Item
POST /quotes/1234/line_items/567/properties
will add new line item properties to the existing line item with the id
of 567
on quote 1234
Required fields:
This endpoint expects an array of line item objects to be added to the quote.
This endpoint will return 200 OK
with the current JSON representation of the line item properties if the creation was a success. See Get Properties endpoint for more info on the payload.
Example JSON Request
[
{
"id":1,
"key": "property name",
"value": "property value"
}
{...},
{...}
]
Get Line Item Properties
GET /quotes/1234/line_items/567/properties
will return the line item properties for the Line Item with the id
of 567
on quote 1234
Example JSON Response
[
{
"id": 1,
"key": "property name",
"value": "property value"
},
{...}
]
Update Line Item Property
PUT /quotes/1234/line_items/567/properties/1
will update the line item property with the id
of 1
in the quote with the id
of 1234
and line item with the id
of 567
This endpoint will return200 OK
with the current JSON representation of the Line Item Property if the update was a success.
Example JSON Request
{
"id": 1,
"key": "property name",
"value": "property value"
}
Delete Line Item Property
DELETE /quotes/1234/line_items/567/propeerties/1
will delete the line item property with theid
of 1 from the quote with the id
of 1234
and the line item with the id
of 567
No parameters are required. Returns200 OK
if successful.