Order items

patch/order/{harbor}/item/edit/{orderItem}

Request

  • Base URL: https://api.harba.co
  • URL: https://api.harba.co/order/{harbor}/item/edit/{orderItem}
  • Auth: none declared

Path parameters

harborstring required
orderItemstring required

Request body

orderstring Order\Entity\Order id required
namestring required
quantitynumber required
quantity2number required
pricePerUnitnumber required
pricePerUnit2number required
unit'pcs' | 'ppl' | 'units' | 'modules' | 'each' | 'pair' | 'percent' | 'cm' | 'm' | 'km' | 'yard' | 'inch' | 'feet' | 'miles' | 'g' | 'kg' | 'tonne' | 'gallon' | 'ounce' | 'pound' | 'cm3' | 'm3' | 'm2' | 'l' | 'ml' | 'hours' | 'days' | 'weeks' | 'months' | 'years' | 'kWh' required
unit2'' | 'hours' | 'days' | 'weeks' | 'months' | 'years' required
basePricenumber
pricingScheme'static' | 'boat_length' | 'boat_width' | 'boat_area' | 'berth_width' | 'berth_area' | 'boat_mast_height' | 'boat_length_ft' | 'boat_width_ft' | 'boat_area_ft' | 'berth_width_ft' | 'berth_area_ft' | 'boat_mast_height_ft' | 'add_2_prices' | 'multiply_by_second_unit' required
vatPercentnumber
harborProductIdnumber
productModulestring required
bridgeIdstring
bridgeNamestring
berthIdstring
berthNamestring
periodFromstring date
periodTostring date
entityIdstring required
discountType'amount' | 'percent' required
discountAmountnumber

Response

Success

Changes

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