Workflow

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

📘

Line Item Object References

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

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