Ratings

Add or save a rating. If ID is null, it will be created.

put/api/Ratings

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

Request body

idstring nullable

Rating ID

parentIdstring nullable

Parent rating ID

datestring date-time

Rated date

valueinteger

Rating score

typestring nullable

Rating type (E.g. Customer, Product, etc)

objectIdstring nullable

ID of the object being evaluated (Partner ID, Product ID, etc)

parentObjectIdstring nullable

Parent ID For product ratings this will be product.ParentId and can be used to set rating count and average for all products sharing the same parentId.

skuIdstring nullable

SkuId of the object being evaluated (if product rating)

objectNamestring nullable

Name of the object being evaluated (Product name, project name etc)

raterNamestring nullable

Name of the rater

raterDisplayNamestring nullable

Name of the rater. To be used on website. Can be only first name if DisplayOnlyFirstName is true. Else it will be same as RaterName

displayOnlyFirstNameboolean

Display only firstname. To be used on website if user wants to be anonymous

raterIdstring nullable

Rater ID (typical customer ID)

commentstring nullable

Rating comment

storeIdstring nullable

Store ID

marketIdstring nullable

Market ID

imageUrlstring nullable

Product image

attentionRequiredboolean nullable

Requires attention by customer service

Response

Success

Changes

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