Delete all cost price records for a specific price
DELETE/v2/prices/:id/cost-prices
Removes all cost price configurations associated with the specified price ID.
Deletes all cost price records linked to the given price. This action cannot be undone and will affect margin calculations that depend on these cost prices.
Request
Responses
- 200
- 400
- 403
- 404
- 500
All cost price records for the specified price successfully deleted
Invalid price ID format
Insufficient permissions to delete cost prices
Price with the specified ID does not exist
Internal server error occurred while deleting cost prices