Delete a retailer product

DELETE /api/rest/v1/retailer/products/{code}

This endpoint allows you to delete a given retailer product.

Path parameters

  • code string Required

    Code of the resource

Responses

  • No content to return

  • Authentication required

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

  • Access forbidden

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

  • Resource not found

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

DELETE /api/rest/v1/retailer/products/{code}
curl \
 -X DELETE https://content.winkelstraat.nl/api/rest/v1/retailer/products/{code}
Response examples (401)
401
"Authentication is required"
Response examples (401)
{
  "code": 42,
  "message": "string"
}
Response examples (403)
403
"Access forbidden. You are not allowed to list categories."
Response examples (403)
{
  "code": 42,
  "message": "string"
}
Response examples (404)
404
"Resource `my_resource_code` does not exist."
Response examples (404)
{
  "code": 42,
  "message": "string"
}