curl --request POST \
--url https://api.example.com/api/public/product/delete/{promptBlockId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
[
{
"external_id": "<string>"
}
]
'Delete products by their external IDs. This endpoint only deletes products.
curl --request POST \
--url https://api.example.com/api/public/product/delete/{promptBlockId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
[
{
"external_id": "<string>"
}
]
'API key needed to authorize the request
The prompt block ID from which to delete the products
The payload with external IDs of products to delete
1External ID of product to delete
1Products deleted successfully.
Was this page helpful?