Skip to main content

productArchivePrices

Archive Product Prices​

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 company.

Possible Errors​

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

Arguments​

productArchivePrices.input ● ArchiveProductPricesInput! non-null input common​

Parameters for ArchiveProductPrices

Type​

AsynchronousActionResponse object common​

Asynchronous action response type