diff --git a/pms_api_rest/services/pms_availability_plan_service.py b/pms_api_rest/services/pms_availability_plan_service.py index 2ef5c3b963..a28c8b859c 100644 --- a/pms_api_rest/services/pms_availability_plan_service.py +++ b/pms_api_rest/services/pms_availability_plan_service.py @@ -230,7 +230,7 @@ def _create_or_update_avail_plan_rules(self, pms_avail_plan_rules_info): [ ( [ - "//availability-plan-rules", + "/p//availability-plan-rules", ], "PATCH", ) @@ -255,7 +255,7 @@ def create_availability_plan_rule(self, availability_plan_id, pms_avail_plan_rul [ "/batch-changes", ], - "PATCH", + "POST", ) ], input_param=Datamodel("pms.availability.plan.rules.info", is_list=False), diff --git a/pms_api_rest/services/pms_pricelist_service.py b/pms_api_rest/services/pms_pricelist_service.py index bcbb79319d..6f7965a271 100644 --- a/pms_api_rest/services/pms_pricelist_service.py +++ b/pms_api_rest/services/pms_pricelist_service.py @@ -199,7 +199,7 @@ def create_pricelist_item(self, pricelist_id, pms_pricelist_item_info): [ ( [ - "//pricelist-items", + "/p//pricelist-items", ], "PATCH", ) @@ -220,7 +220,7 @@ def create_pricelist_item(self, pricelist_id, pms_pricelist_item_info): [ "/batch-changes", ], - "PATCH", + "POST", ) ], input_param=Datamodel("pms.pricelist.items.info", is_list=False),