curl --location --request DELETE 'https://api.stateset.com/v1/work_order_line_items' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "example_1"
}'
{
"id": "rli_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "return_line_item",
"deleted": true
}
This endpoint deletes an existing work order line item.
curl --location --request DELETE 'https://api.stateset.com/v1/work_order_line_items' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "example_1"
}'
{
"id": "rli_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "return_line_item",
"deleted": true
}
curl --location --request DELETE 'https://api.stateset.com/v1/work_order_line_items' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "example_1"
}'
{
"id": "rli_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "return_line_item",
"deleted": true
}