Skip to main content

priceDelete

Permanently delete a price record from the system.

Removes the price and all associated data. This action cannot be undone and will affect any pricing calculations that depend on this price record.

Possible errors:

  • PRICE_NOT_FOUND_ERROR: Price with the specified ID does not exist
  • PRICE_DELETE_ERROR: Failed to delete the price
  • PRICE_IN_USE_ERROR: Price is currently being used and cannot be deleted
  • UNAUTHENTICATED: Invalid or missing authentication
  • FORBIDDEN: Insufficient permissions to delete prices

AUTH: Role=[pricing.OWNER]

priceDelete(
id: String!
): Boolean!

Arguments

priceDelete.id ● String! non-null scalar

Unique identifier of the price record to delete.

Must be a valid UUID format representing an existing price in the system.

Type

Boolean scalar

The Boolean scalar type represents true or false.