cleanups

Create a cleanup

Changed on

Create a cleanup

post/cleanups

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/cleanups
  • Auth
    HTTP 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 coupons enum value to the // response property for the response status

    • info

      added the new coupons enum value to the request property //

    • info

      endpoint added