{"id":445453,"date":"2026-09-18T00:57:41","date_gmt":"2026-09-17T22:57:41","guid":{"rendered":"https:\/\/www.kafinea.com\/documentation\/uncategorized\/rest-api-bulk-import-upsert\/"},"modified":"2026-11-22T17:52:54","modified_gmt":"2026-11-22T16:52:54","password":"","slug":"rest-api-bulk-import-upsert","status":"publish","type":"docs","link":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/","title":{"rendered":"REST API &#8211; Bulk import (upsert)"},"content":{"rendered":"<p>This page describes the operation to use to <strong>load or update a large number of records<br \/>\nat once<\/strong>, identifying them by a <strong>business key<\/strong> (an item code, a customer reference, a<br \/>\nstore reference) rather than by their Kafinea ID.<\/p>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th>Operation<\/th>\n<th>Method<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>mass_upsert<\/code><\/td>\n<td>POST<\/td>\n<td>Write a batch of records identified by a business key<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>It is <strong>generic<\/strong>: it works for all modules, with the key you choose.<\/p>\n<blockquote>\n<p><strong>Reserved for administrators.<\/strong> Loading a batch of records is a data<br \/>\n migration task. A non-administrator account keeps <code>create<\/code> and <code>update<\/code>, one record at a time, with<br \/>\nits own permissions.<\/p>\n<\/blockquote>\n<hr>\n<h2>Why not <code>create<\/code> or <code>update<\/code>?<\/h2>\n<p>The <a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/\"><code>create<\/code> and <code>update<\/code><\/a> operations remain the right choice when you<br \/>\nwrite one record at a time. For a data migration, they run into two issues:<\/p>\n<ul>\n<li><strong>Volume<\/strong>: one record per call, meaning 16,000 calls for 16,000 customers;<\/li>\n<li><strong>Resuming after an interruption<\/strong>: <code>create<\/code> always creates. An import interrupted midway cannot<br \/>\nbe restarted without first cleaning up what has already gone through, and <code>update<\/code> requires knowing<br \/>\nthe Kafinea ID, which you don&#8217;t have yet at this point.<\/li>\n<\/ul>\n<p><code>mass_upsert<\/code> finds the record by its business key: it updates what exists, creates what is<br \/>\nmissing, and <strong>writes nothing<\/strong> when the submitted values already match what&#8217;s in place. You can therefore<br \/>\nresend the same batch as many times as needed.<\/p>\n<hr>\n<h2>Upsert \u2013 Write a batch of records<\/h2>\n<blockquote>\n<p><strong>POST<\/strong> <code>https:\/\/apps.kafinea.com\/{instance}\/webservice.php<\/code><\/p>\n<\/blockquote>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Type<\/th>\n<th>Required<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>operation<\/code><\/td>\n<td>string<\/td>\n<td>yes<\/td>\n<td>Must be <code>mass_upsert<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>sessionName<\/code><\/td>\n<td>string<\/td>\n<td>yes<\/td>\n<td>Session identifier<\/td>\n<\/tr>\n<tr>\n<td><code>elementType<\/code><\/td>\n<td>string<\/td>\n<td>yes<\/td>\n<td>Module name (e.g. <code>Products<\/code>, <code>Accounts<\/code>)<\/td>\n<\/tr>\n<tr>\n<td><code>keyFields<\/code><\/td>\n<td>JSON<\/td>\n<td>yes<\/td>\n<td>Technical names of the fields forming the business key<\/td>\n<\/tr>\n<tr>\n<td><code>elements<\/code><\/td>\n<td>JSON<\/td>\n<td>yes<\/td>\n<td>Array of records (500 maximum per call)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Each element of <code>elements<\/code> is a <code>champ : valeur<\/code> object, <strong>key included<\/strong>. The technical names of the<br \/>\nfields are read using <a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/\"><code>describe<\/code><\/a>.<\/p>\n<p><strong>curl example:<\/strong> update the weight and country of origin of items identified by their code.<\/p>\n<pre><code class=\"language-bash\">curl -X POST https:\/\/apps.kafinea.com\/YourKafinea\/webservice.php \\\n  -d \"operation=mass_upsert\" \\\n  -d \"sessionName=YOUR_SESSION_ID\" \\\n  -d \"elementType=Products\" \\\n  -d 'keyFields=[\"productcode\"]' \\\n  -d 'elements=[\n        {\"productcode\":\"9782070413110\",\"productname\":\"Le Petit Prince\",\"mdsweight\":\"0.180\",\"mdsorigincountry\":\"FRA\"},\n        {\"productcode\":\"9782070368228\",\"productname\":\"La Peste\",\"mdsweight\":\"0.150\",\"mdsorigincountry\":\"FRA\"}\n      ]'\n<\/code><\/pre>\n<h3>Response<\/h3>\n<pre><code class=\"language-json\">{\n  \"success\": true,\n  \"result\": {\n    \"module\": \"Products\",\n    \"keyFields\": [\"productcode\"],\n    \"processed\": 2,\n    \"created\": 1,\n    \"updated\": 1,\n    \"unchanged\": 0,\n    \"records\": [\n      { \"index\": 0, \"id\": \"14x8842\", \"outcome\": \"updated\" },\n      { \"index\": 1, \"id\": \"14x9317\", \"outcome\": \"created\" }\n    ],\n    \"errors\": []\n  }\n}\n<\/code><\/pre>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Meaning<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>processed<\/code><\/td>\n<td>Number of records processed without errors<\/td>\n<\/tr>\n<tr>\n<td><code>created<\/code><\/td>\n<td>The key was unknown: the record has just been created<\/td>\n<\/tr>\n<tr>\n<td><code>updated<\/code><\/td>\n<td>The key existed and at least one submitted value was different<\/td>\n<\/tr>\n<tr>\n<td><code>unchanged<\/code><\/td>\n<td>The key existed and everything was already up to date: nothing was written<\/td>\n<\/tr>\n<tr>\n<td><code>records<\/code><\/td>\n<td>The line-by-line detail, with the <strong>position in the batch<\/strong> and the resulting ID<\/td>\n<\/tr>\n<tr>\n<td><code>errors<\/code><\/td>\n<td>The rejected lines, with their position in the batch and the reason<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<hr>\n<h2>Choosing the business key<\/h2>\n<p>The key is the one you name in <code>keyFields<\/code>, and it can include several fields. It must<br \/>\nidentify <strong>exactly one<\/strong> record: if the submitted key matches more than one, the line is rejected<br \/>\nwith this reason rather than picking one at random. Correct the duplicate data, then resend the<br \/>\nline.<\/p>\n<p>A few common keys:<\/p>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th>What you are importing<\/th>\n<th>Business key<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Items<\/td>\n<td><code>[\"productcode\"]<\/code><\/td>\n<\/tr>\n<tr>\n<td>External ID mappings<\/td>\n<td><code>[\"sourcesystem\",\"objecttype\",\"externalref\"]<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Key values are compared after removing leading and trailing spaces. An empty key<br \/>\nvalue causes the line to be rejected: a business key cannot be guessed.<\/p>\n<hr>\n<h2>Replayable: resend without worry<\/h2>\n<p>The operation is <strong>idempotent<\/strong>. The same batch sent twice produces <code>unchanged<\/code> on the second run:<br \/>\nno duplicates, no unnecessarily updated modification date, and no stray history entries on records.<\/p>\n<p>Likewise, <strong>a faulty line does not cancel the others<\/strong>: the valid lines in the batch are written, the<br \/>\nrejected lines come back in <code>errors<\/code> with their position, to be corrected and resent on their own.<\/p>\n<p>On the other hand, if the <code>elements<\/code> parameter itself cannot be read (invalid JSON, more than 500<br \/>\nelements), the entire call is rejected: writing half of an unreadable batch would be worse than<br \/>\nwriting none of it.<\/p>\n<p>Finally, the operation does not open any backdoor: it applies the same permissions and the same<br \/>\nrequired-field checks as <code>create<\/code> and <code>update<\/code>. Whatever these operations reject, this one<br \/>\nrejects as well.<\/p>\n<hr\/>\n<h2>Use case: declaring IDs from an external system<\/h2>\n<p>The most common need is to tell Kafinea <strong>which record corresponds to which object in an<br \/>\nexternal system<\/strong>: a customer from your online store, an item from your marketplace, a<br \/>\nrecord from your previous software.<\/p>\n<p>This is the mapping table that Kafinea checks <strong>before<\/strong> any attempt to match by<br \/>\nname or email. A declared mapping is a <strong>certainty<\/strong>, not a guess: it<br \/>\neliminates duplicate customer records at the source. A mapping carries three pieces of information:<\/p>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Role<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>sourcesystem<\/code><\/td>\n<td>Where the ID comes from. For an online store: <code>onlinestore:<\/code> followed by the store record&#8217;s ID<\/td>\n<\/tr>\n<tr>\n<td><code>objecttype<\/code><\/td>\n<td>The relevant Kafinea module (<code>Accounts<\/code>, <code>Products<\/code>, <code>SalesOrder<\/code>\u2026)<\/td>\n<\/tr>\n<tr>\n<td><code>externalref<\/code><\/td>\n<td>The value the external system assigns to this object<\/td>\n<\/tr>\n<tr>\n<td><code>recordid<\/code><\/td>\n<td>The targeted Kafinea record, in the form of a Webservice ID (<code>10x54325<\/code>)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><strong>Uniqueness is guaranteed per source system, and that&#8217;s the key point.<\/strong> The same customer may<br \/>\nhave a different ID on each of your stores, and two stores may use the<br \/>\nsame number for two different customers: the mapping can express this, whereas a simple &#8220;external<br \/>\nref.&#8221; field on the customer record could not.<\/p>\n<p><!-- doc-check-ignore: tech --><\/p>\n<pre><code class=\"language-bash\">curl -X POST https:\/\/apps.kafinea.com\/YourKafinea\/webservice.php \\\n  -d \"operation=mass_upsert\" \\\n  -d \"sessionName=YOUR_SESSION_ID\" \\\n  -d \"elementType=MdsExternalRef\" \\\n  -d 'keyFields=[\"sourcesystem\",\"objecttype\",\"externalref\"]' \\\n  -d 'elements=[\n        {\"sourcesystem\":\"onlinestore:44053\",\"objecttype\":\"Accounts\",\"externalref\":\"39146\",\"recordid\":\"10x54325\"},\n        {\"sourcesystem\":\"onlinestore:44053\",\"objecttype\":\"Products\",\"externalref\":\"3760174130121\",\"recordid\":\"13x8842\"}\n      ]'\n<\/code><\/pre>\n<p><code>recordid<\/code> identifies a record: it is written and read like any other link to a record<br \/>\nin the API, using the <strong>full Webservice ID<\/strong> returned by <code>query<\/code> or <code>retrieve<\/code>. A<br \/>\nraw ID (<code>54325<\/code>) is rejected. The targeted record is thus a clickable link in<br \/>\nKafinea, and the customer record displays the list of its external IDs.<\/p>\n<p>Declared mappings can be read back like any other module, using<br \/>\n<a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-requests-and-querying\/\"><code>query<\/code><\/a>.<\/p>\n<h3>Migrating an existing customer base<\/h3>\n<p>The typical scenario is setting up an online store whose customers already exist<br \/>\nin Kafinea. Without mappings, synchronization can only guess, and creates duplicates.<\/p>\n<ol>\n<li>On the store record, set <strong>customer recognition<\/strong> to &#8220;Store customer ref.&#8221;<br \/>\n(see the online store settings).<\/li>\n<li>Declare the mappings in batches of 500, using this operation.<\/li>\n<li>Run the synchronization: each order finds its customer by identity.<\/li>\n<\/ol>\n<p>A customer missing from the table is <strong>not<\/strong> silently created if you have unchecked &#8220;Create customers<br \/>\nfrom the store&#8221;: the order is attached to the store&#8217;s fallback customer and the issue is<br \/>\nnamed in the synchronization log. You complete the mapping, then refresh<br \/>\nthe order from the store.<\/p>\n<hr>\n<h2>Related references \ud83d\udd17<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/\">Full API reference<\/a><\/li>\n<li><a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-deletion-trash\/\">Bulk deletion (trash)<\/a><\/li>\n<li><a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-requests-and-querying\/\">Queries and lookups<\/a><\/li>\n<li><a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-introduction\/\">API introduction<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This page describes the operation to use to load or update a large number of records at once, identifying them by a business key (an item code, a customer reference, a store reference) rather than by their Kafinea ID. Operation Method Description mass_upsert POST Write a batch of records identified by a business key It&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"doc_category":[759],"doc_tag":[],"class_list":["post-445453","docs","type-docs","status-publish","hentry","doc_category-api"],"year_month":"2026-11","word_count":1110,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"David Valminos","author_nicename":"david","author_url":"https:\/\/www.kafinea.com\/en\/author\/david\/"},"doc_category_info":[{"term_name":"API","term_url":"https:\/\/www.kafinea.com\/en\/help\/api\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Help - REST API - Bulk import (upsert) &#8226; Kafinea<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Help - REST API - Bulk import (upsert) &#8226; Kafinea\" \/>\n<meta property=\"og:description\" content=\"This page describes the operation to use to load or update a large number of records at once, identifying them by a business key (an item code, a customer reference, a store reference) rather than by their Kafinea ID. Operation Method Description mass_upsert POST Write a batch of records identified by a business key It...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/\" \/>\n<meta property=\"og:site_name\" content=\"Kafinea\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-22T16:52:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-bulk-import-upsert\\\/\",\"url\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-bulk-import-upsert\\\/\",\"name\":\"Help - REST API - Bulk import (upsert) &#8226; Kafinea\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#website\"},\"datePublished\":\"2026-09-17T22:57:41+00:00\",\"dateModified\":\"2026-11-22T16:52:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-bulk-import-upsert\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-bulk-import-upsert\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-bulk-import-upsert\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"REST API &#8211; Bulk import (upsert)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/\",\"name\":\"Kafinea\",\"description\":\"Une solution unique pour toutes vos ambitions\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#organization\",\"name\":\"Kafinea\",\"url\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.kafinea.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/Logo-Kafinea-SVG-orange-bleu.svg\",\"contentUrl\":\"https:\\\/\\\/www.kafinea.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/Logo-Kafinea-SVG-orange-bleu.svg\",\"width\":296.31,\"height\":66.48,\"caption\":\"Kafinea\"},\"image\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/kafinea\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Help - REST API - Bulk import (upsert) &#8226; Kafinea","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/","og_locale":"en_US","og_type":"article","og_title":"Help - REST API - Bulk import (upsert) &#8226; Kafinea","og_description":"This page describes the operation to use to load or update a large number of records at once, identifying them by a business key (an item code, a customer reference, a store reference) rather than by their Kafinea ID. Operation Method Description mass_upsert POST Write a batch of records identified by a business key It...","og_url":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/","og_site_name":"Kafinea","article_modified_time":"2026-11-22T16:52:54+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/","url":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/","name":"Help - REST API - Bulk import (upsert) &#8226; Kafinea","isPartOf":{"@id":"https:\/\/www.kafinea.com\/en\/#website"},"datePublished":"2026-09-17T22:57:41+00:00","dateModified":"2026-11-22T16:52:54+00:00","breadcrumb":{"@id":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.kafinea.com\/en\/"},{"@type":"ListItem","position":2,"name":"REST API &#8211; Bulk import (upsert)"}]},{"@type":"WebSite","@id":"https:\/\/www.kafinea.com\/en\/#website","url":"https:\/\/www.kafinea.com\/en\/","name":"Kafinea","description":"Une solution unique pour toutes vos ambitions","publisher":{"@id":"https:\/\/www.kafinea.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.kafinea.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.kafinea.com\/en\/#organization","name":"Kafinea","url":"https:\/\/www.kafinea.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.kafinea.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.kafinea.com\/wp-content\/uploads\/2024\/10\/Logo-Kafinea-SVG-orange-bleu.svg","contentUrl":"https:\/\/www.kafinea.com\/wp-content\/uploads\/2024\/10\/Logo-Kafinea-SVG-orange-bleu.svg","width":296.31,"height":66.48,"caption":"Kafinea"},"image":{"@id":"https:\/\/www.kafinea.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/kafinea\/"]}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"David Valminos","author_link":"https:\/\/www.kafinea.com\/en\/author\/david\/"},"uagb_comment_info":0,"uagb_excerpt":"This page describes the operation to use to load or update a large number of records at once, identifying them by a business key (an item code, a customer reference, a store reference) rather than by their Kafinea ID. Operation Method Description mass_upsert POST Write a batch of records identified by a business key It...","_links":{"self":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/docs\/445453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/comments?post=445453"}],"version-history":[{"count":0,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/docs\/445453\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/media?parent=445453"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/doc_category?post=445453"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/doc_tag?post=445453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}