Products | Categories

Put a product category to the OMS, CAUTION: overwriting existing product category

put/api/ProductCategories

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

Request body

idstring nullable

Product category ID (Calculated, unique, including language prefix: {CategoryId}_{Language})

categoryIdstring nullable

Product category ID (Without language prefix). Required when adding a new category

namestring nullable

Product category name

descriptionstring nullable

Product category short description

parentIdstring nullable

Parent category ID

languagestring nullable

Product category language code

isMainCategoryboolean

Is product category a primary category

imageUrlstring nullable

Image Url

isHiddenboolean

True if category should be hidden to end users

metaDescriptionstring nullable

Meta description

metaTitlestring nullable

Meta title

metaKeywordsstring nullable

Meta keywords

sortIndexinteger

Sort index

productSearchIdstring nullable

Product search ID. If this property has value, the category is a dynamic category representing a saved search request. Use GetByProductSearch endpoint to fetch products. Mutually exclusive with Omnium.Public.Products.Models.OmniumProductCategory.SearchGroupId.

searchGroupIdstring nullable

Search group ID. If set, the category is a dynamic category representing a search group. Related products are fetched by search only — not by category association. Mutually exclusive with Omnium.Public.Products.Models.OmniumProductCategory.ProductSearchId.

googleProductCategoryIdstring nullable

Google's category id of the item (see Google product taxonomy).

Response

Product category updated

Changes

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