Products | Cost Prices

Delete one or more cost prices on a product in Omnium. Will delete existing cost price if found.

delete/api/CostPrices

Request

  • Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
  • URL: https://api.omnium.no/api/CostPrices
  • Auth: API key in header Authorization

Request body

productIdstring nullable

Products ProductId to delete cost prices for

ignoreDatesboolean

Must match the "IgnoreDates" flag used when the cost prices were added. Cost prices added with "IgnoreDates" set to "true" are stored without dates in their identifier, and can only be deleted by setting this to "true" as well.

ignoreValidUntilDateboolean

Must match the "IgnoreValidUntilDate" flag used when the cost prices were added. Cost prices added with "IgnoreValidUntilDate" set to "true" are stored without a ValidUntil date in their identifier, and can only be deleted by setting this to "true" as well. This will only work if "IgnoreDates" is set to "false".

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.