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