cURL
curl --request DELETE \ --url https://{defaultHost}/v1/line_items/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "754bbe43-b02d-4027-90df-f8d967f277ff", "object": "line_item", "deleted": true }
Deletes a specific line item.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The UUID of the specific object.
A string describing the object type returned.
Whether or not this object was succesfully deleted.
Was this page helpful?