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