- Deletes a line item
Lists line items
Creates a line item
Updates a line item
Retrieves unit types
Deletes a line item
DELETE {{baseURL}}/pay-int-api/line-items/{{lineItemId}}
This endpoint deletes a specified line item from the merchant's catalog.
Once deleted, the item is permanently removed and can no longer be referenced when creating or updating invoices.
If the line item is already linked to existing invoices, those records are not affected by the deletion. Only its availability for future use in the catalog is removed.
The following is an example request.
DELETE {{baseURL}}/pay-int-api/line-items/{{lineItemId}} HTTP/1.1
Authorization: Bearer {{merchantApiToken}}
x-api-version: 1.0See Also:
To list line items, see GET /pay-int-api/line-items.
To create a line item, see POST /pay-int-api/line-items.
To retrieve line item unit types, see GET /pay-int-api/line-items/unit-types.
To update a line item, see PUT /pay-int-api/line-items/{lineItemId}.
Security
Bearer
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-int-api/line-items/{lineItemId}
- Sandbox environmenthttps://sandbox.api.flute.com/pay-int-api/line-items/{lineItemId}
- Production environmenthttps://api.flute.com/pay-int-api/line-items/{lineItemId}
curl -i -X DELETE \
https://developer.flute.com/_mock/api-reference/pay-int-api/line-items/2b3bf7ae-1d2e-4f3a-4b5c-6d7e8f9a0b36 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-version: 1.0'