costPriceDelete
Permanently delete a cost price record from the system.
Removes the cost price configuration and all associated data. This action cannot be undone and will affect margin calculations that depend on this cost price.
Possible errors:
- COST_PRICE_NOT_FOUND_ERROR: Cost price with the specified ID does not exist
- COST_PRICE_DELETE_ERROR: Failed to delete the cost price record
AUTH: Role=[pricing.OWNER]
costPriceDelete(
id: String!
): Boolean!
Arguments
costPriceDelete.id
● String!
non-null scalar
Unique identifier of the cost price record to delete.
Must be a valid UUID format representing an existing cost price in the system.
Type
Boolean
scalar
The Boolean
scalar type represents true
or false
.