{"id":8386,"date":"2025-08-19T13:58:13","date_gmt":"2025-08-19T04:58:13","guid":{"rendered":"https:\/\/www.lpcloud.jp\/help\/?p=8386"},"modified":"2025-10-28T21:26:15","modified_gmt":"2025-10-28T12:26:15","slug":"%e9%80%81%e3%82%8a%e7%8a%b6%e7%99%ba%e8%a1%8capi%e2%91%a3%ef%bc%9a%e9%80%81%e3%82%8a%e7%8a%b6%e7%99%ba%e2%be%8f","status":"publish","type":"post","link":"https:\/\/www.lpcloud.jp\/help\/webapi\/8386\/","title":{"rendered":"\u9001\u308a\u72b6\u767a\u884cAPI\u2463\uff1a\u9001\u308a\u72b6\u767a\u2f8f"},"content":{"rendered":"<p><!--more--><\/p>\n<p class=\"txtindent\">\u203bLinkPrint CLOUD Web API\u306e\u6982\u8981\u3084\u672c\u8a18\u4e8b\u5185\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u7528\u8a9e\u306b\u3064\u3044\u3066\u306e\u8aac\u660e\u306f<a href=\"\/help\/webapi\/147\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u9001\u308a\u72b6\u767a\u2f8f<\/h3>\n<p>\u300c<a href=\"https:\/\/www.lpcloud.jp\/help\/webapi\/8361\/\" target=\"_blank\" rel=\"noopener\">\u9001\u308a\u72b6\u767a\u884cAPI\u2462\uff1a\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\uff06\u78ba\u8a8d<\/a>\u300d\u3067\u53d6\u5f97\u3057\u305f\u300c\u30d5\u30a1\u30a4\u30eb\u7ba1\u7406\u7528ID\u300d\u3092\u4f7f\u7528\u3057\u3001\u9001\u308a\u72b6\u3092\u767a\u884c\u3057\u307e\u3059\u3002<\/p>\n<table style=\"font-size: 15px;\">\n<tbody>\n<tr>\n<td style=\"background-color: #e0ffff; width: 15%;\">URL<\/td>\n<td>https:\/\/www.lpcloud.jp\/okr_api\/issue_shipping_label\/<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6; width: 15%;\">POST\u60c5\u5831<\/td>\n<td>\n<p>\uff1cAPI\u8a8d\u8a3c\u60c5\u5831\uff1e<\/p>\n<table style=\"width: 96.0393%;\">\n<tbody>\n<tr style=\"background-color: #f0fff0;\">\n<td style=\"width: 18.9781%;\">\u30ad\u30fc<\/td>\n<td style=\"width: 80.9611%;\">\u5024<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.9781%;\">*api_key_info<\/td>\n<td style=\"width: 80.9611%;\">\u5229\u7528\u3059\u308b\u904b\u9001\u4f1a\u793e\u306eAPI\u8a8d\u8a3c\u60c5\u5831\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6307\u5b9a\u53ef\u80fd\u306a\u30ad\u30fc\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<br \/>\n\u4f50\u5ddd\u6025\u4fbf\uff1a<span>sagawa<\/span><br \/>\n\u30e4\u30de\u30c8\u904b\u8f38\uff1a<span class=\"name own-property\" title=\"yamato\">yamato<\/span><br \/>\n\u897f\u6fc3\u904b\u8f38\uff1a<span>seinou<br \/>\n<\/span>\u203bjson\u2f42\u5b57\u5217\u3067\u6307\u5b9a<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr style=\"background-color: #f0f8ff;\">\n<td style=\"width: 18.9781%;\">\u30ad\u30fc<\/td>\n<td style=\"width: 80.9611%;\">\u5024<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.9781%;\"><span>sagawa<\/span><\/td>\n<td style=\"width: 80.9611%;\">\n<table style=\"border-collapse: collapse; width: 100%; height: 208px;\">\n<tbody>\n<tr style=\"background-color: #f0f8ff;\">\n<td style=\"width: 18.9781%; height: 52px;\">\u30ad\u30fc<\/td>\n<td style=\"width: 80.9611%; height: 52px;\">\u5024<\/td>\n<\/tr>\n<tr style=\"height: 52px;\">\n<td style=\"width: 18.9781%; height: 52px;\"><span>customerId<\/span><\/td>\n<td style=\"width: 80.9611%; height: 52px;\">\u30ab\u30b9\u30bf\u30de\u30fcID<\/td>\n<\/tr>\n<tr style=\"height: 52px;\">\n<td style=\"width: 18.9781%; height: 52px;\"><span>loginPassword<\/span><\/td>\n<td style=\"width: 80.9611%; height: 52px;\">\u30ed\u30b0\u30a4\u30f3\u30d1\u30b9\u30ef\u30fc\u30c9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.9781%;\"><span class=\"name own-property\" title=\"yamato\">yamato<\/span><\/td>\n<td style=\"width: 80.9611%;\">\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr style=\"background-color: #f0f8ff;\">\n<td style=\"width: 18.9781%; height: 52px;\">\u30ad\u30fc<\/td>\n<td style=\"width: 80.9611%; height: 52px;\">\u5024<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.9781%;\"><span>ymtAccessToken<\/span><\/td>\n<td style=\"width: 80.9611%;\">API\u30a2\u30af\u30bb\u30b9\u8a8d\u8a3c\u30ad\u30fc\uff08\u8a8d\u8a3c\u30c8\u30fc\u30af\u30f3\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.9781%;\"><span>seinou<\/span><\/td>\n<td style=\"width: 80.9611%;\">\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr style=\"background-color: #f0f8ff;\">\n<td style=\"width: 18.9781%; height: 52px;\">\u30ad\u30fc<\/td>\n<td style=\"width: 80.9611%; height: 52px;\">\u5024<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.9781%;\"><span>apikey<\/span><\/td>\n<td style=\"width: 80.9611%;\"><span>API\u8a8d\u8a3c\u30ad\u30fc<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr style=\"background-color: #f0fff0;\">\n<td>\u30ad\u30fc<\/td>\n<td>\u5024<\/td>\n<\/tr>\n<tr>\n<td>*user_id<\/td>\n<td>\u30ed\u30b0\u30a4\u30f3ID<\/td>\n<\/tr>\n<tr>\n<td>*access_token<\/td>\n<td>\u30ed\u30b0\u30a4\u30f3\u6642\u306b\u53d6\u5f97\u3057\u305f\u300caccess_token\u300d<\/td>\n<\/tr>\n<tr>\n<td>*api_key<\/td>\n<td>API\u30ad\u30fc<\/td>\n<\/tr>\n<tr>\n<td>*receipt_file_id<\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u7ba1\u7406\u2f64ID<\/td>\n<\/tr>\n<tr>\n<td>company_ids<\/td>\n<td>\n<p>\u5229\u2f64\u3059\u308b\u904b\u9001\u4f1a\u793eID<br \/>\n\u203bjson\u2f42\u5b57\u5217\u3067\u6307\u5b9a<br \/>\n\u6307\u5b9a\u306a\u3057\uff1a\u5168\u904b\u9001\u4f1a\u793e\u304c\u5bfe\u8c61\u3001\u3000\u4f50\u5ddd\u3060\u3051\u3001\u30e4\u30de\u30c8\u3060\u3051\u306e\u5834\u5408\u306f\u5bfe\u8c61\u306e\u904b\u9001\u4f1a\u793eID\u3092\u6307\u5b9a<\/p>\n<p>\u4f8b\uff1a&#8221;[&#8220;1&#8243;]&#8221;<\/p>\n<p><span>\u904b\u9001\u4f1a\u793eID\u306f\u300c<\/span><a href=\"https:\/\/www.lpcloud.jp\/help\/webapi\/147\/#okuriAPI\" target=\"_blank\" rel=\"noopener\">Web API\u5c0e\u5165\u306b\u3064\u3044\u3066<\/a>\u300d<span>\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>yamato_print_param<\/td>\n<td>\u30e4\u30de\u30c8\u7528\u3000\u9001\u308a\u72b6\u767a\u2f8f\u6642\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6307\u5b9a\u3002\u6307\u5b9a\u304c\u7121\u3044\u5834\u5408\u306f\u6a19\u6e96\u306e\u5024\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u203bjson\u2f42\u5b57\u5217\u3067\u6307\u5b9a<\/p>\n<table>\n<tbody>\n<tr>\n<td>print_type<\/td>\n<td>\u5370\u5237\u3059\u308b\u9001\u308a\u72b6\u7a2e\u985e\u3092\u6307\u5b9a\u3000\u3000\u6a19\u6e96 : m5<\/td>\n<\/tr>\n<tr>\n<td>print_position<\/td>\n<td>\u5370\u5237\u4f4d\u7f6e\u3092\u6307\u5b9a\u3000\u3000\u6a19\u6e96 : 0<\/td>\n<\/tr>\n<tr>\n<td>sort1<\/td>\n<td>\u5370\u5237\u306e\u9806\u5e8f\u3092\u6307\u5b9a\u3000\u3000\u6a19\u6e96 : \u6307\u5b9a\u306a\u3057<\/td>\n<\/tr>\n<tr>\n<td>sort2<\/td>\n<td>\u5370\u5237\u306e\u9806\u5e8f\u3092\u6307\u5b9a\u3000\u3000\u6a19\u6e96 : \u6307\u5b9a\u306a\u3057<\/td>\n<\/tr>\n<tr>\n<td>sort3<\/td>\n<td>\u5370\u5237\u306e\u9806\u5e8f\u3092\u6307\u5b9a\u3000\u3000\u6a19\u6e96 : \u6307\u5b9a\u306a\u3057<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u203b\u5370\u5237\u9806\u5e8f\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u3001sort1\u3001sort2\u3001sort3\u3000\u5fc5\u305a\u5168\u3066\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td><span>file_extension<\/span><\/td>\n<td>\n<p><span>\u897f\u6fc3\u904b\u8f38\u7528\u3000\u767a\u884c\u3059\u308b\u9001\u308a\u72b6\u306e\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f<\/span><span>\u3092\u6307\u5b9a\u3002\u6307\u5b9a\u304c\u7121\u3044\u5834\u5408\u306f0\uff08PDF\uff09\u304c\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<br \/>\n\uff08PDF\uff1a0\u3001WBP\uff1a1\uff09<br \/>\n<\/span><span>\u203b\u300cWBP\u300d\u306f\u897f\u6fc3\u904b\u8f38\u306e\u5370\u5237\u30b7\u30b9\u30c6\u30e0\u3067\u4f7f\u7528\u3055\u308c\u308b\u5c02\u7528\u306e\u5370\u5237\u7528\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3067\u3059\u3002<br \/>\n<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffe4e1; width: 15%;\">\u623b\u308a\u5024<\/td>\n<td>\n<p>json\u2f42\u5b57\u5217\u3067\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<table style=\"width: 94.0891%; height: 399px;\">\n<tbody>\n<tr style=\"height: 52px;\">\n<td style=\"background-color: #fdede4; height: 52px;\">\u30ad\u30fc<\/td>\n<td style=\"background-color: #fdede4; height: 52px;\">\u5024<\/td>\n<\/tr>\n<tr style=\"height: 95px;\">\n<td style=\"height: 95px;\">issue_result<\/td>\n<td style=\"height: 95px;\">\u9001\u308a\u72b6\u767a\u884c\u7d50\u679c\u3092\u904b\u9001\u4f1a\u793e\u3054\u3068\u306b\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td style=\"width: 50%; background-color: #f0f8ff;\">\u30ad\u30fc<\/td>\n<td style=\"width: 50%; background-color: #f0f8ff;\">\u5024<\/td>\n<\/tr>\n<tr>\n<td>(\u904b\u9001\u4f1a\u793eID)<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u21d2 result<\/td>\n<td>&#8220;success&#8221; or &#8220;error&#8221;<\/td>\n<\/tr>\n<tr>\n<td>\u21d2 error_infos<\/td>\n<td>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr style=\"height: 52px;\">\n<td style=\"height: 52px;\">msg<\/td>\n<td style=\"height: 52px;\">\u30b7\u30b9\u30c6\u30e0\u30a8\u30e9\u30fc\u7b49\u3001\u4e0a\u8a18\u4ee5\u5916\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u969b\u306b\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr style=\"height: 148px;\">\n<td style=\"height: 148px;\">is_expired<\/td>\n<td style=\"height: 148px;\">\n<p>\u300caccess_token\u300d\u306e\u6709\u52b9\u671f\u9650\u5207\u308c\u306e\u969b\u306b\u300c1\u300d\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u203b\u300cis_expired\u300d\u304c\u300c1\u300d\u306e\u5834\u5408\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u5185\u306b\u4fdd\u7ba1\u3055\u308c\u3066\u3044\u308b\u300caccess_token\u300d\u306e\u6709\u52b9\u671f\u9650\u304c\u904e\u304e\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u5185\u306b\u4fdd\u7ba1\u3055\u308c\u3066\u3044\u308b\u300caccess_token\u300d\u306e\u5024\u3092\u7a7a\u306b\u3057\u3001\u518d\u5ea6\u30ed\u30b0\u30a4\u30f3\u3092\u5b9f\u65bd\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u300c*\u300d\u3000\u3053\u306e\u30de\u30fc\u30af\u304c\u4ed8\u3044\u3066\u3044\u308b\u9805\u76ee\u306f\u5fc5\u9808\u9805\u76ee\u3067\u3059\u3002<\/p>\n<p>\uff1c\u30e4\u30de\u30c8B2\u30af\u30e9\u30a6\u30c9API\uff1e<br \/>\n\u6bce\u65e525\u6642\u304b\u30897\u6642\u307e\u3067\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6642\u9593\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u305f\u3081\u3001\u3053\u306e\u9593\u306b\u30a2\u30af\u30bb\u30b9\u3055\u308c\u305f\u5834\u5408\u306f\u4e0a\u8a18\u300cmsg\u300d\u306b\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u4e2d\u3067\u3042\u308b\u3053\u3068\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-8386","post","type-post","status-publish","format-standard","hentry","category-webapi"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts\/8386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/comments?post=8386"}],"version-history":[{"count":12,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts\/8386\/revisions"}],"predecessor-version":[{"id":8585,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/posts\/8386\/revisions\/8585"}],"wp:attachment":[{"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/media?parent=8386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/categories?post=8386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lpcloud.jp\/help\/wp-json\/wp\/v2\/tags?post=8386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}