You can delete a line item (SKU) from an existing order. All units will be deleted as well.

Workflow

  1. To get the order id, you can use the v2 GET orders endpoint.
  2. To get the line item id, you can use the v4 GET skus endpoint. You can filter by product id.
  3. Use this id in this endpoint to remove the item from your order.

Because you are deleting an object, the response will be blank.

📘

Line Item Object References

Click on "Add Object" below to view the reference documentation for deleting a line item.

Language
Click Try It! to start a request and see the response here!