Deletes products by product numbers.
products.delete_products(ProductDeleteProductsParams**kwargs) -> ProductDeleteProductsResponse
DELETE/api/v2/public/products
Deletes products by product numbers.
Parameters
product_number: Optional[SequenceNotStr[str]]
The product numbers to target.
Returns
Deletes products by product numbers.
import os
from colleqtive_sdk import Colleqtive
client = Colleqtive(
bearer_token=os.environ.get("COLLEQTIVE_BEARER_TOKEN"), # This is the default and can be omitted
)
response = client.products.delete_products()
print(response.data){
"data": "12345",
"message": "Record created successfully.",
"success": true
}Returns Examples
{
"data": "12345",
"message": "Record created successfully.",
"success": true
}