{"id":3506,"date":"2020-05-27T17:21:53","date_gmt":"2020-05-27T08:21:53","guid":{"rendered":"http:\/\/assist-tencho.com\/faq\/?p=3506"},"modified":"2020-08-19T09:09:16","modified_gmt":"2020-08-19T00:09:16","slug":"%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%83%95%e3%82%a7%e3%82%a4%e3%82%b9-v1-%e5%9c%a8%e5%ba%abskuapi-%e6%a4%9c%e7%b4%a2","status":"publish","type":"post","link":"https:\/\/ec.smaregi.jp\/oms\/faq\/article-list\/%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%bc%e3%83%95%e3%82%a7%e3%82%a4%e3%82%b9-v1-%e5%9c%a8%e5%ba%abskuapi-%e6%a4%9c%e7%b4%a2\/","title":{"rendered":"\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9 v1-\u5728\u5eabSKUAPI-\u691c\u7d22"},"content":{"rendered":"<h4>GET \/api\/v1\/searchStockSku.php<\/h4>\n<p><span class=\"green b\">\u6982\u8981<\/span><\/p>\n<p>\u5728\u5eabSKU\u30c7\u30fc\u30bf\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97<br \/>\n<span class=\"green b\">\u30ea\u30af\u30a8\u30b9\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf<\/span><\/p>\n<table class=\"tbl-spec\" style=\"height: 106px;\" width=\"939\">\n<colgroup>\n<col width=\"30%\" \/>\n<col width=\"30%\" \/>\n<col width=\"40%\" \/> <\/colgroup>\n<tbody>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf\u540d<\/th>\n<th>\u6709\u52b9\u306a\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>shipper_name<\/td>\n<td>\u8377\u4e3b\u540d<\/td>\n<td>\u8377\u4e3b\u540d\u3067\u691c\u7d22<\/td>\n<\/tr>\n<tr>\n<td>product_sku_code<\/td>\n<td>\u5546\u54c1SKU\u30b3\u30fc\u30c9<\/td>\n<td>\u5546\u54c1SKU\u30b3\u30fc\u30c9\u3067\u691c\u7d22<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span class=\"green b\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><\/p>\n<pre>   {\r\n      \"success\":\"ok\"\r\n     ,\"error_cd\":\"N-0001\"\r\n     ,\"error_message\":\"\"\r\n     ,\"stocks\":[{                                 \/\/ \u5728\u5eab(SKU)\u60c5\u5831\r\n          \"shipper_id\":\"1\"            \u3000\u3000  \u3000\u3000\u3000 \/\/ \u8377\u4e3bID\r\n          \"shipper_name\":\"\u30c6\u30b9\u30c8\u8377\u4e3b\"             \/\/ \u8377\u4e3b\u540d\r\n          \"product_sku_code\":\"sku-0001\"           \/\/ \u5546\u54c1SKU\u30b3\u30fc\u30c9\r\n          \"product_sku_name\":\"\u30c6\u30b9\u30c8\u5546\u54c1\"         \/\/ \u5546\u54c1SKU\u540d\r\n\u3000\u3000\u3000\u3000\u3000 \"stock_quantity\":\"100\"                  \/\/ \u5b9f\u5728\u5eab\u6570\r\n\u3000\u3000\u3000\u3000\u3000 \"stock_quantity_logical\":\"90\"\u3000\u3000\u3000\u3000\u3000\u3000\/\/ \u6709\u52b9\u5728\u5eab\u6570\r\n      }]\r\n   }\r\n<\/pre>\n<p><span class=\"orange b\">\u5728\u5eabSKU\u60c5\u5831<\/span><\/p>\n<table class=\"tbl-spec\" style=\"height: 195px;\" width=\"933\">\n<colgroup>\n<col width=\"30%\" \/>\n<col width=\"30%\" \/>\n<col width=\"40%\" \/> <\/colgroup>\n<tbody>\n<tr>\n<th>\u9805\u76ee\u540d<\/th>\n<th>\u9805\u76ee\u5185\u5bb9<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>shipper_id<\/td>\n<td>\u8377\u4e3bID<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>shipper_name<\/td>\n<td>\u8377\u4e3b\u540d<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>product_sku_code<\/td>\n<td>\u5546\u54c1SKU\u30b3\u30fc\u30c9<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>product_sku_name<\/td>\n<td>\u5546\u54c1SKU\u540d<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>product_sku_name_cs<\/td>\n<td>\u5546\u54c1SKU\u540d(\u9867\u5ba2\u7528)<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>product_sku_name_kana<\/td>\n<td>\u5546\u54c1SKU\u540d(\u30ab\u30ca)<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>detail_kbn<\/td>\n<td>\u5546\u54c1\u7a2e\u5225<\/td>\n<td>1:\u901a\u5e38\u5546\u54c1\u30012:\u30b5\u30f3\u30d7\u30eb<\/td>\n<\/tr>\n<tr>\n<td>jan_code<\/td>\n<td>JAN\u30b3\u30fc\u30c9<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>maker_id<\/td>\n<td>\u30e1\u30fc\u30ab\u30fcID<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>maker_product_sku_code<\/td>\n<td>\u30e1\u30fc\u30ab\u30fc\u5546\u54c1SKU\u30b3\u30fc\u30c9<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>price01<\/td>\n<td>\u8868\u793a\u4fa1\u683c<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>price02<\/td>\n<td>\u8ca9\u58f2\u4fa1\u683c<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>weight<\/td>\n<td>\u91cd\u91cf<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>weight<\/td>\n<td>\u91cd\u91cf<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>stock_price<\/td>\n<td>\u58f2\u4e0a\u539f\u4fa1<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>cost_price<\/td>\n<td>\u4ed5\u5165\u539f\u4fa1<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>unit_name<\/td>\n<td>\u5358\u4f4d<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>stock_flag<\/td>\n<td>\u5728\u5eab\u7ba1\u7406\u533a\u5206<\/td>\n<td>0:\u7ba1\u7406\u3057\u306a\u3044\u30012:SKU\u5225<\/td>\n<\/tr>\n<tr>\n<td>stock_reserve_flag<\/td>\n<td>\u5728\u5eab\u5f15\u5f53\u533a\u5206<\/td>\n<td>1:\u5373\u6642\u30012:\u624b\u914d\u54c1\u30013:\u30e1\u30fc\u30ab\u30fc\u76f4\u9001<\/td>\n<\/tr>\n<tr>\n<td>stock_quantity<\/td>\n<td>\u5b9f\u5728\u5eab\u6570<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>stock_quantity_logical<\/td>\n<td>\u6709\u52b9\u5728\u5eab\u6570<\/td>\n<td>\u5b9f\u5728\u5eab\u6570-\u53d7\u6ce8\u6b8b<\/td>\n<\/tr>\n<tr>\n<td>secure_stock<\/td>\n<td>\u78ba\u4fdd\u5728\u5eab\u6570<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>placing_order_point<\/td>\n<td>\u767a\u6ce8\u70b9<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>safety_stock_point<\/td>\n<td>\u5b89\u5168\u5728\u5eab\u91cf<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>stock_lot_unit<\/td>\n<td>\u30ed\u30c3\u30c8\u5358\u4f4d<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>stock_lot_quantity<\/td>\n<td>\u30ed\u30c3\u30c8\u6570<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>supplier_id<\/td>\n<td>\u4ed5\u5165\u5148<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>warehouse_id<\/td>\n<td>\u5165\u5eab\u5148\u62e0\u70b9\uff08\u521d\u671f\u5024\uff09<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>yuko_flag<\/td>\n<td>\u6709\u52b9\u30fb\u7121\u52b9\u30d5\u30e9\u30b0<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>entrust_shipper_id<\/td>\n<td>\u53d7\u8a17\u53d6\u5f15\u5148<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>memo<\/td>\n<td>\u5099\u8003<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>GET \/api\/v1\/searchStockSku.php \u6982\u8981 \u5728\u5eabSKU\u30c7\u30fc\u30bf\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97 \u30ea\u30af\u30a8\u30b9\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf \u30d1\u30e9\u30e1\u30fc\u30bf\u540d \u6709\u52b9\u306a\u5024 \u8aac\u660e shipper_name \u8377\u4e3b\u540d \u8377\u4e3b\u540d\u3067\u691c\u7d22 product_sk\u30fb\u30fb\u30fb<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":[],"meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-3506","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-article-list"},"views":2240,"_links":{"self":[{"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/posts\/3506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/comments?post=3506"}],"version-history":[{"count":8,"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/posts\/3506\/revisions"}],"predecessor-version":[{"id":4874,"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/posts\/3506\/revisions\/4874"}],"wp:attachment":[{"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/media?parent=3506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/categories?post=3506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/tags?post=3506"},{"taxonomy":"format","embeddable":true,"href":"https:\/\/ec.smaregi.jp\/oms\/faq\/wp-json\/wp\/v2\/format?post=3506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}