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:
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
name
quantity
currency_code
unit_amount_cents
delay_hours
id
created_at
updated_at
reference
reference_origin
Relationships
line_item
sku_option
Filterable fields
The list of line item options can be filtered by the following fields:
Attributes
name
quantity
currency_code
unit_amount_cents
delay_hours
delay_days
id
created_at
updated_at
reference
reference_origin
metadata
Relationships
line_item
sku_option
events
tags
Last updated