Products | Prices

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

delete/api/Prices

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/Prices
  • Auth: API key in header Authorization

Request body

productIdstring nullable

ProductId of the product to delete prices for. (If multiple language versions, all versions will be deleted.)

ignoreDatesboolean

If true, prices for variant will replace existing prices with other dates. If false, only prices with exact same dates will be overridden.

ignoreValidUntilDateboolean

If true, prices for variant will replace existing prices with other dates for the "ValidUntil" property, but will still need an exact match for the "ValidFrom" property. 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.