List all line item options
How to fetch a collection of line item options via API
To fetch a collection of line item options, send a GET request to the /api/line_item_options endpoint.
Request
GET https://yourdomain.commercelayer.io/api/line_item_options
Example
The following request fetches a collection of line item options:
curl -g -X GET \
'https://yourdomain.commercelayer.io/api/line_item_options/' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token'Remember that when you fetch a list of resources you get paginated result.
Sortable fields
The list of line item options can be sorted by the following fields:
Attributes
namequantitycurrency_codeunit_amount_centsdelay_hoursidcreated_atupdated_atreferencereference_origin
Relationships
line_itemsku_option
Filterable fields
The list of line item options can be filtered by the following fields:
Attributes
namequantitycurrency_codeunit_amount_centsdelay_hoursdelay_daysidcreated_atupdated_atreferencereference_originmetadata
Relationships
line_itemsku_optioneventstags
Last updated

