List all links
How to fetch a collection of links via API
To fetch a collection of links, send a GET
request to the /api/links
endpoint.
Request
GET https://yourdomain.commercelayer.io/api/links
Example
The following request fetches a collection of links:
Remember that when you fetch a list of resources you get paginated result.
Sortable fields
The list of links can be sorted by the following fields:
Attributes
name
starts_at
expires_at
item_type
id
disabled_at
created_at
updated_at
reference
reference_origin
Filterable fields
The list of links can be filtered by the following fields:
Attributes
name
client_id
scope
starts_at
expires_at
item_type
params
id
disabled_at
created_at
updated_at
reference
reference_origin
metadata
Relationships
events
Last updated