Return line items
The return line item object and the allowed CRUD operations on the related resource endpoint
A return line item represents an SKU or bundle being sent back as part of a return. The quantity attribute determines how many units are being returned. The total amount to be returned is calculated automatically from the original line item's unit amount, the returned quantity, and any discounts that applied to the original purchase.
Once the related return is marked as received, you can restock a return line item's SKU by passing the _restock trigger attribute — the restocked_at timestamp is then set automatically.
Last updated