costPricesDelete
Delete all cost price records associated with a specific price.
Removes all cost price configurations linked to the specified price ID. This action cannot be undone and will affect margin calculations that depend on these cost prices.
Possible errors:
- PRICE_NOT_FOUND_ERROR: Price with the specified ID does not exist
- COST_PRICE_DELETE_ERROR: Failed to delete cost price records
AUTH: Role=[pricing.OWNER]
costPricesDelete(
priceId: String!
): Boolean!
Arguments
costPricesDelete.priceId
● String!
non-null scalar
Unique identifier of the price whose cost prices should be deleted.
Must be a valid UUID format representing an existing price in the system.
Type
Boolean
scalar
The Boolean
scalar type represents true
or false
.