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