{"id":204,"date":"2021-03-16T04:11:48","date_gmt":"2021-03-16T04:11:48","guid":{"rendered":"http:\/\/developer.dev.tiki.services\/docs\/archives\/docs\/developer-document\/tiki-theory\/inventory-type"},"modified":"2024-08-20T15:25:03","modified_gmt":"2024-08-20T08:25:03","slug":"inventory-type","status":"publish","type":"docs","link":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/","title":{"rendered":"Inventory type"},"content":{"rendered":"\n<ul><li>inventory_type must be one of below values and have to be in registered list. If you have only<br>one <strong>inventory_type<\/strong>, then that method will be picked up so you can ignore this field in payload<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>inventory_type<\/th><th>customer<\/th><th>description<\/th><\/tr><\/thead><tbody><tr><td>cross_border<\/td><td>for Global seller<\/td><td>products is transported from abroad<\/td><\/tr><tr><td>instock<\/td><td>for Vietnamese seller<\/td><td>products in TIKI storage, TIKI pack, TIKI deliver<\/td><\/tr><tr><td>backorder<\/td><td>for Vietnamese seller<\/td><td>products in seller storage, TIKI pack, TIKI deliver<\/td><\/tr><tr><td>seller_backorder<\/td><td>for Vietnamese seller<\/td><td>products in seller storage, seller pack, seller deliver<\/td><\/tr><tr><td>dropship<\/td><td>for Vietnamese seller<\/td><td>products in seller storage, seller pack, TIKI deliver<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul><li>If your product have <strong>inventory_type<\/strong> is <strong>instock<\/strong> \u2192 <strong>supplier<\/strong> &amp; <strong>quantity<\/strong> may be absent or will be ignored<\/li><\/ul>\n\n\n\n<h2>Quantity<\/h2>\n\n\n\n<p>Formula: <strong>quantity_available = quantity_sellable + quantity_reserved<\/strong><\/p>\n\n\n\n<ul><li>quantity_available: Actual number of items in stock<\/li><li>quantity_sellable: the number of items that the seller can sell<\/li><li>quantity_reserved: the number of items that being held &#8211; waiting to order.<\/li><\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>State 1: quantity_available = 10, quantity_sellable = 10, quantity_reserved = 0.<\/p>\n\n\n\n<p>State 2: An order processing =&gt; quantity_available = 10, quantity_sellable = 9, quantity_reserved = 1.<\/p>\n\n\n\n<p>State 3.1: If order completed =&gt; quantity_available = 9, quantity_sellable = 9, quantity_reserved = 0.<\/p>\n\n\n\n<p>State 3.2. If order canceled =&gt; quantity_available = 10, quantity_sellable = 10, quantity_reserved = 0.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><strong>WARNING:<\/strong><\/p><p><strong>1. When orders are processing, stock info is automatically processed by TIKI system, so integration systems must not manipulate this.<\/strong><\/p><p><strong>2. When quantity_available = 0, that mean out of stocks, The seller needs to add more items to the warehouse to continue selling.<\/strong><\/p><\/blockquote>\n","protected":false},"featured_media":0,"parent":174,"menu_order":6,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Inventory type - Open API docs<\/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:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Inventory type - Open API docs\" \/>\n<meta property=\"og:description\" content=\"inventory_type must be one of below values and have to be in registered list. If you have onlyone inventory_type, then that method will be picked up so you can ignore this field in payload inventory_type customer description cross_border for Global seller products is transported from abroad instock for Vietnamese seller products in TIKI storage, TIKI [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/\" \/>\n<meta property=\"og:site_name\" content=\"Open API docs\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-20T08:25:03+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/open.tiki.vn\/docs\/#website\",\"url\":\"https:\/\/open.tiki.vn\/docs\/\",\"name\":\"Open API docs\",\"description\":\"Open API docs\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/open.tiki.vn\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/#webpage\",\"url\":\"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/\",\"name\":\"Inventory type - Open API docs\",\"isPartOf\":{\"@id\":\"https:\/\/open.tiki.vn\/docs\/#website\"},\"datePublished\":\"2021-03-16T04:11:48+00:00\",\"dateModified\":\"2024-08-20T08:25:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/open.tiki.vn\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Current\",\"item\":\"https:\/\/open.tiki.vn\/docs\/docs\/current\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Guides\",\"item\":\"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"TIKI Theory\",\"item\":\"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Inventory type\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Inventory type - Open API docs","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:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/","og_locale":"en_US","og_type":"article","og_title":"Inventory type - Open API docs","og_description":"inventory_type must be one of below values and have to be in registered list. If you have onlyone inventory_type, then that method will be picked up so you can ignore this field in payload inventory_type customer description cross_border for Global seller products is transported from abroad instock for Vietnamese seller products in TIKI storage, TIKI [&hellip;]","og_url":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/","og_site_name":"Open API docs","article_modified_time":"2024-08-20T08:25:03+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/open.tiki.vn\/docs\/#website","url":"https:\/\/open.tiki.vn\/docs\/","name":"Open API docs","description":"Open API docs","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/open.tiki.vn\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/#webpage","url":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/","name":"Inventory type - Open API docs","isPartOf":{"@id":"https:\/\/open.tiki.vn\/docs\/#website"},"datePublished":"2021-03-16T04:11:48+00:00","dateModified":"2024-08-20T08:25:03+00:00","breadcrumb":{"@id":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/inventory-type\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/open.tiki.vn\/docs\/"},{"@type":"ListItem","position":2,"name":"Current","item":"https:\/\/open.tiki.vn\/docs\/docs\/current\/"},{"@type":"ListItem","position":3,"name":"Guides","item":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/"},{"@type":"ListItem","position":4,"name":"TIKI Theory","item":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/"},{"@type":"ListItem","position":5,"name":"Inventory type"}]}]}},"_links":{"self":[{"href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/docs\/204"}],"collection":[{"href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":10,"href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/docs\/204\/revisions"}],"predecessor-version":[{"id":3859,"href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/docs\/204\/revisions\/3859"}],"up":[{"embeddable":true,"href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/docs\/174"}],"next":[{"title":"Certificate File","link":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/certificate-file\/","href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/docs\/210"}],"prev":[{"title":"Variant","link":"https:\/\/open.tiki.vn\/docs\/docs\/current\/guides\/tiki-theory\/variant\/","href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/docs\/203"}],"wp:attachment":[{"href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/open.tiki.vn\/docs\/wp-json\/wp\/v2\/doc_tag?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}