Palbase Commerce & Promotions · API
DELETE
/commerce/collections/{collection_id}/products/{product_id}Remove product from collection
Remove product from collection
Called by your server, with the project's secret key.
Path
collection_idstring · requiredPath parameter collection_id.product_idstring · requiredPath parameter product_id.curl
curl -X DELETE "https://<your-ref>.palbase.studio/commerce/collections/<collection_id>/products/<product_id>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200Remove product from collection
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation RemoveCollectionProduct of commerce's contract.