Skip to main content

productDeletePrices

DEPRECATED

Use productArchivePrices instead. This mutation will be removed in the future.

Delete Product Prices (Archive)

**⚠️ Deprecated:** Use productArchivePrices instead. This mutation will be removed in the future.

Archives specific prices from a product. This operation is asynchronous and returns immediately with a processing status while the archiving occurs in the background.

Authentication & Permissions

Requires authentication and the products:delete_prices permission for the product's brand.

Possible Errors

  • **Product not found**: The specified product ID doesn't exist
  • **DeletePricesError**: Product doesn't belong to specified brand or one or more price IDs don't exist for the product
  • **Authentication error**: User not logged in or lacks required permissions
productDeletePrices(
input: DeleteProductPricesInput!
): AsynchronousActionResponse! @deprecated

Arguments

productDeletePrices.input ● DeleteProductPricesInput! non-null input

Parameters for DeleteProductPrices

Type

AsynchronousActionResponse object

Asynchronous action response type