Update a shipping rateCopy Pageput https://api.ecommerceapi.uk/v1/shipping-rates/{id}Updates an existing shipping rate. Country cannot be changed after creation.Path ParamsidintegerrequiredThe unique identifier of the shipping rate.Body Paramsstatesarray of stringsList of state IDs (for US).statesADD stringpostcodesarray of stringsList of postcodes (for UK).postcodesADD stringnamestringThe name of the shipping rate.criteriastringenumpriceweightAllowed:priceweightfromnumberThe starting value for the criteria.tonumberThe end value for the criteria (0 for unlimited).costnumberThe cost of the shipping rate.vatExclusivebooleanWhether the shipping rate is VAT exempt / zero rated.truefalseenabledbooleanWhether the shipping rate is enabled.truefalseResponse 200Shipping rate updated successfully.Updated about 1 year ago