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
created_at
disabled_at
expires_at
id
item_type
name
reference
reference_origin
starts_at
updated_at
Filterable fields
The list of links can be filtered by the following fields:
Attributes
client_id
created_at
disabled_at
expires_at
id
item_type
metadata
name
reference
reference_origin
scope
starts_at
updated_at
Relationships
events
Last updated