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