{"id":3457,"date":"2018-10-04T17:00:25","date_gmt":"2018-10-04T17:00:25","guid":{"rendered":"https:\/\/support.resrequest.com\/?p=3457"},"modified":"2026-02-03T11:19:30","modified_gmt":"2026-02-03T11:19:30","slug":"rv_update_status","status":"publish","type":"post","link":"https:\/\/support.resrequest.com\/developer\/rv_update_status\/","title":{"rendered":"rv_update_status"},"content":{"rendered":"\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-av_section-8215b6690a2daa40823385ce8451459f\">\n.avia-section.av-av_section-8215b6690a2daa40823385ce8451459f{\nbackground-color:#f6f6f6;\nbackground-image:unset;\n}\n<\/style>\n<div id='av_section_1'  class='avia-section av-av_section-8215b6690a2daa40823385ce8451459f main_color avia-section-small avia-no-shadow  avia-builder-el-0  el_before_av_one_full  avia-builder-el-first  avia-bg-style-scroll container_wrap sidebar_right'  ><div class='container av-section-cont-open' ><main  role=\"main\" itemprop=\"mainContentOfPage\"  class='template-page content  av-content-small alpha units'><div class='post-entry post-entry-type-page post-entry-3457'><div class='entry-content-wrapper clearfix'>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-av_image-b1dd019091d565241aee1b23e1b3e1e2\">\n.avia-image-container.av-av_image-b1dd019091d565241aee1b23e1b3e1e2 img.avia_image{\nbox-shadow:none;\n}\n.avia-image-container.av-av_image-b1dd019091d565241aee1b23e1b3e1e2 .av-image-caption-overlay-center{\ncolor:#ffffff;\n}\n<\/style>\n<div  class='avia-image-container av-av_image-b1dd019091d565241aee1b23e1b3e1e2 av-styling- avia-align-center  avia-builder-el-1  avia-builder-el-no-sibling '   itemprop=\"image\" itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/ImageObject\" ><div class=\"avia-image-container-inner\"><div class=\"avia-image-overlay-wrap\"><img decoding=\"async\" fetchpriority=\"high\" class='wp-image-3359 avia-img-lazy-loading-not-3359 avia_image ' src=\"https:\/\/support.resrequest.com\/wp-content\/uploads\/2018\/01\/Tutorial-header-developer-resrequest-API.jpg\" alt='ResRequest API' title='ResRequest API'  height=\"320\" width=\"1920\"  itemprop=\"thumbnailUrl\" srcset=\"https:\/\/support.resrequest.com\/wp-content\/uploads\/2018\/01\/Tutorial-header-developer-resrequest-API.jpg 1920w, https:\/\/support.resrequest.com\/wp-content\/uploads\/2018\/01\/Tutorial-header-developer-resrequest-API-300x50.jpg 300w, https:\/\/support.resrequest.com\/wp-content\/uploads\/2018\/01\/Tutorial-header-developer-resrequest-API-768x128.jpg 768w, https:\/\/support.resrequest.com\/wp-content\/uploads\/2018\/01\/Tutorial-header-developer-resrequest-API-1030x172.jpg 1030w, https:\/\/support.resrequest.com\/wp-content\/uploads\/2018\/01\/Tutorial-header-developer-resrequest-API-1500x250.jpg 1500w, https:\/\/support.resrequest.com\/wp-content\/uploads\/2018\/01\/Tutorial-header-developer-resrequest-API-705x118.jpg 705w, https:\/\/support.resrequest.com\/wp-content\/uploads\/2018\/01\/Tutorial-header-developer-resrequest-API-450x75.jpg 450w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/div><\/div><\/div>\n<\/div><\/div><\/main><!-- close content main element --><\/div><\/div><div id='after_section_1'  class='main_color av_default_container_wrap container_wrap sidebar_right'  ><div class='container av-section-cont-open' ><div class='template-page content  av-content-small alpha units'><div class='post-entry post-entry-type-page post-entry-3457'><div class='entry-content-wrapper clearfix'>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d\">\n#top .flex_column.av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d{\nmargin-top:10px;\nmargin-bottom:10px;\n}\n.flex_column.av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d{\nborder-radius:0px 0px 0px 0px;\npadding:0px 30px 0px 30px;\n}\n.responsive #top #wrap_all .flex_column.av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d{\nmargin-top:10px;\nmargin-bottom:10px;\n}\n<\/style>\n<div  class='flex_column av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d av_one_full  avia-builder-el-2  el_after_av_section  el_before_av_one_full  avia-builder-el-first  first flex_column_div  '     ><section  class='av_textblock_section av-av_textblock-0366cc7376be6c9e82a3e9cc8987b64f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3><span style=\"font-weight: 400;\">rv_update_status<\/span><\/h3>\n<\/div><\/section><br \/>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-av_hr-a6de236e6c183bbbd700292deacd2b52\">\n#top .hr.hr-invisible.av-av_hr-a6de236e6c183bbbd700292deacd2b52{\nheight:20px;\n}\n<\/style>\n<div  class='hr av-av_hr-a6de236e6c183bbbd700292deacd2b52 hr-invisible  avia-builder-el-4  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div><br \/>\n<section  class='av_textblock_section av-av_textblock-0366cc7376be6c9e82a3e9cc8987b64f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h4><strong>Description<\/strong><\/h4>\n<p><span style=\"font-weight: 400;\">Updates the status of the specified reservation.<\/span><\/p>\n<h4><strong>Access<\/strong><\/h4>\n<p><span style=\"font-weight: 400;\">Updates existing data, master access required, available only to internal users in an access group allowed to make the status change requested.<\/span><\/p>\n<h4><strong>Parameters<\/strong><\/h4>\n<\/div><\/section><\/p><\/div>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d\">\n#top .flex_column.av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d{\nmargin-top:10px;\nmargin-bottom:10px;\n}\n.flex_column.av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d{\nborder-radius:0px 0px 0px 0px;\npadding:0px 30px 0px 30px;\n}\n.responsive #top #wrap_all .flex_column.av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d{\nmargin-top:10px;\nmargin-bottom:10px;\n}\n<\/style>\n<div  class='flex_column av-av_one_full-8975cfbc74e94f7f6a843327fa3cf88d av_one_full  avia-builder-el-6  el_after_av_one_full  el_before_av_textblock  first flex_column_div  column-top-margin'     ><p><div class='avia-data-table-wrap av-av_table-79567314f19fdf27597651e950bcbb3a avia_responsive_table avia-table-1'><table  class='avia-table avia-data-table avia_pricing_default  avia-builder-el-7  el_before_av_textblock  avia-builder-el-first '  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/Table\" ><tbody><tr class='avia-heading-row'><th class=''>Number<\/th><th class=''>Name<\/th><th class=''>O\/R<\/th><th class=''>Usage<\/th><\/tr><tr class=''><td class=''>1<\/td><td class=''>Auth<\/td><td class=''>Required<\/td><td class=''>Authentication structure.*<\/td><\/tr><tr class=''><td class=''>2<\/td><td class=''>Reservation ID<\/td><td class=''>Required<\/td><td class=''>\u201cId\u201d of the reservation to update the status of.<\/td><\/tr><tr class=''><td class=''>3<\/td><td class=''>Status ID<\/td><td class=''>Required<\/td><td class=''>\u201cId\u201d of the status. See \u201crv_create\u201d call for status Ids.<\/td><\/tr><tr class=''><td class=''>4<\/td><td class=''>Provisional expiry date<\/td><td class=''>Optional<\/td><td class=''>Only used for provisional status. If left empty the default expiry date will be calculated.<\/td><\/tr><tr class=''><td class=''>5<\/td><td class=''>Cancel reason<\/td><td class=''>Optional<\/td><td class=''>Only used for cancelled status. The reason for the cancellation.<\/td><\/tr><tr class=''><td class=''>6<\/td><td class=''>Allow overbooking<\/td><td class=''>Optional<\/td><td class=''>If this optional value is not empty then an overbooking will be allowed if the user has access to process it.<\/td><\/tr><tr class=''><td class=''>7 <\/td><td class=''>Send modification request<\/td><td class=''>Optional [Recommended]<\/td><td class=''>If this optional value is true then a modification request will be sent when the user is meant to be able to make a modification but cannot due to environment restrictions (e.g. slave environment).<\/td><\/tr><tr class=''><td class=''>8<\/td><td class=''>Custom subject<\/td><td class=''>Optional<\/td><td class=''>If this optional value is not empty then it will be used as the subject line for a modification request email.<\/td><\/tr><tr class=''><td class=''>9<\/td><td class=''>Custom body<\/td><td class=''>Optional<\/td><td class=''>If this optional value is not empty then it will be used as the first part of the body of a modification request email.<\/td><\/tr><\/tbody><\/table><\/div><style type='text\/css'>.avia-table-1 td:nth-of-type(1):before { content: 'Number'; } .avia-table-1 td:nth-of-type(2):before { content: 'Name'; } .avia-table-1 td:nth-of-type(3):before { content: 'O\/R'; } .avia-table-1 td:nth-of-type(4):before { content: 'Usage'; } <\/style><br \/>\n<section  class='av_textblock_section av-av_textblock-0366cc7376be6c9e82a3e9cc8987b64f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>*See\u00a0<a href=\"https:\/\/support.resrequest.com\/developer\/resrequest-api\/call-structure\/\">call structure explanation<\/a>.<\/p>\n<\/div><\/section><\/p><\/div><section  class='av_textblock_section av-av_textblock-0366cc7376be6c9e82a3e9cc8987b64f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>3 Status ID options:<\/p>\n<\/div><\/section><\/p>\n<div class='avia-data-table-wrap av-av_table-79567314f19fdf27597651e950bcbb3a avia_responsive_table avia-table-2'><table  class='avia-table avia-data-table avia_pricing_default  avia-builder-el-10  el_after_av_textblock  el_before_av_textblock '  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/Table\" ><tbody><tr class='avia-heading-row'><th class=''>Code<\/th><th class=''>Name<\/th><th class=''>Description<\/th><\/tr><tr class=''><td class=''>0<\/td><td class=''>Quotation<\/td><td class=''>Used to generate a quotation only. No follow up will be made on this reservation and no stock will be held.<\/td><\/tr><tr class=''><td class=''>10<\/td><td class=''>Wait listed<\/td><td class=''>Used to be put on a waiting list for stock. A follow up will be made if the stock becomes available. No stock is held initially.<\/td><\/tr><tr class=''><td class=''>20<\/td><td class=''>Provisional<\/td><td class=''>Used to hold stock provisionally. This provisional hold on the stock will expire after a predetermined amount of time. This amount of time may differ per principal and needs to be confirmed for each implementation if necessary. This is the default<\/td><\/tr><tr class=''><td class=''>30<\/td><td class=''>Confirmed<\/td><td class=''>Used to hold stock on and confirm the booking.<\/td><\/tr><tr class=''><td class=''>90<\/td><td class=''>Cancelled<\/td><td class=''>Used to cancel the reservation.<\/td><\/tr><\/tbody><\/table><\/div><style type='text\/css'>.avia-table-2 td:nth-of-type(1):before { content: 'Code'; } .avia-table-2 td:nth-of-type(2):before { content: 'Name'; } .avia-table-2 td:nth-of-type(3):before { content: 'Description'; } <\/style>\n<section  class='av_textblock_section av-av_textblock-0366cc7376be6c9e82a3e9cc8987b64f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h4><strong>Example<\/strong><\/h4>\n<p><span style=\"font-weight: 400;\">Request<\/span><\/p>\n<\/div><\/section>\n<section  class='av_textblock_section av-av_textblock-0366cc7376be6c9e82a3e9cc8987b64f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><pre class=\"\"><span style=\"font-weight: 400;\">{<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\"method\": \"rv_update_status\",<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\"params\": [<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"bridge_username\":\"username\",<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"bridge_password\":\"password\",<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"link_id\":\"4\"<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"WB677\",<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"10\",<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"\",<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"\",<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"\"<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0],<\/span>\r\n\r\n<span style=\"font-weight: 400;\"> \u00a0\u00a0\u00a0\"id\": 1<\/span>\r\n\r\n<span style=\"font-weight: 400;\">}<\/span>\r\n\r\n\r\n<\/pre>\n<\/div><\/section>\n<section  class='av_textblock_section av-av_textblock-0366cc7376be6c9e82a3e9cc8987b64f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p><span style=\"font-weight: 400;\">Response<\/span><\/p>\n<\/div><\/section>\n<section  class='av_textblock_section av-av_textblock-0366cc7376be6c9e82a3e9cc8987b64f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><pre class=\"\">{\r\n    \"id\": 1,\r\n    \"error\": null,\r\n    \"result\": true\r\n}<\/pre>\n<\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[70,495,537],"tags":[193,538,201,544,541],"version":[],"class_list":["post-3457","post","type-post","status-publish","format-standard","hentry","category-developer","category-resrequest-api","category-reservations-functions","tag-api","tag-booking-functions","tag-resrequest-api","tag-rv_update_status","tag-source"],"acf":[],"_links":{"self":[{"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/posts\/3457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/comments?post=3457"}],"version-history":[{"count":11,"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/posts\/3457\/revisions"}],"predecessor-version":[{"id":5837,"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/posts\/3457\/revisions\/5837"}],"wp:attachment":[{"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/media?parent=3457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/categories?post=3457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/tags?post=3457"},{"taxonomy":"version","embeddable":true,"href":"https:\/\/support.resrequest.com\/wp-json\/wp\/v2\/version?post=3457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}