put Inventory Items

PUT {{HostName}}/evm/config/v1/hotels/{{HotelId}}/inventoryItems/{{InventoryItemId}}

(Resource Availability)

Request Body

{"items"=>[{"itemClassId"=>{"type"=>"ItemClassId", "id"=>"2778"}, "itemName"=>{"defaultText"=>"RMSET"}, "itemCode"=>"6'258", "revenueType"=>"MISC", "externalOrder"=>false, "print"=>true, "sellInfo"=>{"qtyInStock"=>"20", "defaultQty"=>"1", "sellSeparate"=>false, "sellControl"=>false, "webBookable"=>false, "outsideStay"=>false, "fixedCharge"=>false, "discountable"=>false, "criticalInventory"=>true}, "displaySequence"=>"1", "attributes"=>[{"itemAttributeId"=>{"type"=>"ItemAttributeId", "id"=>"7037"}, "translatableName"=>{"defaultText"=>"RoomSet"}, "default"=>false}], "rates"=>[{"itemRateId"=>{"type"=>"ItemRateId", "id"=>"2271"}, "itemRateCode"=>"CUSTOM", "name"=>"Custom Rate", "price"=>{"amount"=>"35"}, "hourly"=>false, "default"=>true}], "hotelId"=>"{{HotelId}}", "itemId"=>{"type"=>"ItemInventoryId", "id"=>"2585"}}]}

HEADERS

KeyDatatypeRequiredDescription
x-hotelidstring
x-app-keystring