Delete a retailer product

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://content.doc.winkelstraat.nl/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Content API MCP server": {
    "url": "https://content.doc.winkelstraat.nl/mcp"
  }
}

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

Purpose: stop selling one product (one size) on Winkelstraat.nl.

  • The product is removed from the webshop at the next catalogue update. When all sizes of a product group are deleted, the whole article disappears from the webshop.
  • Its stock is set to 0 and its EAN is released, so you can use the EAN again.
  • Afterwards the product is no longer returned by GET /products or GET /products/{code}.
  • Sending the product again with POST or PATCH restores it.

To make a product temporarily unavailable without deleting it, set its quantity to 0 instead. See the Product status topic.

No request body is needed.

Path parameters

  • code string Required

    The product's identifier (your SKU)

Responses

  • 202

    Accepted, nothing to delete

  • 204

    Deleted

  • 401 application/json

    Authentication required

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

  • 403 application/json

    Access forbidden

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

  • 422 application/json

    Unprocessable entity

    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 \
 --request DELETE 'https://content.winkelstraat.nl/api/rest/v1/retailer/products/{code}' \
 --header "Authorization: $API_KEY"
Response examples (401)
{
  "code": 401,
  "message": "The access token provided is invalid."
}
Response examples (401)
{
  "code": 42,
  "message": "string"
}
Response examples (403)
{
  "code": 403,
  "message": "Access forbidden. You are not allowed to list products."
}
Response examples (403)
{
  "code": 42,
  "message": "string"
}
Response examples (422)
{
  "code": 422,
  "message": "Invalid category code \"999999\""
}
Response examples (422)
{
  "code": 42,
  "message": "string"
}