List all return line items
How to fetch a collection of return line items via API
To fetch a collection of return line items, send a GET
request to the /api/return_line_items
endpoint.
Request
GET https://yourdomain.commercelayer.io/api/return_line_items
Example
The following request fetches a collection of return line items:
Remember that when you fetch a list of resources you get paginated result.
Sortable fields
The list of return line items can be sorted by the following fields:
Attributes
quantity
total_amount_cents
restocked_at
id
created_at
updated_at
reference
reference_origin
Relationships
return
line_item
Filterable fields
The list of return line items can be filtered by the following fields:
Attributes
quantity
total_amount_cents
return_reason
restocked_at
id
created_at
updated_at
reference
reference_origin
metadata
Relationships
return
line_item
Last updated