Delete Product API: product_delete

The Delete Product API is used to mark a product as inactive in the catalog by setting its active status to 0. The product is not permanently deleted but becomes unavailable for recommendations, comparisons, search results, and other visibility-related operations.

API Endpoint and Method

URL Format

https://{baseurl}/api/{version}/{applicationName}/b2b/{comapnyHash}/{serviceName}
			

Example URL

https://api-sandbox.algonomy.com/api/v1/eventProductStore/b2b/ABCDILOBZCGHVLZTCNTGJMYGQEARWVZVCUPYVUGNCZPJRSUDAR/product_delete
			

HTTP Method

POST

Sample Body

{
“eventData”:{
“ProductCode”: “String”,
}
}
			

Sample Request

{
"eventData": {
"productCode": "Test8_1234"
}
}
			

Parameters

Parameter

Type Required or Optional

Description

ProductCode String Required The unique code for the product to be deleted. Example: "Test8_1234"

HTTP Response Codes

Response Code

Description

202 Accepted The request was successfully accepted.
500 Internal Server Error

The server encountered an internal error and failed to process the request.