{"id":1608,"date":"2018-07-12T11:13:43","date_gmt":"2018-07-12T14:13:43","guid":{"rendered":"http:\/\/maxipago.com\/developers\/?page_id=1608"},"modified":"2023-03-08T20:59:42","modified_gmt":"2023-03-08T23:59:42","slug":"atualizar-um-cliente","status":"publish","type":"page","link":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/atualizar-um-cliente\/","title":{"rendered":"Atualizar um Cadastro de Cliente"},"content":{"rendered":"<div class=\"row\">\n<div class=\"col-md-6\">\n<p>Atualiza\u00e7\u00e3o de um cliente \u00e9 feito atrav\u00e9s do comando update-consumer. Os par\u00e2metros aceitos e o formato da chamada s\u00e3o muito similares ao comando add-consumer. A principal diferen\u00e7a \u00e9 que este m\u00e9todo requer o envio do campo <strong style=\"color: #878787;\">customerId<\/strong>.<\/p>\n<\/div>\n<div class=\"col-md-6\">\n<h2><strong style=\"color: #e06b08;\">URLs para atualizar um cadastro de cliente<\/strong><\/h2>\n<p><strong style=\"color: #878787;\">Sandbox:<\/strong>\u00a0https:\/\/testapi.maxipago.net\/UniversalAPI\/postAPI<br \/>\n<strong style=\"color: #878787;\">Produ\u00e7\u00e3o:<\/strong>\u00a0https:\/\/api.maxipago.net\/UniversalAPI\/postAPI<\/p>\n<\/div>\n<\/div>\n<div class=\"row\">\n<div class=\"col-md-6\">\n<h2><strong style=\"color: #e06b08;\">Exemplo de requisi\u00e7\u00e3o<\/strong><\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;api-request&gt;\n    &lt;verification&gt;\n        &lt;merchantId&gt;store-id&lt;\/merchantId&gt;\n        &lt;merchantKey&gt;store-key&lt;\/merchantKey&gt;\n    &lt;\/verification&gt;\n    &lt;command&gt;update-consumer&lt;\/command&gt;\n    &lt;request&gt;\n        &lt;customerId&gt;00000001&lt;\/customerId&gt;\n        &lt;customerIdExt&gt;00000001&lt;\/customerIdExt&gt;\n        &lt;firstName&gt;Fulano&lt;\/firstName&gt;\n        &lt;lastName&gt;de Tal&lt;\/lastName&gt;\n        &lt;address1&gt;Av. Marcos Penteado de Ulhoa Rodrigues, 939&lt;\/address1&gt;\n        &lt;address2&gt;11 Andar&lt;\/address2&gt;\n        &lt;city&gt;Barueri&lt;\/city&gt;\n        &lt;state&gt;SP&lt;\/state&gt;\n        &lt;zip&gt;06360040&lt;\/zip&gt;\n        &lt;country&gt;BR&lt;\/country&gt;\n        &lt;phone&gt;01121218536&lt;\/phone&gt;\n        &lt;email&gt;fulano@dominio.com&lt;\/email&gt;\n        &lt;dob&gt;12\/25\/1970&lt;\/dob&gt;\n        &lt;sex&gt;M&lt;\/sex&gt;\n        &lt;ssn&gt;12345678901&lt;\/ssn&gt;\n    &lt;\/request&gt;\n&lt;\/api-request&gt;<\/pre>\n<\/div>\n<div class=\"col-md-6 col-sm-3\">\n<h2><strong style=\"color: #e06b08;\">Os par\u00e2metros aceitos no update-consumer<\/strong><\/h2>\n<p>Os par\u00e2metros aceitos no comando update-consumer est\u00e3o abaixo. Se o campo for vazio, n\u00e3o enviar.<\/p>\n<div class=\"table-responsive\"><div id=\"footable_parent_3353\"\n         class=\" footable_parent ninja_table_wrapper loading_ninja_table wp_table_data_press_parent semantic_ui \">\n                <table data-ninja_table_instance=\"ninja_table_instance_0\" data-footable_id=\"3353\" data-filter-delay=\"1000\" aria-label=\"Tabela de par\u00e2metros - update-consumer\"            id=\"footable_3353\"\n           data-unique_identifier=\"ninja_table_unique_id_2769705394_3353\"\n           class=\" foo-table ninja_footable foo_table_3353 ninja_table_unique_id_2769705394_3353 ui table ninja_table_search_disabled nt_type_ajax_table selectable celled striped compact footable-paging-right\">\n                <colgroup>\n                            <col class=\"ninja_column_0 \">\n                            <col class=\"ninja_column_1 \">\n                            <col class=\"ninja_column_2 \">\n                    <\/colgroup>\n            <\/table>\n    \n    \n    \n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":1544,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1608","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Atualizar um Cadastro de Cliente - Gateway Rede! Developers<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Atualizar um Cadastro de Cliente - Gateway Rede! Developers\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/atualizar-um-cliente\/\" \/>\n<meta property=\"og:site_name\" content=\"Gateway Rede! Developers\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/maxiPago-193308344142172\/?fref=ts\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-08T23:59:42+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/atualizar-um-cliente\\\/\",\"url\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/atualizar-um-cliente\\\/\",\"name\":\"Atualizar um Cadastro de Cliente - Gateway Rede! Developers\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#website\"},\"datePublished\":\"2018-07-12T14:13:43+00:00\",\"dateModified\":\"2023-03-08T23:59:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/atualizar-um-cliente\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/atualizar-um-cliente\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/atualizar-um-cliente\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Docs\",\"item\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Requisi\u00e7\u00f5es de Cadastro\",\"item\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Atualizar um Cadastro de Cliente\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#website\",\"url\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/\",\"name\":\"Gateway Rede! Developers\",\"description\":\"Portal de Desenvolvedores - Gateway Rede!\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#organization\",\"name\":\"Gateway Rede! Developers\",\"url\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/LOGO_REDE_ENDOSSO_RGB_BRANCO-e1674497668914.png\",\"contentUrl\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/LOGO_REDE_ENDOSSO_RGB_BRANCO-e1674497668914.png\",\"width\":150,\"height\":61,\"caption\":\"Gateway Rede! Developers\"},\"image\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/maxiPago-193308344142172\\\/?fref=ts\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/2500991?trk=tyah&amp;amp;trkInfo=clickedVertical:company,clickedEntityId:2500991,idx:2-1-2,tarId:1483920469427,tas:maxipago\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Atualizar um Cadastro de Cliente - Gateway Rede! Developers","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"pt_BR","og_type":"article","og_title":"Atualizar um Cadastro de Cliente - Gateway Rede! Developers","og_url":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/atualizar-um-cliente\/","og_site_name":"Gateway Rede! Developers","article_publisher":"https:\/\/www.facebook.com\/maxiPago-193308344142172\/?fref=ts","article_modified_time":"2023-03-08T23:59:42+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/atualizar-um-cliente\/","url":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/atualizar-um-cliente\/","name":"Atualizar um Cadastro de Cliente - Gateway Rede! Developers","isPartOf":{"@id":"https:\/\/www.maxipago.com\/developers\/#website"},"datePublished":"2018-07-12T14:13:43+00:00","dateModified":"2023-03-08T23:59:42+00:00","breadcrumb":{"@id":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/atualizar-um-cliente\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/atualizar-um-cliente\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/atualizar-um-cliente\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/www.maxipago.com\/developers\/"},{"@type":"ListItem","position":2,"name":"API Docs","item":"https:\/\/www.maxipago.com\/developers\/apidocs\/"},{"@type":"ListItem","position":3,"name":"Requisi\u00e7\u00f5es de Cadastro","item":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/"},{"@type":"ListItem","position":4,"name":"Atualizar um Cadastro de Cliente"}]},{"@type":"WebSite","@id":"https:\/\/www.maxipago.com\/developers\/#website","url":"https:\/\/www.maxipago.com\/developers\/","name":"Gateway Rede! Developers","description":"Portal de Desenvolvedores - Gateway Rede!","publisher":{"@id":"https:\/\/www.maxipago.com\/developers\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.maxipago.com\/developers\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.maxipago.com\/developers\/#organization","name":"Gateway Rede! Developers","url":"https:\/\/www.maxipago.com\/developers\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.maxipago.com\/developers\/#\/schema\/logo\/image\/","url":"https:\/\/www.maxipago.com\/developers\/wp-content\/uploads\/2023\/01\/LOGO_REDE_ENDOSSO_RGB_BRANCO-e1674497668914.png","contentUrl":"https:\/\/www.maxipago.com\/developers\/wp-content\/uploads\/2023\/01\/LOGO_REDE_ENDOSSO_RGB_BRANCO-e1674497668914.png","width":150,"height":61,"caption":"Gateway Rede! Developers"},"image":{"@id":"https:\/\/www.maxipago.com\/developers\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/maxiPago-193308344142172\/?fref=ts","https:\/\/www.linkedin.com\/company\/2500991?trk=tyah&amp;amp;trkInfo=clickedVertical:company,clickedEntityId:2500991,idx:2-1-2,tarId:1483920469427,tas:maxipago"]}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/comments?post=1608"}],"version-history":[{"count":6,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1608\/revisions"}],"predecessor-version":[{"id":3354,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1608\/revisions\/3354"}],"up":[{"embeddable":true,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1544"}],"wp:attachment":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/media?parent=1608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}