POST api/Products/ProductPriceAndNutrition

update both price and nutrition

Request Information

URI Parameters

None.

Body Parameters

Product
NameDescriptionTypeAdditional information
Quantity

integer

None.

ProductHash

string

None.

ProductRelationHash

string

None.

ProductVariantHash

string

None.

RelationId

integer

None.

VariantId

integer

None.

ProductGuid

string

None.

LunchcartItemHash

string

None.

CommonProductId

string

None.

ParentProductId

string

None.

ProductTypeId

integer

None.

ProductSubType

string

None.

ProductSizeDescription

string

None.

MenuGroupId

integer

None.

MenuGroupName

string

None.

MenuGroupPosition

integer

None.

FavoriteProductHash

string

None.

Name

string

None.

MenuDisplayName

string

None.

OrderSummaryName

string

None.

Price

decimal number

None.

BasePrice

decimal number

None.

Description

string

None.

ImageId

integer

None.

ImageUrl

string

None.

ImageUrl2

string

None.

LgImageUrl

string

None.

MegaImageUrl

string

None.

CalloutImageUrl

string

None.

CalloutImagePosition

ImagePosition

None.

IsFavorite

boolean

None.

IsEdited

boolean

None.

IsReadOnly

boolean

None.

IsEditorEnabled

boolean

None.

IsInlineEditorEnabled

boolean

None.

EditDescription

string

None.

RecipeDescription

string

None.

Nutrition

Nutrition

None.

StaticNutrition

boolean

None.

ShowNutrition

boolean

None.

PagerNameRequired

boolean

None.

PagerRequired

boolean

None.

HotFlag

boolean

None.

NoMeatFlag

boolean

None.

VeganFlag

boolean

None.

VegeFlag

boolean

None.

IsValid

boolean

None.

ProductAttributeTypes

Collection of ProductAttributeType

None.

IngredientList

Collection of Ingredient

None.

InternalUse

boolean

None.

ShareURL

string

None.

AppliedCombinedFilters

Collection of CombinedMenuFilter

None.

ProductTypeSingularName

string

None.

PopularityRank

integer

None.

ErrorMessage

string

None.

DynamicImageUrl

string

None.

FoodFightPlace

integer

None.

FoodFightVotes

integer

None.

DisplayForTime

boolean

None.

HasEditOption

boolean

None.

FriendlyNameWithSizeDescription

string

None.

ChildProductList

Collection of ChildProduct

None.

ExtraProductImages

Collection of string

None.

MealGroupId

integer

None.

MealGroupName

string

None.

PackageEditOption

boolean

None.

VariantSelectorText

string

None.

ProductGroupId

integer

None.

IsDuoItem

boolean

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'ChildProductList[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'ChildProductList[0]'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'ChildProductList[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Specialtys.DTO.ChildProduct' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Specialtys.DTO.ChildProduct' contains cycles and cannot be serialized if reference tracking is disabled.

Response Information

Resource Description

same product with updated price and nutrition

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.