cleanups
Create a cleanup
Changed onCreate a cleanup
post/cleanups
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/cleanups
- AuthHTTP bearer
Request body
Example request
{
"data": {
"attributes": {
"resource_type": "skus",
"filters": {
"code_eq": "AAA"
},
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
}
}
}Response
The created cleanup object
Changes
- warning
added the new
couponsenum value to the//response property for the response status - info
added the new
couponsenum value to the request property//
- warning
- info
endpoint added
- info