{"id":56971,"date":"2024-05-06T17:08:19","date_gmt":"2024-05-06T08:08:19","guid":{"rendered":"https:\/\/kinsta.com\/jp\/?p=56971&#038;preview=true&#038;preview_id=56971"},"modified":"2024-05-08T20:06:39","modified_gmt":"2024-05-08T11:06:39","slug":"woocommerce-api","status":"publish","type":"post","link":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/","title":{"rendered":"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff08\u5b9f\u4f8b\u3042\u308a\uff09"},"content":{"rendered":"<p>\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u7ba1\u7406\u306f\u8cbb\u7528\u304c\u304b\u304b\u308a\u3001\u3055\u307e\u3056\u307e\u306a\u5074\u9762\u3092\u81ea\u5206\u3067\u64cd\u4f5c\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3082\u306e\u3002\u3057\u304b\u3057WooCommerce REST API\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u3053\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u7c21\u7d20\u5316\u3057\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/ecommerce-strategies\/\">EC\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0<\/a>\u3092\u5236\u5fa1\u3057\u3066\u3001WooCommerce\u30b9\u30c8\u30a2\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u7ba1\u7406\u30fb\u62e1\u5f35\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u7d71\u5408\u3001\u81ea\u52d5\u5316\u3001\u305d\u3057\u3066\u6a5f\u80fd\u306e\u62e1\u5f35\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u30ea\u30bd\u30fc\u30b9\u3068\u6642\u9593\u304c\u524a\u6e1b\u3055\u308c\u3001\u30d7\u30ed\u30bb\u30b9\u3082\u52b9\u7387\u5316\u3055\u308c\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u67d4\u8edf\u306a\u5916\u90e8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u3001\u30b9\u30c8\u30a2\u306e\u5916\u89b3\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001WooCommerce REST API\u3092\u53d6\u308a\u4e0a\u3052\u307e\u3059\u3002EC\u696d\u52d9\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u81ea\u52d5\u5316\u3057\u5f37\u5316\u3059\u308b\u65b9\u6cd5\u3001WooCommerce\u30b9\u30c8\u30a2\u306e\u30b7\u30fc\u30e0\u30ec\u30b9\u306a\u7d71\u5408\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u4fc3\u9032\u3059\u308b\u30d2\u30f3\u30c8\u3084\u5b9f\u969b\u306e\u30b3\u30fc\u30c9\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>WooCommerce REST API\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u74b0\u5883\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>WooCommerce 3.5\u4ee5\u4e0a<\/li>\n<li>WordPress 4.4\u4ee5\u4e0a<\/li>\n<li><a href=\"https:\/\/www.postman.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Postman<\/a>\u307e\u305f\u306f<a href=\"https:\/\/insomnia.rest\/\" target=\"_blank\" rel=\"noopener noreferrer\">Insomnia<\/a>\uff08API\u306e\u30c6\u30b9\u30c8\u3068\u30a4\u30f3\u30bf\u30e9\u30af\u30b7\u30e7\u30f3\u7528\uff09<\/li>\n<\/ul>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>API\u306b\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/http-to-https\/\">HTTP\u3068HTTPS<\/a>\u306e\u3044\u305a\u308c\u3067\u3082\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u304c\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u89b3\u70b9\u304b\u3089\u3067\u304d\u308b\u9650\u308aHTTPS\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/aside>\n\n<h2>WooCommerce REST API\u3092\u4f7f\u7528\u3059\u308b<\/h2>\n<p>\u307e\u305a\u306fWordPress\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3057\u3001WooCommerce\u5185\u3067API\u8a8d\u8a3c\u60c5\u5831\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<h3>Kinsta\u3067WordPress\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>WordPress\u30b5\u30a4\u30c8\u3092\u307e\u3060\u304a\u6301\u3061\u3067\u306a\u3044\u5834\u5408\u306f\u3001<a href=\"https:\/\/my.kinsta.com\/?lang=ja\" target=\"_blank\" rel=\"noopener noreferrer\">MyKinsta<\/a>\u304b\u3089\u3059\u3050\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol start=\"1\">\n<li>MyKinsta\u3092\u958b\u304d\u3001\u5de6\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u300c<strong>WordPress\u30b5\u30a4\u30c8<\/strong>\u300d\u3092\u9078\u629e\u3002<\/li>\n<li>\u300c<strong>\u30b5\u30a4\u30c8\u3092\u8ffd\u52a0\u3059\u308b<\/strong>\u300d\uff1e\u300c<strong>\u65b0\u898f\u30b5\u30a4\u30c8\u4f5c\u6210<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c<strong>WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong>\u300d\u3092\u9078\u629e\u3057\u3066\u300c<strong>\u7d9a\u884c<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/li>\n<li>\u300c<strong>\u30b5\u30a4\u30c8\u306e\u8a2d\u5b9a<\/strong>\u300d\u753b\u9762\u3067\u30b5\u30a4\u30c8\u540d\u306e\u5165\u529b\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u6240\u5728\u5730\u306e\u9078\u629e\u3092\u884c\u3044\u3001\u300c<strong>\u7d9a\u884c<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/li>\n<li>\u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb\u3068\u30b5\u30a4\u30c8\u540d\u3068\u30b5\u30a4\u30c8\u306e\u7ba1\u7406\u8005\u8a8d\u8a3c\u60c5\u5831\u3092\u5165\u529b\u3057\u3001\u4f7f\u7528\u3059\u308b\u8a00\u8a9e\u3092\u9078\u629e\u3057\u305f\u3089\u3001\u300c<strong>WooCommerce\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/strong>\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u308b\u3002\n<p><figure style=\"width: 1001px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2024\/04\/create-site-mykinsta.png\" alt=\"WooCommerce\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305fWordPress\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\" width=\"1001\" height=\"471\"><figcaption class=\"wp-caption-text\">WooCommerce\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305fWordPress\u30b5\u30a4\u30c8\u3092\u4f5c\u6210<\/figcaption><\/figure><\/li>\n<li>\u300c<strong>\u7d9a\u884c<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3002\u5b8c\u4e86\u3059\u308b\u3068WordPress\u30b5\u30a4\u30c8\u7ba1\u7406\u8005\u306b\u30e1\u30fc\u30eb\u901a\u77e5\u304c\u5c4a\u304d\u307e\u3059\u3002WordPress\u30b5\u30a4\u30c8\u7ba1\u7406\u8005\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u5b89\u5168\u306a\u5834\u6240\u306b\u4fdd\u7ba1\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n<h3>WooCommerce\u3067API\u8a8d\u8a3c\u60c5\u5831\u3092\u751f\u6210\u3059\u308b<\/h3>\n<p>\u7d9a\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3067WooCommerce API\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<ol start=\"1\">\n<li>WordPress\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u300c<strong>\u30d7\u30e9\u30b0\u30a4\u30f3<\/strong>\u300d\uff1e\u300c<strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u30d7\u30e9\u30b0\u30a4\u30f3<\/strong>\u300d\u3092\u958b\u304d\u3001WooCommerce\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6709\u52b9\u5316\u3002<\/li>\n<li>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6709\u52b9\u5316\u3057\u305f\u3089\u3001\u300c<strong>WooCommerce<\/strong>\u300d\uff1e\u300c<strong>\u8a2d\u5b9a<\/strong>\u300d\u306b\u79fb\u52d5\u3057\u300c<strong>\u9ad8\u5ea6\u306a\u8a2d\u5b9a<\/strong>\u300d\u30bf\u30d6\u3092\u958b\u304f\u3002<\/li>\n<li>\u300c<strong>REST API<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002\n<p><figure style=\"width: 1001px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2024\/04\/woocommerce-settings.png\" alt=\"API\u30ad\u30fc\u306e\u8a73\u7d30\u30da\u30fc\u30b8\" width=\"1001\" height=\"471\"><figcaption class=\"wp-caption-text\">API\u30ad\u30fc\u306e\u8a73\u7d30\u30da\u30fc\u30b8<\/figcaption><\/figure><\/li>\n<li>\u300c<strong>\u30ad\u30fc\u3092\u8ffd\u52a0<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/li>\n<li>\u300c<strong>\u30ad\u30fc\u306e\u8a73\u7d30<\/strong>\u300d\u30da\u30fc\u30b8\u3067\u300c<strong>\u8aac\u660e<\/strong>\u300d\u306bREST API\u306e\u7c21\u5358\u306a\u8aac\u660e\u3092\u52a0\u3048\u3001\u300c<strong>\u6a29\u9650<\/strong>\u300d\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u3067\u300c<strong>Read\/Write<\/strong>\u300d\u3092\u9078\u629e\u3002\n<p><figure style=\"width: 1001px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2024\/04\/create-woocommerce-api-key.png\" alt=\"API\u30ad\u30fc\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u751f\u6210\" width=\"1001\" height=\"471\"><figcaption class=\"wp-caption-text\">API\u30ad\u30fc\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u751f\u6210<\/figcaption><\/figure><\/li>\n<li>\u300c<strong>API \u30ad\u30fc\u3092\u751f\u6210<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002\u3053\u308c\u3067\u3001API\u30ad\u30fc\u3092\u4f7f\u3063\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3001\u7ba1\u7406\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u300cConsumer Key\u300d\u304a\u3088\u3073\u300cConsumer Secret\u300d\u306fAPI\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3046\u969b\u306b\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001\u3069\u3053\u304b\u306b\u8a18\u9332\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\n<p><figure style=\"width: 1001px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2024\/04\/woocommerce-api-key.png\" alt=\"\u751f\u6210\u3057\u305fAPI\u30ad\u30fc\u306e\u8a8d\u8a3c\u60c5\u5831\" width=\"1001\" height=\"471\"><figcaption class=\"wp-caption-text\">\u751f\u6210\u3057\u305fAPI\u30ad\u30fc\u306e\u8a8d\u8a3c\u60c5\u5831<\/figcaption><\/figure><\/li>\n<\/ol>\n<h2>WooCommerce REST API\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/h2>\n<p>WooCommerce API\u306f\u3001REST\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u30d9\u30fc\u30b9\u306b\u69cb\u7bc9\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u9069\u5207\u306a\u30e1\u30bd\u30c3\u30c9\uff08GET\u3001POST\u3001PUT\u3001DELETE\uff09\u3067\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u3067\u3001\u6ce8\u6587\u3001\u5546\u54c1\u3001\u9867\u5ba2\u306a\u3069\u306eWooCommerce\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u53d6\u308a\u3068\u66f8\u304d\u8fbc\u307f\u64cd\u4f5c\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u3068\u30d9\u30fc\u30b9URL\u306b\u5bfe\u3057\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u9078\u629e\u3057\u305f\u30c4\u30fc\u30eb\uff08Postman\u307e\u305f\u306fInsomnia\uff09\u3092\u901a\u3058\u3066\u3055\u307e\u3056\u307e\u306a\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u5546\u54c1\u4e00\u89a7\u306e\u53d6\u5f97<\/h3>\n<p>\u5546\u54c1\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u524d\u306b\u3001\u5546\u54c1\u3092\u3044\u304f\u3064\u304b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u69cb\u9020\u3092\u300c<strong>\u57fa\u672c<\/strong>\u300d\u4ee5\u5916\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p>WordPress\u7ba1\u7406\u753b\u9762\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u304b\u3089\u300c<strong>\u8a2d\u5b9a<\/strong>\u300d\uff1e\u300c<strong>\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u8a2d\u5b9a<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u69cb\u9020\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u5fd8\u308c\u305a\u306b\u300c<strong>\u5909\u66f4\u3092\u4fdd\u5b58<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u308c\u3067URL\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u6b63\u5e38\u306b\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306bPostman\u3092\u958b\u304d\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002URL\u30bb\u30af\u30b7\u30e7\u30f3\u306b<code>https:\/\/&lt;yourdomain&gt;\/wp-json\/wc\/v3\/products<\/code>\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<code>&lt;yourdomain&gt;<\/code>\u306f\u5b9f\u969b\u306eWooCommerce\u30b5\u30a4\u30c8\u306e\u30c9\u30e1\u30a4\u30f3\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u300cAuthorization\u300d\u30bf\u30d6\u3067\u300cType\u300d\u306b\u300c<strong>Basic Auth<\/strong>\u300d\u3092\u9078\u629e\u3057\u3001\u300c<strong>Username<\/strong>\u300d\u306b\u5148\u307b\u3069\u306eConsumer Key\u3001\u300c<strong>Password<\/strong>\u300d\u306bConsumer Secret\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002WooCommerce REST API\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u306f\u3001\u5e38\u306b\u3053\u306e\u8a8d\u8a3c\u60c5\u5831\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u3068\u3001\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u4e00\u89a7\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1001px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2024\/04\/fetch-products-woocommerce-api.png\" alt=\"Postman\u3067\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u4e00\u89a7\u3092\u53d6\u5f97\" width=\"1001\" height=\"471\"><figcaption class=\"wp-caption-text\">Postman\u3067\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u4e00\u89a7\u3092\u53d6\u5f97<\/figcaption><\/figure>\n<h2>REST API\u306b\u3088\u308b\u5546\u54c1\u7ba1\u7406<\/h2>\n<p>\u5546\u54c1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u3001\u5546\u54c1\u306e\u30b0\u30eb\u30fc\u30d7\u5316\u3001\u5728\u5eab\u7ba1\u7406\u3001\u4fa1\u683c\u8a2d\u5b9a\u3092\u7c21\u5358\u306b\u884c\u3046\u305f\u3081\u306e\u5c5e\u6027\u30ea\u30b9\u30c8\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u4f5c\u6210\u3057\u305f\u5546\u54c1\u30b0\u30eb\u30fc\u30d7\u306b\u65b0\u305f\u306b\u5546\u54c1\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u306f\u3001<code>grouped_products<\/code>\u5c5e\u6027\u306e\u5546\u54c1\u30b0\u30eb\u30fc\u30d7ID\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\uff08\u305d\u306e\u4ed6\u306e\u5c5e\u6027\u306f\u4e0d\u8981\uff09\u3002<\/p>\n<p>\u5728\u5eab\u306e\u7ba1\u7406\u306b\u306f<code>manage_stock<\/code>\u3068<code>stock_status<\/code>\u5c5e\u6027\u3092\u4f7f\u7528\u3057\u3001\u305d\u308c\u305e\u308c<code>true<\/code>\u307e\u305f\u306f<code>false<\/code>\u00a0<code>instock<\/code>\u00a0<code>onbackorder<\/code>\u00a0<code>outofstock<\/code>\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u65e2\u5b58\u306e\u5546\u54c1\u60c5\u5831\u3092\u8ffd\u52a0\u3001\u66f4\u65b0\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>WooCommerce API\u3067\u5546\u54c1\u3092\u8ffd\u52a0\u3059\u308b<\/h3>\n<ol start=\"1\">\n<li>Postman\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8ffd\u52a0\u3057\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u3092\u300c<strong>POST<\/strong>\u300d\u306b\u5909\u66f4\u3002\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8URL\u306f\u3001\u524d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u3082\u306e\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u300c<strong>Body<\/strong>\u300d\u30bf\u30d6\u3067\u300c<strong>raw<\/strong>\u300d\u3092\u9078\u629e\u3057\u3001\u30dc\u30c7\u30a3\u5f62\u5f0f\u306b\u300c<strong>JSON<\/strong>\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002JSON\u30da\u30a4\u30ed\u30fc\u30c9\u306b\u306f\u3001\u5546\u54c1\u540d\u3001\u5546\u54c1\u30bf\u30a4\u30d7\uff08\u57fa\u672c\u7684\u306a\u5546\u54c1\u3001\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u3042\u308b\u5546\u54c1\u3001\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f\u5546\u54c1\uff09\u3001\u8aac\u660e\u3001\u6982\u8981\u304c\u3042\u308a\u3001\u4efb\u610f\u3067\u30ab\u30c6\u30b4\u30ea\u30fc\u3001\u30bf\u30b0\u3001\u753b\u50cf\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\n<pre><code class=\"language-json\">{\n \"name\": \"iPhone 15 Pro Max\",\n \"type\": \"\u57fa\u672c\u7684\u306a\u5546\u54c1\",\n \"description\": \"\",\n \"short_description\": \"\",\n \"categories\": [\n ],\n \"tags\": [],\n \"images\": []\n}<\/code><\/pre>\n<\/li>\n<li>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u884c\u3002\u5546\u54c1\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3068\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u3068\u3057\u3066\u5546\u54c1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002\u5546\u54c1\u306eID\u306f\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u5fc5\u8981\u306b\u306a\u308b\u305f\u3081\u3069\u3053\u304b\u306b\u63a7\u3048\u3066\u304a\u304d\u307e\u3059\u3002\n<p><figure style=\"width: 1001px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2024\/04\/fetch-products-woocommerce-api.png\" alt=\"\u5546\u54c1\u306e\u8ffd\u52a0\" width=\"1001\" height=\"471\"><figcaption class=\"wp-caption-text\">\u5546\u54c1\u306e\u8ffd\u52a0<\/figcaption><\/figure><\/li>\n<\/ol>\n<h3>WooCommerce API\u3067\u5546\u54c1\u3092\u7de8\u96c6\u3059\u308b<\/h3>\n<p>\u8ffd\u52a0\u3057\u305f\u5546\u54c1\u306e\u7de8\u96c6\u65b9\u6cd5\u3082\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<ol start=\"1\">\n<li>\u300c<strong>Body<\/strong>\u300d\u30bf\u30d6\u306b\u4ee5\u4e0b\u306eJSON\u30dc\u30c7\u30a3\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002\n<pre><code class=\"language-json\">{\n  \"name\": \"iPhone 15 Pro\"\n}<\/code><\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001\u5546\u54c1\u540d\u3092\u300ciPhone 15 Pro Max\u300d\u304b\u3089\u300ciPhone 15 Pro\u300d\u306b\u5909\u66f4\u3059\u308b\u305f\u3081\u3001\u5fc5\u8981\u306b\u306a\u308b\u306e\u306f<code>name<\/code>\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u307f\u3067\u3059\u3002\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8URL\u306f\u3001<code>https:\/\/yourdomain\/wp-json\/wc\/v3\/products\/&lt;id&gt;<\/code>\u3067\u3059\u3002<\/li>\n<li><code>id<\/code>\u3092\u524d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u898b\u305f\u5546\u54c1ID\u306b\u7f6e\u304d\u63db\u3048\u308b\u3002\u30ea\u30af\u30a8\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u3092\u300c<strong>PUT<\/strong>\u300d\u306b\u5909\u66f4\u3057\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u5546\u54c1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u5546\u54c1\u540d\u304c\u6b63\u3057\u3051\u308c\u3070\u3001\u6b63\u5e38\u306b\u66f4\u65b0\u3055\u308c\u305f\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\n<p><figure style=\"width: 1001px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2024\/04\/edit-product-woocommerce-api.png\" alt=\"\u5546\u54c1\u3092\u7de8\u96c6\" width=\"1001\" height=\"471\"><figcaption class=\"wp-caption-text\">\u5546\u54c1\u3092\u7de8\u96c6<\/figcaption><\/figure><\/li>\n<\/ol>\n<h2>REST API\u306b\u3088\u308b\u6ce8\u6587\u7ba1\u7406<\/h2>\n<p>WooCommerce REST API\u306f\u3001\u30b7\u30fc\u30e0\u30ec\u30b9\u306a\u6ce8\u6587\u306e\u53d6\u5f97\u3068\u6ce8\u6587\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u66f4\u65b0\u3092\u53ef\u80fd\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u6ce8\u6587\u51e6\u7406\u306e\u81ea\u52d5\u5316\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u3001\u65e5\u4ed8\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u3001\u9867\u5ba2\u306a\u3069\u306e\u69d8\u3005\u306a\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u3053\u3068\u3067\u3001\u4f5c\u696d\u304c\u52b9\u7387\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6ce8\u6587\u306e\u5c65\u884c\u3084\u51e6\u7406\u306e\u3055\u307e\u3056\u307e\u306a\u6bb5\u968e\u3092\u53cd\u6620\u3059\u308b\u305f\u3081\u306e\u6ce8\u6587\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u66f4\u65b0\u3082\u540c\u69d8\u3067\u3001\u6b63\u78ba\u306a\u8ffd\u8de1\u3068\u9867\u5ba2\u3068\u306e\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4fdd\u8a3c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u8fd4\u91d1\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u51e6\u7406\u3001\u8fd4\u91d1\u306e\u81ea\u52d5\u51e6\u7406\u3001\u6ce8\u6587\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u66f4\u65b0\u306a\u3069\u3001API\u3092\u901a\u3058\u3066\u8fd4\u91d1\u3092\u7ba1\u7406\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u306e\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u3001\u6ce8\u6587\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u5b8c\u4e86\u306b\u66f4\u65b0\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n<h3>WooCommerce API\u3067\u6700\u8fd1\u306e\u6ce8\u6587\u3092\u53d6\u5f97\u3059\u308b<\/h3>\n<ol start=\"1\">\n<li>Postman\u3067\u3001\u6ce8\u6587\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306e<strong>GET<\/strong>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8ffd\u52a0\u3002\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8URL\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3002\n<pre><code class=\"language-bash\">https:\/\/\/wp-json\/wc\/v3\/orders<\/code><\/pre>\n<\/li>\n<li>\u300c<strong>Params<\/strong>\u300d\u30bf\u30d6\u3067\u3001\u300cKey\u300d\u306b<code>after<\/code>\u3001\u300cValue\u300d\u306b\u6ce8\u6587\u304c\u4f5c\u6210\u3055\u308c\u305f\u65e5\u4ed8\uff08\u4eca\u56de\u306e\u4f8b\u3067\u306f<code>2024-03-08T00:00:00<\/code>\uff09\u3092\u5165\u529b\u3059\u308b\u3002\u65e5\u4ed8\u306f\u4efb\u610f\u3067\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3067\u6307\u5b9a\u3057\u305f\u65e5\u4ed8\u4ee5\u964d\u306e\u6ce8\u6587\u306e\u307f\u306b\u7d5e\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u4ed6\u306e\u8a2d\u5b9a\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3067OK\u3067\u3059\u3002<\/li>\n<li>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6307\u5b9a\u3057\u305f\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u6ce8\u6587\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u308b\u3002\u306a\u304a\u3001\u7a7a\u306e\u30ea\u30b9\u30c8\u304c\u8fd4\u3055\u308c\u306a\u3044\u3088\u3046\u3001\u4e8b\u524d\u306bWooCommerce\u30b9\u30c8\u30a2\u3067\u3044\u304f\u3064\u304b\u6ce8\u6587\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n<p><figure style=\"width: 1001px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2024\/04\/fetch-products-orders-woocommerce-api.png\" alt=\"\u6307\u5b9a\u3055\u308c\u305f\u65e5\u4ed8\u4ee5\u964d\u306e\u6700\u8fd1\u306e\u6ce8\u6587\u3092\u53d6\u5f97\" width=\"1001\" height=\"471\"><figcaption class=\"wp-caption-text\">\u6307\u5b9a\u3055\u308c\u305f\u65e5\u4ed8\u4ee5\u964d\u306e\u6700\u8fd1\u306e\u6ce8\u6587\u3092\u53d6\u5f97<\/figcaption><\/figure><\/li>\n<\/ol>\n<h3>WooCommerce API\u3067\u6ce8\u6587\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u66f4\u65b0\u3059\u308b<\/h3>\n<p>\u6ce8\u6587\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u66f4\u65b0\u3059\u308b\u306b\u306f\u3001\u6ce8\u6587\u306eID\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Postman\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8ffd\u52a0\u3057\u3001\u300c<strong>PUT<\/strong>\u300d\u306b\u5909\u66f4\u3057\u307e\u3059\u3002\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u3001<code>https:\/\/yourdomain\/wp-json\/wc\/v3\/orders\/&lt;existing-order-id&gt;<\/code>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u300c<strong>Body<\/strong>\u300d\u30bf\u30d6\u3067\u4ee5\u4e0b\u306eJSON\u30dc\u30c7\u30a3\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-json\">{\n  \"status\": \"completed\"\n}<\/code><\/pre>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6ce8\u6587\u304c\u5b8c\u4e86\uff08completed\uff09\u3057\u305f\u3053\u3068\u3092\u4f1d\u3048\u308b\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1001px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2024\/04\/fetch-complete-orders-woocommerce-api.png\" alt=\"\u6ce8\u6587\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u66f4\u65b0\" width=\"1001\" height=\"471\"><figcaption class=\"wp-caption-text\">\u6ce8\u6587\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u66f4\u65b0<\/figcaption><\/figure>\n<h2>\u9867\u5ba2\u7ba1\u7406\u3068\u30a8\u30f3\u30b2\u30fc\u30b8\u30e1\u30f3\u30c8<\/h2>\n<p>WooCommerce REST API\u3092\u901a\u3058\u3066\u3001\u5373\u5ea7\u306b\u65b0\u898f\u9867\u5ba2\u306e\u60c5\u5831\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u65e2\u5b58\u306e\u9867\u5ba2\u60c5\u5831\u3092\u7de8\u96c6\u3057\u305f\u308a\u3001\u8cfc\u5165\u5c65\u6b74\u3084\u50be\u5411\u306a\u3069\u306e\u5305\u62ec\u7684\u306a\u60c5\u5831\u3092\u53d6\u5f97\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u60c5\u5831\u3092\u5206\u6790\u3059\u308b\u3053\u3068\u3067\u3001\u30d1\u30fc\u30bd\u30ca\u30e9\u30a4\u30ba\u3055\u308c\u305f\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u6226\u7565\u3092\u8abf\u6574\u3057\u3001\u5404\u9867\u5ba2\u306e\u884c\u52d5\u306b\u57fa\u3065\u3044\u3066\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u7d5e\u308a\u8fbc\u3093\u3060\u5ba3\u4f1d\u3001\u304a\u3059\u3059\u3081\u5546\u54c1\u306e\u63d0\u793a\u3001\u7279\u5178\u306a\u3069\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u304d\u3081\u7d30\u304b\u306a\u9867\u5ba2\u60c5\u5831\u306e\u7ba1\u7406\u306f\u3001\u9867\u5ba2\u3068\u306e\u4fe1\u983c\u95a2\u4fc2\u306e\u69cb\u7bc9\u3001\u9867\u5ba2\u6e80\u8db3\u5ea6\u306e\u5411\u4e0a\u3001\u30ea\u30d4\u30fc\u30c8\u8cfc\u5165\u306e\u4fc3\u9032\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<h3>WooCommerce API\u3067\u9867\u5ba2\u60c5\u5831\u3092\u8ffd\u52a0\u3059\u308b<\/h3>\n<ol start=\"1\">\n<li>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8<code>https:\/\/&lt;yourdomain&gt;\/wp-json\/wc\/v3\/customers<\/code>\u306b<strong>POST<\/strong>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\uff08\u4f8b\u306b\u3088\u3063\u3066\u8a8d\u8a3c\u60c5\u5831\u306e\u8ffd\u52a0\u3082\u5fd8\u308c\u305a\u306b\uff09\u3002<\/li>\n<li>\u300c<strong>Body<\/strong>\u300d\u30bf\u30d6\u3067\u3001\u4ee5\u4e0b\u306eJSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3063\u3066\u9867\u5ba2\u60c5\u5831\u3092\u8ffd\u52a0\u3059\u308b\u3002\n<pre><code class=\"language-json\">{\n  \"email\": \"a.briann@gmail.com\",\n  \"first_name\": \"Brian\",\n  \"last_name\": \"Abraham\",\n  \"role\": \"customer\",\n  \"username\": \"briann.abraham\",\n  \"billing\": {\n    \"first_name\": \"Brian\",\n    \"last_name\": \"Abraham\",\n    \"company\": \"\",\n    \"address_1\": \"969 Market\",\n    \"address_2\": \"\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postcode\": \"94103\",\n    \"country\": \"US\",\n    \"email\": \"a.brian@gmail.com\",\n    \"phone\": \"(555) 555-5555\"\n  },\n  \"shipping\": {\n    \"first_name\": \"Brian\",\n    \"last_name\": \"Abraham\",\n    \"company\": \"\",\n    \"address_1\": \"969 Market\",\n    \"address_2\": \"\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postcode\": \"94103\",\n    \"country\": \"US\"\n  }\n}<\/code><\/pre>\n<p>JSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3001\u6c0f\u540d\u3001\u5f79\u5272\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u306a\u3069\u306e\u57fa\u672c\u7684\u306a\u9867\u5ba2\u60c5\u5831\u3001\u4f4f\u6240\u3001\u6240\u5728\u5730\u3001\u96fb\u8a71\u756a\u53f7\u306a\u3069\u306e\u8acb\u6c42\u5148\u304a\u3088\u3073\u914d\u9001\u5148\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<li>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3001\u9867\u5ba2\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u542b\u3080\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u53d7\u3051\u53d6\u308b\u3002\u9867\u5ba2ID\u306f\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u9867\u5ba2\u3092\u53d6\u5f97\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001\u3069\u3053\u304b\u306b\u63a7\u3048\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n<h3>WooCommerce API\u3067ID\u3092\u4f7f\u3063\u3066\u9867\u5ba2\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b<\/h3>\n<p>\u8ffd\u52a0\u3057\u305f\u9867\u5ba2\u3092ID\u3067\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ol start=\"1\">\n<li><strong>GET<\/strong>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002<\/li>\n<li>\u540c\u3058\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8<code>https:\/\/&lt;yourdomain&gt;\/wp-json\/wc\/v3\/customers\/&lt;existing-customer-id&gt;<\/code>\u3092\u4f7f\u7528\u3057\u3001\u53d6\u5f97\u3057\u305f\u3044\u9867\u5ba2\u306eID\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/li>\n<\/ol>\n<h2>WooCommerce REST API\u306e\u9ad8\u5ea6\u306a\u4f7f\u7528\u4f8b<\/h2>\n<p>EC\u30b5\u30a4\u30c8\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u7ba1\u7406\u3059\u308b\u4ee5\u5916\u306b\u3082\u3001<a href=\"https:\/\/kinsta.com\/blog\/wordpress-crm\/\">CRM<\/a>\u3078\u306e\u7d71\u5408\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-inventory-management\/\">\u5728\u5eab\u7ba1\u7406\u306e\u81ea\u52d5\u5316<\/a>\u3001\u30ab\u30b9\u30bf\u30e0\u5206\u6790\u3084\u30ec\u30dd\u30fc\u30c8\u306a\u3069\u306e\u8907\u96d1\u306a\u30bf\u30b9\u30af\u306b\u3082\u3001WooCommerce REST API\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001REST API\u3092\u4f7f\u7528\u3057\u3066WooCommerce\u30b9\u30c8\u30a2\u3092\u4efb\u610f\u306eCRM\u306b\u7d71\u5408\u3059\u308b\u3068\u3001\u9867\u5ba2\u60c5\u5831\u304c\u8ffd\u52a0\u3055\u308c\u308b\u305f\u3073\u306bCRM\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u5373\u5ea7\u306b\u53cd\u6620\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u9867\u5ba2\u60c5\u5831\u3068\u6ce8\u6587\u5c65\u6b74\u306e\u540c\u671f\u7ba1\u7406\u304c\u7c21\u7d20\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5728\u5eab\u7ba1\u7406\u306e\u81ea\u52d5\u5316\u306b\u3064\u3044\u3066\u306f\u3001\u5916\u90e8\u306e\u5728\u5eab\u7ba1\u7406\u3092\u7d71\u5408\u3059\u308b\u3053\u3068\u3067\u3001\u5728\u5eab\u3084\u5546\u54c1\u306e\u5728\u5eab\u72b6\u6cc1\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u628a\u63e1\u3059\u308b\u3053\u3068\u3082\u3002\u30ab\u30b9\u30bf\u30e0\u30ec\u30dd\u30fc\u30c8\u3084\u5206\u6790\u306b\u3082\u540c\u3058\u3053\u3068\u3092\u9069\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u610f\u601d\u6c7a\u5b9a\u3001\u30c8\u30ec\u30f3\u30c9\u306e\u628a\u63e1\u3001\u4e88\u6e2c\u306b\u5f79\u7acb\u3064\u4fef\u77b0\u7684\u306a\u30d3\u30e5\u30fc\u3092\u542b\u3080\u30ec\u30dd\u30fc\u30c8\u6a5f\u80fd\u3082\u69cb\u7bc9\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001WooCommerce\u306e\u9867\u5ba2\u60c5\u5831\u3092CRM\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u540c\u671f\u3059\u308b\u30b3\u30fc\u30c9\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">&lt;?php\nrequire __DIR__ . '\/vendor\/autoload.php';\n\nuse Automattic\\WooCommerce\\Client;\n\n$woocommerce = new Client(\n  'https:\/\/', \/\/ WooCommerce\u30b5\u30a4\u30c8\u306eURL\n  'consumer_key', \/\/ Consumer Key\n  'consumer_secret', \/\/ Consumer Secret\n    [\n      'version' =&gt; 'wc\/v3' \/\/ WooCommerce WP REST API\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\n    ]\n);\n\n\/\/ CRM API\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3068\u30ad\u30fc\n$crm_api_url = 'https:\/\/your-crm-api-url\/api';\n$crm_api_key = 'YOUR_CRM_API_KEY';\n\ntry {\n\/\/ Woocommerce\u30b9\u30c8\u30a2\u304b\u3089\u9867\u5ba2\u3092\u53d6\u5f97\n  $customers = $woocommerce-&gt;get('customers');\n\n  \/\/cURL\u306e\u521d\u671f\u5316\n  $ch = curl_init();\n\n  \/\/ cURL\u306e\u521d\u671f\u5316\u304c\u6210\u529f\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\n  if ($ch === false) {\n    throw new Exception('cURL\u306e\u521d\u671f\u5316\u306b\u5931\u6557\u3057\u307e\u3057\u305f');\n  }\n\n  foreach ($customers as $customer) {\n    $crm_customer_data = array(\n      'first_name' =&gt; $customer-&gt;first_name,\n      'last_name' =&gt; $customer-&gt;last_name,\n      'email' =&gt; $customer-&gt;email,\n      \/\/ \u305d\u306e\u4ed6\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\n    );\n\n    \/\/ cURL\u30aa\u30d7\u30b7\u30e7\u30f3\n    curl_setopt($ch, CURLOPT_URL, $crm_api_url . '\/customers');\n    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n    curl_setopt($ch, CURLOPT_POST, true);\n    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($crm_customer_data));\n    curl_setopt($ch, CURLOPT_HTTPHEADER, array(\n      'Authorization: Bearer ' . $crm_api_key,\n      'Content-Type: application\/json',\n    ));\n\n    \/\/ cURL\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u884c\n    $crm_response = curl_exec($ch);\n\n    \/\/ cURL\u30a8\u30e9\u30fc\u3092\u30c1\u30a7\u30c3\u30af\n    if ($crm_response === false) {\n      throw new Exception('cURL\u30a8\u30e9\u30fc' . curl_error($ch));\n    }\n\n    \/\/ HTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u3092\u30c1\u30a7\u30c3\u30af\n    $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n    if ($http_code !== 200) {\n      throw new Exception('CRM\u3068\u306e\u9867\u5ba2\u60c5\u5831\u306e\u540c\u671f\u306b\u5931\u6557\u3057\u307e\u3057\u305f: ' . $http_code);\n    }\n\n    echo '\u9867\u5ba2\u60c5\u5831\u304cCRM\u3068\u6b63\u5e38\u306b\u540c\u671f\u3055\u308c\u307e\u3057\u305f';\n  }\n\n  curl_close($ch);\n\n} catch (Exception $e) {\n  echo 'Error: ' . $e-&gt;getMessage();\n}<\/code><\/pre>\n<p>\u3053\u306ePHP\u30b3\u30fc\u30c9\u306f\u3001WooCommerce REST API\u3078\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u3001WooCommerce\u30b9\u30c8\u30a2\u304b\u3089\u9867\u5ba2\u3092\u53d6\u5f97\u3057\u3066\u3001\u6700\u5f8c\u306bcURL\u3092\u4f7f\u7528\u3057\u3066CRM\u306b\u9001\u4fe1\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30d5\u30ed\u30fc\u306e\u5931\u6557\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3082\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002Composer\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u306aPHP\u30e9\u30a4\u30d6\u30e9\u30ea<a href=\"https:\/\/packagist.org\/packages\/automattic\/woocommerce\" target=\"_blank\" rel=\"noopener noreferrer\">automattic\/woocommerce<\/a>\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u3053\u306eCRM\u306f\u3001\u9867\u5ba2\u60c5\u5831\u3092\u4efb\u610f\u306eCRM\u306b\u540c\u671f\u3055\u305b\u308b\u65b9\u6cd5\u3092\u793a\u3059\u76ee\u7684\u3067\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>WooCommerce REST API\u306f\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u30c7\u30fc\u30bf\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u7ba1\u7406\u3057\u3001\u6d88\u8cbb\u8005\u306eEC\u4f53\u9a13\u3092\u6539\u5584\u3057\u3001\u6a5f\u80fd\u3092\u62e1\u5f35\u3059\u308b\u306e\u306b\u8ca2\u732e\u3057\u3066\u304f\u308c\u308b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u57fa\u672c\u7684\u306aWordPress\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u6d17\u7df4\u3055\u308c\u305f\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u5909\u8eab\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>WordPress\u306bWooCommerce\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u3067REST API\u3092\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u304c\u30ab\u30b9\u30bf\u30e0\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u57fa\u790e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>EC\u30b5\u30a4\u30c8\u306b\u3068\u3063\u3066\u30b9\u30d4\u30fc\u30c9\u306f\u547d\u3002\u8aad\u307f\u8fbc\u307f\u901f\u5ea6\u306f\u9867\u5ba2\u306e\u304a\u8cb7\u3044\u7269\u4f53\u9a13\u306b\u76f4\u63a5\u5f71\u97ff\u3092\u4e0e\u3048\u307e\u3059\u3002WooCommerce API\u306f\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u304b\u3089 WordPress\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u3055\u307e\u3056\u307e\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u540c\u6642\u306b\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u91cd\u8996\u3057\u3001\u52b9\u7387\u7684\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>Kinsta\u306e\u3088\u3046\u306a<a href=\"https:\/\/kinsta.com\/jp\/wordpress-hosting\/woocommerce\/\">\u9ad8\u6027\u80fdWooCommerce\u5411\u3051\u30db\u30b9\u30c6\u30a3\u30f3\u30b0<\/a>\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u3067\u3001\u30b5\u30a4\u30c8\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u5927\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f75\u305b\u3066\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/speed-up-woocommerce\/\">WooCommerce\u30b9\u30c8\u30a2\u9ad8\u901f\u5316\u306e\u30d2\u30f3\u30c8<\/a>\u3082\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>WooCommerce API\u306b\u95a2\u3059\u308b\u7d4c\u9a13\u3084\u3054\u610f\u898b\u3001\u3054\u8cea\u554f\u304c\u3042\u308a\u307e\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u3067\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u7ba1\u7406\u306f\u8cbb\u7528\u304c\u304b\u304b\u308a\u3001\u3055\u307e\u3056\u307e\u306a\u5074\u9762 &#8230;<\/p>\n","protected":false},"author":199,"featured_media":56972,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[],"topic":[823,827,826],"class_list":["post-56971","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","topic-woocommerce","topic-wordpress-ecommerce","topic-wordpress-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff5cKinsta\u00ae<\/title>\n<meta name=\"description\" content=\"WooCommerce REST API\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6d3b\u7528\u3057\u3066\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u3068\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u305f\u308a\u306a\u3069\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff08\u5b9f\u4f8b\u3042\u308a\uff09\" \/>\n<meta property=\"og:description\" content=\"WooCommerce REST API\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6d3b\u7528\u3057\u3066\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u3068\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u305f\u308a\u306a\u3069\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-06T08:08:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-08T11:06:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeremy Holcombe\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"WooCommerce REST API\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6d3b\u7528\u3057\u3066\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u3068\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u305f\u308a\u306a\u3069\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api-1024x512.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeremy Holcombe\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/\"},\"author\":{\"name\":\"Jeremy Holcombe\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/4eee42881d7b5a73ebb4f58dd5223b21\"},\"headline\":\"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff08\u5b9f\u4f8b\u3042\u308a\uff09\",\"datePublished\":\"2024-05-06T08:08:19+00:00\",\"dateModified\":\"2024-05-08T11:06:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/\"},\"wordCount\":271,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/\",\"name\":\"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff5cKinsta\u00ae\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg\",\"datePublished\":\"2024-05-06T08:08:19+00:00\",\"dateModified\":\"2024-05-08T11:06:39+00:00\",\"description\":\"WooCommerce REST API\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6d3b\u7528\u3057\u3066\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u3068\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u305f\u308a\u306a\u3069\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#primaryimage\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg\",\"width\":1460,\"height\":730},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WooCommerce\",\"item\":\"https:\/\/kinsta.com\/jp\/topics\/woocommerce\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff08\u5b9f\u4f8b\u3042\u308a\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinsta.com\/jp\/#website\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/4eee42881d7b5a73ebb4f58dd5223b21\",\"name\":\"Jeremy Holcombe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e17001f3bb37dbbe54fceef9bb547fa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0e17001f3bb37dbbe54fceef9bb547fa?s=96&d=mm&r=g\",\"caption\":\"Jeremy Holcombe\"},\"description\":\"Senior Editor at Kinsta, WordPress Web Developer, and Content Writer. Outside of all things WordPress, I enjoy the beach, golf, and movies. I also have tall people problems.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/jeremyholcombe\/\"],\"url\":\"https:\/\/kinsta.com\/jp\/blog\/author\/jeremyholcombe\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff5cKinsta\u00ae","description":"WooCommerce REST API\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6d3b\u7528\u3057\u3066\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u3068\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u305f\u308a\u306a\u3069\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","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:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/","og_locale":"ja_JP","og_type":"article","og_title":"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff08\u5b9f\u4f8b\u3042\u308a\uff09","og_description":"WooCommerce REST API\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6d3b\u7528\u3057\u3066\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u3068\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u305f\u308a\u306a\u3069\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2024-05-06T08:08:19+00:00","article_modified_time":"2024-05-08T11:06:39+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg","type":"image\/jpeg"}],"author":"Jeremy Holcombe","twitter_card":"summary_large_image","twitter_description":"WooCommerce REST API\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6d3b\u7528\u3057\u3066\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u3068\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u305f\u308a\u306a\u3069\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter_image":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api-1024x512.jpg","twitter_creator":"@Kinsta_JP","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Jeremy Holcombe","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#article","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/"},"author":{"name":"Jeremy Holcombe","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/4eee42881d7b5a73ebb4f58dd5223b21"},"headline":"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff08\u5b9f\u4f8b\u3042\u308a\uff09","datePublished":"2024-05-06T08:08:19+00:00","dateModified":"2024-05-08T11:06:39+00:00","mainEntityOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/"},"wordCount":271,"commentCount":0,"publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/","url":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/","name":"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff5cKinsta\u00ae","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#primaryimage"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg","datePublished":"2024-05-06T08:08:19+00:00","dateModified":"2024-05-08T11:06:39+00:00","description":"WooCommerce REST API\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6d3b\u7528\u3057\u3066\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u5546\u54c1\u3068\u6ce8\u6587\u3092\u53d6\u5f97\u3057\u305f\u308a\u306a\u3069\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#primaryimage","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/04\/wp-the-complete-guide-to-woocommerce-rest-api.jpg","width":1460,"height":730},{"@type":"BreadcrumbList","@id":"https:\/\/kinsta.com\/jp\/blog\/woocommerce-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"WooCommerce","item":"https:\/\/kinsta.com\/jp\/topics\/woocommerce\/"},{"@type":"ListItem","position":3,"name":"\u3010\u6c7a\u5b9a\u7248\u3011WooCommerce REST API\u306e\u6d3b\u7528\u65b9\u6cd5\uff08\u5b9f\u4f8b\u3042\u308a\uff09"}]},{"@type":"WebSite","@id":"https:\/\/kinsta.com\/jp\/#website","url":"https:\/\/kinsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/4eee42881d7b5a73ebb4f58dd5223b21","name":"Jeremy Holcombe","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0e17001f3bb37dbbe54fceef9bb547fa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0e17001f3bb37dbbe54fceef9bb547fa?s=96&d=mm&r=g","caption":"Jeremy Holcombe"},"description":"Senior Editor at Kinsta, WordPress Web Developer, and Content Writer. Outside of all things WordPress, I enjoy the beach, golf, and movies. I also have tall people problems.","sameAs":["https:\/\/www.linkedin.com\/in\/jeremyholcombe\/"],"url":"https:\/\/kinsta.com\/jp\/blog\/author\/jeremyholcombe\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/56971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/users\/199"}],"replies":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/comments?post=56971"}],"version-history":[{"count":10,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/56971\/revisions"}],"predecessor-version":[{"id":57026,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/56971\/revisions\/57026"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56971\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56971\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56971\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56971\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56971\/translations\/de"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56971\/translations\/jp"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56971\/translations\/nl"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56971\/translations\/es"},{"href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/56971\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media\/56972"}],"wp:attachment":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media?parent=56971"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/tags?post=56971"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/topic?post=56971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}