Update a Shipping RuleAsk AIpatch https://public-api.easyship.com/2024-09/shipping_rules/{shipping_rule_id}Update a shipping rule. Required authorization scope: public.shipping_rule:writePath Paramsshipping_rule_idstringrequiredShipping Rule ID provided when creatingBody ParamsnamestringShipping Rule namedescriptionstringShipping Rule descriptionrecalculate_shipmentsbooleanRecalculate all shipments affected by this shipping ruletruetruefalsepriorityintegerA smaller value represent higher priority. High priority shipping rule would be execute first.conditionsarray of objectslength ≥ 1conditions objectmatch_countrymatch_allmatch_categorymatch_statematch_zipcodematch_skumatch_platform_namematch_storematch_buyer_selected_courier_namematch_items_countmatch_selling_pricematch_weightinclude_order_tag_nametypestringenumrequiredmatch_countryAllowed:match_countryoptionsobjectrequiredoptions objectiduuidADD ConditionMatchCountry | ConditionMatchAll | ConditionMatchCategory | ConditionMatchState | ConditionMatchZipcode | ConditionMatchSku | ConditionMatchPlatformName | ConditionMatchStore | ConditionMatchBuyerSelectedCourierName | ConditionMatchItemsCount | ConditionMatchSellingPrice | ConditionMatchWeight | ConditionIncludeOrderTagNameactionsarray of objectslength ≥ 1actions objectadd_never_courier_serviceadd_preferred_courier_serviceforce_incotermsforce_sort_byforce_insuranceforce_tracking_ratingforce_packagereject_packagesforce_residential_surchargeforce_ship_fromforce_automated_return_requestedadd_forced_delivery_timetypestringenumrequiredadd_never_courier_serviceAllowed:add_never_courier_serviceoptionsobjectrequiredoptions objectiduuidADD ActionAddNeverCourier | ActionAddPreferredCourier | ActionForceIncoterms | ActionForceSortBy | ActionForceInsurance | ActionForceTrackingRating | ActionForcePackage | ActionRejectPackages | ActionForceResidentialSurcharge | ActionForceShipFrom | ActionForceAutomatedReturnRequested | ActionAddForcedDeliveryTimeResponses 200shipping rule successfully updated 403unauthorizedUpdated 10 months ago