{ "name": "Carol Young Corporation", "description": "", "url": "https:\/\/www.carolyoungcorp.com", "home": "https:\/\/www.carolyoungcorp.com\/zh-tw\/", "gmt_offset": "0", "timezone_string": "", "namespaces": [ "oembed\/1.0", "code-snippets\/v1", "contact-form-7\/v1", "yoast\/v1", "yoast\/v1\/myyoast", "wc\/blocks", "wc\/store", "wc\/v1", "wc\/v2", "wc\/v3", "wccom-site\/v1", "wc-analytics", "wc-admin", "wp-mail-smtp\/v1", "wp-rocket\/v1", "wp\/v2" ], "authentication": [], "routes": { "\/": { "namespace": "", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/" } ] } }, "\/oembed\/1.0": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "oembed\/1.0" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/oembed\/1.0" } ] } }, "\/oembed\/1.0\/proxy": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "required": true, "description": "\u7528\u65bc\u64f7\u53d6 oEmbed \u8cc7\u6599\u7684\u8cc7\u6e90\u7db2\u5740\u3002", "type": "string" }, "format": { "required": false, "default": "json", "enum": [ "json", "xml" ], "description": "\u8981\u4f7f\u7528\u7684 oEmbed \u683c\u5f0f\u3002", "type": "string" }, "maxwidth": { "required": false, "default": 600, "description": "\u5167\u5d4c\u6846\u67b6\u5bec\u5ea6\u4e0a\u9650\uff0c\u55ae\u4f4d\u70ba\u50cf\u7d20\u3002", "type": "integer" }, "maxheight": { "required": false, "description": "\u5167\u5d4c\u6846\u67b6\u9ad8\u5ea6\u4e0a\u9650\uff0c\u55ae\u4f4d\u70ba\u50cf\u7d20\u3002", "type": "integer" }, "discover": { "required": false, "default": true, "description": "\u662f\u5426\u57f7\u884c\u975e\u5141\u8a31\u540d\u55ae\u7684\u63d0\u4f9b\u8005\u7684 oEmbed \u63a2\u7d22\u8981\u6c42\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/oembed\/1.0\/proxy" } ] } }, "\/code-snippets\/v1": { "namespace": "code-snippets\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "code-snippets\/v1" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/code-snippets\/v1" } ] } }, "\/code-snippets\/v1\/snippets": { "namespace": "code-snippets\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u63cf\u8ff0\u6027\u6a19\u984c\u3002", "type": "string" }, "desc": { "required": false, "description": "\u8207\u7a0b\u5f0f\u78bc\u7247\u6bb5\u76f8\u95dc\u7684\u63cf\u8ff0\u6027\u6587\u5b57\u3002", "type": "string" }, "code": { "required": false, "description": "\u53ef\u57f7\u884c\u7684\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7a0b\u5f0f\u78bc\u3002", "type": "string" }, "tags": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u6240\u5c6c\u7684\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array" }, "scope": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u53ef\u57f7\u884c\u7684\u5167\u5bb9\u3002", "type": "string" }, "active": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u555f\u7528\u72c0\u614b\u3002", "type": "boolean" }, "priority": { "required": false, "description": "\u57f7\u884c\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u76f8\u5c0d\u512a\u5148\u9806\u5e8f\u3002", "type": "integer" }, "network": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u57f7\u884c\u65bc\u6574\u500b\u591a\u7ad9\u7db2\u8def\u6216\u500b\u5225\u7db2\u7ad9\u3002", "type": "boolean" }, "shared_network": { "required": false, "description": "\u5982\u679c\u662f\u8981\u7528\u65bc\u591a\u7ad9\u7db2\u8def\u7684\u7a0b\u5f0f\u78bc\u7247\u6bb5\uff0c\u6c7a\u5b9a\u662f\u57f7\u884c\u65bc\u500b\u5225\u7db2\u7ad9\u6216\u6574\u500b\u591a\u7ad9\u7db2\u8def\u3002", "type": "boolean" }, "modified": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u6700\u5f8c\u4fee\u6539\u65e5\u671f\u53ca\u6642\u9593 (ISO \u683c\u5f0f)\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/code-snippets\/v1\/snippets" } ] } }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)": { "namespace": "code-snippets\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u63cf\u8ff0\u6027\u6a19\u984c\u3002", "type": "string" }, "desc": { "required": false, "description": "\u8207\u7a0b\u5f0f\u78bc\u7247\u6bb5\u76f8\u95dc\u7684\u63cf\u8ff0\u6027\u6587\u5b57\u3002", "type": "string" }, "code": { "required": false, "description": "\u53ef\u57f7\u884c\u7684\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7a0b\u5f0f\u78bc\u3002", "type": "string" }, "tags": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u6240\u5c6c\u7684\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array" }, "scope": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u53ef\u57f7\u884c\u7684\u5167\u5bb9\u3002", "type": "string" }, "active": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u555f\u7528\u72c0\u614b\u3002", "type": "boolean" }, "priority": { "required": false, "description": "\u57f7\u884c\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u76f8\u5c0d\u512a\u5148\u9806\u5e8f\u3002", "type": "integer" }, "network": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u57f7\u884c\u65bc\u6574\u500b\u591a\u7ad9\u7db2\u8def\u6216\u500b\u5225\u7db2\u7ad9\u3002", "type": "boolean" }, "shared_network": { "required": false, "description": "\u5982\u679c\u662f\u8981\u7528\u65bc\u591a\u7ad9\u7db2\u8def\u7684\u7a0b\u5f0f\u78bc\u7247\u6bb5\uff0c\u6c7a\u5b9a\u662f\u57f7\u884c\u65bc\u500b\u5225\u7db2\u7ad9\u6216\u6574\u500b\u591a\u7ad9\u7db2\u8def\u3002", "type": "boolean" }, "modified": { "required": false, "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u6700\u5f8c\u4fee\u6539\u65e5\u671f\u53ca\u6642\u9593 (ISO \u683c\u5f0f)\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/code-snippets\/v1\/snippets\/schema": { "namespace": "code-snippets\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/code-snippets\/v1\/snippets\/schema" } ] } }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/activate": { "namespace": "code-snippets\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/deactivate": { "namespace": "code-snippets\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/export": { "namespace": "code-snippets\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/export-code": { "namespace": "code-snippets\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/contact-form-7\/v1": { "namespace": "contact-form-7\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "contact-form-7\/v1" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/contact-form-7\/v1" } ] } }, "\/contact-form-7\/v1\/contact-forms": { "namespace": "contact-form-7\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/contact-form-7\/v1\/contact-forms" } ] } }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)": { "namespace": "contact-form-7\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/feedback": { "namespace": "contact-form-7\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/refill": { "namespace": "contact-form-7\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/yoast\/v1": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "yoast\/v1" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1" } ] } }, "\/yoast\/v1\/configurator": { "namespace": "yoast\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/configurator" } ] } }, "\/yoast\/v1\/indexables\/(?P\\w+)\/(?P\\d+)": { "namespace": "yoast\/v1", "methods": [ "GET", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "PATCH" ], "args": [] } ] }, "\/yoast\/v1\/file_size": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "required": true, "description": "The url to retrieve", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/file_size" } ] } }, "\/yoast\/v1\/statistics": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/statistics" } ] } }, "\/yoast\/v1\/myyoast": { "namespace": "yoast\/v1\/myyoast", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "yoast\/v1\/myyoast" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/myyoast" } ] } }, "\/yoast\/v1\/myyoast\/connect": { "namespace": "yoast\/v1\/myyoast", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/myyoast\/connect" } ] } }, "\/wc\/blocks": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wc\/blocks" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/blocks" } ] } }, "\/wc\/blocks\/products\/attributes": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/blocks\/products\/attributes" } ] } }, "\/wc\/blocks\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/blocks\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } } ] }, "\/wc\/blocks\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/blocks\/products\/categories": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "show_review_count": { "required": false, "default": false, "description": "\u6211\u5011\u662f\u5426\u61c9\u50b3\u56de\u4e00\u500b\u5206\u985e\u4e2d\u8a55\u8ad6\u6578\u76ee\uff1f", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/blocks\/products\/categories" } ] } }, "\/wc\/blocks\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/blocks\/products\/tags": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/blocks\/products\/tags" } ] } }, "\/wc\/blocks\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/blocks\/products": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "menu_order", "price", "popularity", "rating", "menu_order", "comment_count" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "featured": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean" }, "category": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "tag": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "shipping_class": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "attribute": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string" }, "attribute_term": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string" }, "category_operator": { "required": false, "default": "in", "enum": [ "in", "not_in", "and" ], "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u76ee\u9304\u8a5e\u5f59\u3002", "type": "string" }, "tag_operator": { "required": false, "default": "in", "enum": [ "in", "not_in", "and" ], "description": "\u6bd4\u8f03\u5546\u54c1\u6a19\u7c64\u7684\u904b\u7b97\u5b50\u3002", "type": "string" }, "attribute_operator": { "required": false, "default": "in", "enum": [ "in", "not_in", "and" ], "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u5c6c\u6027\u8a5e\u5f59\u3002", "type": "string" }, "catalog_visibility": { "required": false, "enum": [ "any", "visible", "catalog", "search", "hidden" ], "description": "\u5224\u65b7\u662f\u5426\u986f\u793a\u96b1\u85cf\u6216\u53ef\u898b\u7684\u76ee\u9304\u7522\u54c1\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/blocks\/products" } ] } }, "\/wc\/blocks\/products\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/blocks\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "menu_order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string" } } } ] }, "\/wc\/blocks\/products\/reviews": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "product_id": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" } }, "category_id": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7279\u5b9a\u5206\u985e ID \u5167\u7522\u54c1\u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/blocks\/products\/reviews" } ] } }, "\/wc\/store": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wc\/store" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/store" } ] } }, "\/wc\/store\/cart": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/store\/cart" } ] } }, "\/wc\/store\/cart\/items": { "namespace": "wc\/store", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "id": { "required": true, "description": "\u8cfc\u7269\u8eca\u9805\u76ee\u5546\u54c1\u6216\u5b50\u985e\u9078\u9805 ID\u3002", "type": "integer" }, "quantity": { "required": true, "description": "\u8cfc\u7269\u8eca\u4e2d\u6b64\u9805\u76ee\u7684\u6578\u91cf\u3002", "type": "integer" }, "variation": { "required": false, "description": "\u9078\u64c7\u7684\u5c6c\u6027 (\u9069\u7528\u65bc\u5b50\u985e\u9078\u9805)\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5b50\u985e\u9078\u9805\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5b50\u985e\u9078\u9805\u5c6c\u6027\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/store\/cart\/items" } ] } }, "\/wc\/store\/cart\/items\/(?P[\\w-]{32})": { "namespace": "wc\/store", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "key": { "required": false, "description": "\u8cfc\u7269\u8eca\u5167\u9805\u76ee\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "key": { "required": false, "description": "\u8cfc\u7269\u8eca\u5167\u9805\u76ee\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "id": { "required": false, "description": "\u8cfc\u7269\u8eca\u9805\u76ee\u5546\u54c1\u6216\u5b50\u985e\u9078\u9805 ID\u3002", "type": "integer" }, "quantity": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u6b64\u9805\u76ee\u7684\u6578\u91cf\u3002", "type": "integer" }, "variation": { "required": false, "description": "\u9078\u64c7\u7684\u5c6c\u6027 (\u9069\u7528\u65bc\u5b50\u985e\u9078\u9805)\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5b50\u985e\u9078\u9805\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5b50\u985e\u9078\u9805\u5c6c\u6027\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "key": { "required": false, "description": "\u8cfc\u7269\u8eca\u5167\u9805\u76ee\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" } } } ] }, "\/wc\/store\/products": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u65bc\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string" }, "date_column": { "required": false, "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "description": "\u4f7f\u7528\u4e4b\u5f8c\/\u4e4b\u524d\u9650\u5236\u56de\u61c9\u6642\uff0c\u7528\u4ee5\u6bd4\u8f03\u7684\u65e5\u671f\u6b04\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "featured": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean" }, "category": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "category_operator": { "required": false, "default": "in", "enum": [ "in", "not in", "and" ], "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u76ee\u9304\u8a5e\u5f59\u3002", "type": "string" }, "tag": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "tag_operator": { "required": false, "default": "in", "enum": [ "in", "not in", "and" ], "description": "\u6bd4\u8f03\u5546\u54c1\u6a19\u7c64\u7684\u904b\u7b97\u5b50\u3002", "type": "string" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6240\u9078\u5168\u57df\u5c6c\u6027\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5c6c\u6027\u5206\u985e\u6cd5\u540d\u7a31\u3002", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "\u5c6c\u6027\u5b57\u8a5e ID \u6e05\u55ae\u3002", "type": "array", "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "\u5c6c\u6027\u4ee3\u7a31\u6e05\u55ae\u3002\u5982\u679c\u63d0\u4f9b\u5b57\u8a5e ID\uff0c\u6b64\u9805\u76ee\u6703\u88ab\u7565\u904e\u3002", "type": "array", "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u5c6c\u6027\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not in", "and" ] } } } }, "attribute_relation": { "required": false, "default": "and", "enum": [ "in", "and" ], "description": "\u4e00\u6b21\u4f7f\u7528\u591a\u500b\u689d\u4ef6\u7be9\u9078\u6642\uff0c\u5404\u5c6c\u6027\u4e4b\u9593\u7684\u908f\u8f2f\u95dc\u4fc2\u3002", "type": "string" }, "catalog_visibility": { "required": false, "enum": [ "any", "visible", "catalog", "search", "hidden" ], "description": "\u5224\u65b7\u662f\u5426\u986f\u793a\u96b1\u85cf\u6216\u53ef\u898b\u7684\u76ee\u9304\u7522\u54c1\u3002", "type": "string" }, "rating": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u7279\u5b9a\u5e73\u5747\u8a55\u5206\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/store\/products" } ] } }, "\/wc\/store\/products\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/store\/products\/collection-data": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u65bc\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string" }, "date_column": { "required": false, "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "description": "\u4f7f\u7528\u4e4b\u5f8c\/\u4e4b\u524d\u9650\u5236\u56de\u61c9\u6642\uff0c\u7528\u4ee5\u6bd4\u8f03\u7684\u65e5\u671f\u6b04\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "featured": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean" }, "category": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "category_operator": { "required": false, "default": "in", "enum": [ "in", "not in", "and" ], "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u76ee\u9304\u8a5e\u5f59\u3002", "type": "string" }, "tag": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "tag_operator": { "required": false, "default": "in", "enum": [ "in", "not in", "and" ], "description": "\u6bd4\u8f03\u5546\u54c1\u6a19\u7c64\u7684\u904b\u7b97\u5b50\u3002", "type": "string" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6240\u9078\u5168\u57df\u5c6c\u6027\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5c6c\u6027\u5206\u985e\u6cd5\u540d\u7a31\u3002", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "\u5c6c\u6027\u5b57\u8a5e ID \u6e05\u55ae\u3002", "type": "array", "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "\u5c6c\u6027\u4ee3\u7a31\u6e05\u55ae\u3002\u5982\u679c\u63d0\u4f9b\u5b57\u8a5e ID\uff0c\u6b64\u9805\u76ee\u6703\u88ab\u7565\u904e\u3002", "type": "array", "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u5c6c\u6027\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not in", "and" ] } } } }, "attribute_relation": { "required": false, "default": "and", "enum": [ "in", "and" ], "description": "\u4e00\u6b21\u4f7f\u7528\u591a\u500b\u689d\u4ef6\u7be9\u9078\u6642\uff0c\u5404\u5c6c\u6027\u4e4b\u9593\u7684\u908f\u8f2f\u95dc\u4fc2\u3002", "type": "string" }, "catalog_visibility": { "required": false, "enum": [ "any", "visible", "catalog", "search", "hidden" ], "description": "\u5224\u65b7\u662f\u5426\u986f\u793a\u96b1\u85cf\u6216\u53ef\u898b\u7684\u76ee\u9304\u7522\u54c1\u3002", "type": "string" }, "rating": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u7279\u5b9a\u5e73\u5747\u8a55\u5206\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] } }, "calculate_price_range": { "required": false, "default": false, "description": "\u5982\u679c\u70ba\u300c\u662f\u300d\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u50f9\u683c\u7684\u6700\u4f4e\u91d1\u984d\u548c\u6700\u9ad8\u91d1\u984d\u3002", "type": "boolean" }, "calculate_attribute_counts": { "required": false, "default": [], "description": "\u5982\u6709\u8981\u6c42\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u7684\u5c6c\u6027\u5b57\u8a5e\u8a08\u6578\u3002", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "\u5206\u985e\u6cd5\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "\u6b63\u5728\u57f7\u884c (\u4e26\u53ef\u80fd\u5f71\u97ff\u8a08\u6578) \u7684\u67e5\u8a62\u985e\u578b\u3002\u6709\u6548\u503c\u5305\u62ec\u300c\u4ee5\u53ca\u300d\u548c\u300c\u6216\u8005\u300d\u3002", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } } }, "calculate_rating_counts": { "required": false, "default": false, "description": "\u5982\u679c\u70ba\u300c\u662f\u300d\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u7684\u8a55\u5206\u6578\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/store\/products\/collection-data" } ] } }, "\/wc\/store\/products\/attributes": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/store\/products\/attributes" } ] } }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "required": false, "description": "\u5c6c\u6027\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "name", "slug", "count" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": true, "description": "\u662f\u5426\u61c9\u96b1\u85cf\u7a7a\u767d\u7684\u5b57\u8a5e\uff1f", "type": "boolean" } } } ] }, "\/wc\/v1": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wc\/v1" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1" } ] } }, "\/wc\/v1\/coupons": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "filter": { "required": false, "description": "\u4f7f\u7528 WP \u67e5\u8a62\u5f15\u6578\u4f86\u4fee\u6539\u56de\u61c9\uff1b\u79c1\u4eba\u67e5\u8a62\u8b8a\u6578\u9700\u8981\u9069\u7576\u7684\u6388\u6b0a\u3002", "type": "object" }, "code": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u4ee3\u78bc\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "code": { "required": true, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "discount_type": { "required": false, "default": "fixed_cart", "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "expiry_date": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u6642\u4f7f\u7528 UTC \u65e5\u671f\u6642\u9593\u3002", "type": "string" }, "individual_use": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/coupons" } ] } }, "\/wc\/v1\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "code": { "required": false, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "expiry_date": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u6642\u4f7f\u7528 UTC \u65e5\u671f\u6642\u9593\u3002", "type": "string" }, "individual_use": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v1\/coupons\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "required": false, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "expiry_date": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u6642\u4f7f\u7528 UTC \u65e5\u671f\u6642\u9593\u3002", "type": "string" }, "individual_use": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/coupons\/batch" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/v1\/customers": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "registered_date" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "email": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u96fb\u5b50\u90f5\u4ef6\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "role": { "required": false, "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "wpseo_manager", "wpseo_editor" ], "description": "\u900f\u904e\u7279\u5b9a\u89d2\u8272\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "email": { "required": true, "description": "\u65b0\u4f7f\u7528\u8005\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string" }, "first_name": { "required": false, "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string" }, "username": { "required": false, "description": "\u65b0\u4f7f\u7528\u8005\u540d\u7a31", "type": "string" }, "password": { "required": false, "description": "\u65b0\u4f7f\u7528\u8005\u5bc6\u78bc", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object" }, "shipping": { "required": false, "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/customers" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "email": { "required": false, "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string" }, "first_name": { "required": false, "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string" }, "username": { "required": false, "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string" }, "password": { "required": false, "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object" }, "shipping": { "required": false, "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" }, "reassign": { "required": false, "default": 0, "description": "\u91cd\u65b0\u6307\u6d3e\u6587\u7ae0\u7684\u7de8\u865f\u3002", "type": "integer" } } } ] }, "\/wc\/v1\/customers\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "required": false, "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string" }, "first_name": { "required": false, "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string" }, "username": { "required": false, "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string" }, "password": { "required": false, "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object" }, "shipping": { "required": false, "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/customers\/batch" } ] } }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "note": { "required": true, "description": "\u8a02\u55ae\u5099\u8a3b\u7684\u5167\u5bb9", "type": "string" }, "customer_note": { "required": false, "default": false, "description": "\u986f\u793a\/\u5b9a\u7fa9\u5099\u8a3b\u662f\u5426\u50c5\u4f9b\u53c3\u7167\u6216\u4f9b\u5ba2\u6236\u4f7f\u7528 (\u6703\u901a\u77e5\u5ba2\u6236)\u3002", "type": "boolean" } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "filter": { "required": false, "description": "\u4f7f\u7528 WP \u67e5\u8a62\u5f15\u6578\u4f86\u4fee\u6539\u56de\u61c9\uff1b\u79c1\u4eba\u67e5\u8a62\u8b8a\u6578\u9700\u8981\u9069\u7576\u7684\u6388\u6b0a\u3002", "type": "object" }, "status": { "required": false, "default": "any", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "customer": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "product": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "dp": { "required": false, "default": 2, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "amount": { "required": false, "description": "\u9000\u6b3e\u91d1\u984d\u3002", "type": "string" }, "reason": { "required": false, "description": "\u7533\u8acb\u539f\u56e0\u3002", "type": "string" } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": true, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/orders": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "filter": { "required": false, "description": "\u4f7f\u7528 WP \u67e5\u8a62\u5f15\u6578\u4f86\u4fee\u6539\u56de\u61c9\uff1b\u79c1\u4eba\u67e5\u8a62\u8b8a\u6578\u9700\u8981\u9069\u7576\u7684\u6388\u6b0a\u3002", "type": "object" }, "status": { "required": false, "default": "any", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "customer": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "product": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "dp": { "required": false, "default": 2, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "default": "pending", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "default": "USD", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "default": 0, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "set_paid": { "required": false, "default": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "\u9805\u76ee\u4f8b\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u5143\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ], "readonly": true } } } } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/orders" } ] } }, "\/wc\/v1\/orders\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "set_paid": { "required": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "\u9805\u76ee\u4f8b\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u5143\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ], "readonly": true } } } } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v1\/orders\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "set_paid": { "required": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "\u9805\u76ee\u4f8b\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u5143\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ], "readonly": true } } } } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/orders\/batch" } ] } }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ] }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "name": { "required": false, "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "name": { "required": false, "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ] }, "\/wc\/v1\/products\/attributes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "type": { "required": false, "default": "select", "enum": [ "select" ], "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string" }, "order_by": { "required": false, "default": "menu_order", "enum": [ "menu_order", "name", "name_num", "id" ], "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string" }, "has_archives": { "required": false, "default": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products\/attributes" } ] } }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "type": { "required": false, "enum": [ "select" ], "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string" }, "order_by": { "required": false, "enum": [ "menu_order", "name", "name_num", "id" ], "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string" }, "has_archives": { "required": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": true, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/products\/attributes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "type": { "required": false, "enum": [ "select" ], "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string" }, "order_by": { "required": false, "enum": [ "menu_order", "name", "name_num", "id" ], "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string" }, "has_archives": { "required": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products\/attributes\/batch" } ] } }, "\/wc\/v1\/products\/categories": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "default": "default", "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products\/categories" } ] } }, "\/wc\/v1\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5206\u985e\u540d\u7a31", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/products\/categories\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5206\u985e\u540d\u7a31", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products\/categories\/batch" } ] } }, "\/wc\/v1\/products\/(?P[\\d]+)\/reviews": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "review": { "required": true, "description": "\u8a55\u8ad6\u5167\u5bb9\u3002", "type": "string" }, "date_created": { "required": false, "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" }, "name": { "required": true, "description": "\u8a55\u8ad6\u8005\u540d\u7a31\u3002", "type": "string" }, "email": { "required": true, "description": "\u8a55\u8ad6\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" } } } ] }, "\/wc\/v1\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "review": { "required": false, "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string" }, "date_created": { "required": false, "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" }, "name": { "required": false, "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string" }, "email": { "required": false, "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v1\/products\/shipping_classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products\/shipping_classes" } ] } }, "\/wc\/v1\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/products\/shipping_classes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v1\/products\/tags": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products\/tags" } ] } }, "\/wc\/v1\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/products\/tags\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products\/tags\/batch" } ] } }, "\/wc\/v1\/products": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "filter": { "required": false, "description": "\u4f7f\u7528 WP \u67e5\u8a62\u5f15\u6578\u4f86\u4fee\u6539\u56de\u61c9\uff1b\u79c1\u4eba\u67e5\u8a62\u8b8a\u6578\u9700\u8981\u9069\u7576\u7684\u6388\u6b0a\u3002", "type": "object" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "category": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "tag": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "shipping_class": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "attribute": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "attribute_term": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string" }, "sku": { "required": false, "description": "\u900f\u904e\u7279\u5b9a SKU \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "type": { "required": false, "default": "simple", "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "default": "publish", "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "default": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "default": "visible", "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string" }, "virtual": { "required": false, "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "download_type": { "required": false, "default": "standard", "enum": [ "standard" ], "description": "\u4e0b\u8f09\u985e\u578b\uff0c\u9019\u6703\u63a7\u5236\u524d\u7aef\u7684\u7d50\u69cb\u63cf\u8ff0\u3002", "type": "string" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "in_stock": { "required": false, "default": true, "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "default": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "default": true, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u5411\u4e0a\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "variations": { "required": false, "description": "\u8b8a\u6578\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u8b8a\u6578\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "\u8b8a\u6578\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u8b8a\u6578\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "\u8b8a\u6578 URL\u3002", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "\u76ee\u524d\u8b8a\u6578\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u5728\u7279\u50f9\u4fc3\u92b7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u4ee5\u8cfc\u8cb7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "\u82e5\u5546\u54c1\u898f\u683c\u70ba\u53ef\u898b.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "\u986f\u793a\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u9810\u8a02\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (cm)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (cm)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (cm)\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "\u904b\u9001\u985e\u5225 ID\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products" } ] } }, "\/wc\/v1\/products\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "download_type": { "required": false, "enum": [ "standard" ], "description": "\u4e0b\u8f09\u985e\u578b\uff0c\u9019\u6703\u63a7\u5236\u524d\u7aef\u7684\u7d50\u69cb\u63cf\u8ff0\u3002", "type": "string" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "in_stock": { "required": false, "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u5411\u4e0a\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "variations": { "required": false, "description": "\u8b8a\u6578\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u8b8a\u6578\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "\u8b8a\u6578\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u8b8a\u6578\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "\u8b8a\u6578 URL\u3002", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "\u76ee\u524d\u8b8a\u6578\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u5728\u7279\u50f9\u4fc3\u92b7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u4ee5\u8cfc\u8cb7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "\u82e5\u5546\u54c1\u898f\u683c\u70ba\u53ef\u898b.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "\u986f\u793a\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u9810\u8a02\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (cm)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (cm)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (cm)\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "\u904b\u9001\u985e\u5225 ID\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v1\/products\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "download_type": { "required": false, "enum": [ "standard" ], "description": "\u4e0b\u8f09\u985e\u578b\uff0c\u9019\u6703\u63a7\u5236\u524d\u7aef\u7684\u7d50\u69cb\u63cf\u8ff0\u3002", "type": "string" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "in_stock": { "required": false, "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u5411\u4e0a\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "variations": { "required": false, "description": "\u8b8a\u6578\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u8b8a\u6578\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "\u8b8a\u6578\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u8b8a\u6578\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "\u8b8a\u6578 URL\u3002", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "\u76ee\u524d\u8b8a\u6578\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u5728\u7279\u50f9\u4fc3\u92b7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u4ee5\u8cfc\u8cb7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "\u82e5\u5546\u54c1\u898f\u683c\u70ba\u53ef\u898b.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "\u986f\u793a\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u9810\u8a02\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (cm)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (cm)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (cm)\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "\u904b\u9001\u985e\u5225 ID\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/products\/batch" } ] } }, "\/wc\/v1\/reports\/sales": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "period": { "required": false, "enum": [ "week", "month", "last_month", "year" ], "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string" }, "date_min": { "required": false, "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" }, "date_max": { "required": false, "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/reports\/sales" } ] } }, "\/wc\/v1\/reports\/top_sellers": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "period": { "required": false, "enum": [ "week", "month", "last_month", "year" ], "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string" }, "date_min": { "required": false, "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" }, "date_max": { "required": false, "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/reports\/top_sellers" } ] } }, "\/wc\/v1\/reports": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/reports" } ] } }, "\/wc\/v1\/taxes\/classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u7a05\u91d1\u985e\u5225\u540d\u7a31\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/taxes\/classes" } ] } }, "\/wc\/v1\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "slug": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u4ee3\u7a31\u3002", "type": "string" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/taxes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "order", "enum": [ "id", "order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u4f9d\u7a05\u7387\u985e\u5225.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "default": 1, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "default": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "default": true, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "default": "standard", "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/taxes" } ] } }, "\/wc\/v1\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/taxes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/taxes\/batch" } ] } }, "\/wc\/v1\/webhooks": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "title" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "status": { "required": false, "default": "all", "enum": [ "all", "active", "paused", "disabled" ], "description": "Limit result set to webhooks assigned a specific status.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "default": "active", "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": true, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string" }, "delivery_url": { "required": true, "description": "Webhook delivery URL.", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/webhooks" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": false, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v1\/webhooks\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": false, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v1\/webhooks\/batch" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "required": false, "description": "Webhook \u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "required": false, "description": "Webhook \u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/v2": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wc\/v2" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2" } ] } }, "\/wc\/v2\/coupons": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "code": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u4ee3\u78bc\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "code": { "required": true, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "discount_type": { "required": false, "default": "fixed_cart", "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "date_expires": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "string" }, "date_expires_gmt": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "string" }, "individual_use": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/coupons" } ] } }, "\/wc\/v2\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "code": { "required": false, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "date_expires": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "string" }, "date_expires_gmt": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "string" }, "individual_use": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v2\/coupons\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "required": false, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "date_expires": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "string" }, "date_expires_gmt": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "string" }, "individual_use": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/coupons\/batch" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/v2\/customers": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "registered_date" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "email": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u96fb\u5b50\u90f5\u4ef6\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "role": { "required": false, "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "wpseo_manager", "wpseo_editor" ], "description": "\u900f\u904e\u7279\u5b9a\u89d2\u8272\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "email": { "required": true, "description": "\u65b0\u4f7f\u7528\u8005\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string" }, "first_name": { "required": false, "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string" }, "username": { "required": false, "description": "\u65b0\u4f7f\u7528\u8005\u540d\u7a31", "type": "string" }, "password": { "required": false, "description": "\u65b0\u4f7f\u7528\u8005\u5bc6\u78bc", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object" }, "shipping": { "required": false, "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/customers" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "email": { "required": false, "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string" }, "first_name": { "required": false, "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string" }, "username": { "required": false, "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string" }, "password": { "required": false, "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object" }, "shipping": { "required": false, "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" }, "reassign": { "required": false, "default": 0, "description": "\u91cd\u65b0\u6307\u6d3e\u6587\u7ae0\u7684\u7de8\u865f\u3002", "type": "integer" } } } ] }, "\/wc\/v2\/customers\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "required": false, "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string" }, "first_name": { "required": false, "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string" }, "username": { "required": false, "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string" }, "password": { "required": false, "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object" }, "shipping": { "required": false, "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/customers\/batch" } ] } }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "type": { "required": false, "default": "any", "enum": [ "any", "customer", "internal" ], "description": "\u9650\u5236\u5ba2\u6236\u6216\u5167\u90e8\u8a18\u9304\u7684\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "note": { "required": true, "description": "\u8a02\u55ae\u5099\u8a3b\u7684\u5167\u5bb9", "type": "string" }, "customer_note": { "required": false, "default": false, "description": "\u5176\u503c\u70ba true \u6642\uff0c\u5c07\u6703\u5411\u9867\u5ba2\u986f\u793a\u5099\u8a3b\uff0c\u9867\u5ba2\u4fbf\u6703\u6536\u5230\u901a\u77e5\u3002\u5176\u503c\u70ba false \u6642\uff0c\u5099\u8a3b\u5c07\u50c5\u4f9b\u7ba1\u7406\u54e1\u53c3\u8003\u3002", "type": "boolean" } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "dp": { "required": false, "default": 2, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "amount": { "required": false, "description": "\u9000\u6b3e\u91d1\u984d\u3002", "type": "string" }, "reason": { "required": false, "description": "\u7533\u8acb\u539f\u56e0\u3002", "type": "string" }, "refunded_by": { "required": false, "description": "\u4f7f\u7528\u8005\u9000\u6b3e\u5f8c\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "api_refund": { "required": false, "default": true, "description": "\u5982\u679c\u6b63\u78ba\uff0c\u4ed8\u6b3e\u9598\u9053 API \u53ef\u7528\u65bc\u8655\u7406\u9000\u6b3e\u3002", "type": "boolean" } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": true, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/orders": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "status": { "required": false, "default": "any", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "customer": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "product": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "dp": { "required": false, "default": 2, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "default": "pending", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "default": "USD", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "default": 0, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "default": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/orders" } ] } }, "\/wc\/v2\/orders\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v2\/orders\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/orders\/batch" } ] } }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ] }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "name": { "required": false, "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "name": { "required": false, "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ] }, "\/wc\/v2\/products\/attributes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "type": { "required": false, "default": "select", "enum": [ "select" ], "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string" }, "order_by": { "required": false, "default": "menu_order", "enum": [ "menu_order", "name", "name_num", "id" ], "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string" }, "has_archives": { "required": false, "default": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products\/attributes" } ] } }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "type": { "required": false, "enum": [ "select" ], "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string" }, "order_by": { "required": false, "enum": [ "menu_order", "name", "name_num", "id" ], "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string" }, "has_archives": { "required": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": true, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/products\/attributes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "type": { "required": false, "enum": [ "select" ], "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string" }, "order_by": { "required": false, "enum": [ "menu_order", "name", "name_num", "id" ], "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string" }, "has_archives": { "required": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products\/attributes\/batch" } ] } }, "\/wc\/v2\/products\/categories": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "default": "default", "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products\/categories" } ] } }, "\/wc\/v2\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5206\u985e\u540d\u7a31", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/products\/categories\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5206\u985e\u540d\u7a31", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products\/categories\/batch" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "review": { "required": true, "description": "\u8a55\u8ad6\u5167\u5bb9\u3002", "type": "string" }, "date_created": { "required": false, "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "\u8a55\u50f9\u7684\u5efa\u7acb\u65e5\u671f\uff0c\u4ee5\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593(GMT)\u986f\u793a\u3002", "type": "date-time" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" }, "name": { "required": true, "description": "\u8a55\u8ad6\u8005\u540d\u7a31\u3002", "type": "string" }, "email": { "required": true, "description": "\u8a55\u8ad6\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "review": { "required": false, "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string" }, "date_created": { "required": false, "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "\u8a55\u50f9\u7684\u5efa\u7acb\u65e5\u671f\uff0c\u4ee5\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593(GMT)\u986f\u793a\u3002", "type": "date-time" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" }, "name": { "required": false, "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string" }, "email": { "required": false, "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "review": { "required": false, "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string" }, "date_created": { "required": false, "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "\u8a55\u50f9\u7684\u5efa\u7acb\u65e5\u671f\uff0c\u4ee5\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593(GMT)\u986f\u793a\u3002", "type": "date-time" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" }, "name": { "required": false, "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string" }, "email": { "required": false, "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" } } } ] }, "\/wc\/v2\/products\/shipping_classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products\/shipping_classes" } ] } }, "\/wc\/v2\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/products\/shipping_classes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v2\/products\/tags": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products\/tags" } ] } }, "\/wc\/v2\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/products\/tags\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products\/tags\/batch" } ] } }, "\/wc\/v2\/products": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "menu_order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "featured": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean" }, "category": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "tag": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "shipping_class": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "attribute": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string" }, "attribute_term": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string" }, "in_stock": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u65bc\u5eab\u5b58\u6216\u7f3a\u8ca8\u7522\u54c1\u3002", "type": "boolean" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "type": { "required": false, "default": "simple", "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "default": "publish", "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "default": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "default": "visible", "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": "date-time" }, "virtual": { "required": false, "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "in_stock": { "required": false, "default": true, "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "default": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "default": true, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "grouped_products": { "required": false, "description": "\u540c\u7d44\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": "date-time" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "in_stock": { "required": false, "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "grouped_products": { "required": false, "description": "\u540c\u7d44\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v2\/products\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": "date-time" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "in_stock": { "required": false, "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "grouped_products": { "required": false, "description": "\u540c\u7d44\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/products\/batch" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "menu_order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "featured": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean" }, "category": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "tag": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "shipping_class": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "attribute": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string" }, "attribute_term": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string" }, "in_stock": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u65bc\u5eab\u5b58\u6216\u7f3a\u8ca8\u7522\u54c1\u3002", "type": "boolean" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": "date-time" }, "visible": { "required": false, "default": true, "description": "\u5b9a\u7fa9\u7522\u54c1\u9801\u662f\u5426\u986f\u793a\u8b8a\u5316\u985e\u578b\u3002", "type": "boolean" }, "virtual": { "required": false, "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "mixed" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "in_stock": { "required": false, "default": true, "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": "date-time" }, "visible": { "required": false, "description": "\u5b9a\u7fa9\u7522\u54c1\u9801\u662f\u5426\u986f\u793a\u8b8a\u5316\u985e\u578b\u3002", "type": "boolean" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "mixed" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "in_stock": { "required": false, "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": "date-time" }, "visible": { "required": false, "description": "\u5b9a\u7fa9\u7522\u54c1\u9801\u662f\u5426\u986f\u793a\u8b8a\u5316\u985e\u578b\u3002", "type": "boolean" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "mixed" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "in_stock": { "required": false, "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ] }, "\/wc\/v2\/reports\/sales": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "period": { "required": false, "enum": [ "week", "month", "last_month", "year" ], "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string" }, "date_min": { "required": false, "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" }, "date_max": { "required": false, "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/reports\/sales" } ] } }, "\/wc\/v2\/reports\/top_sellers": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "period": { "required": false, "enum": [ "week", "month", "last_month", "year" ], "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string" }, "date_min": { "required": false, "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" }, "date_max": { "required": false, "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/reports\/top_sellers" } ] } }, "\/wc\/v2\/reports": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/reports" } ] } }, "\/wc\/v2\/settings": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/settings" } ] } }, "\/wc\/v2\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" }, "value": { "required": false, "description": "\u8a2d\u5b9a\u503c\u3002", "type": "mixed" } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "value": { "required": false, "description": "\u8a2d\u5b9a\u503c\u3002", "type": "mixed" } } } ] }, "\/wc\/v2\/shipping\/zones": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u904b\u9001\u5340\u57df\u540d\u7a31", "type": "string" }, "order": { "required": false, "description": "\u904b\u9001\u5340\u57df\u6392\u5e8f\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/shipping\/zones" } ] } }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "name": { "required": false, "description": "\u904b\u9001\u5340\u57df\u540d\u7a31", "type": "string" }, "order": { "required": false, "description": "\u904b\u9001\u5340\u57df\u6392\u5e8f\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "code": { "required": false, "description": "\u904b\u9001\u5340\u57df\u4f4d\u7f6e\u4ee3\u78bc\u3002", "type": "string" }, "type": { "required": false, "enum": [ "postcode", "state", "country", "continent" ], "description": "\u904b\u9001\u5340\u57df\u4f4d\u7f6e\u985e\u578b\u3002", "type": "string" } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "order": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u6392\u5e8f\u3002", "type": "integer" }, "enabled": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u555f\u7528\u72c0\u614b\u3002", "type": "boolean" }, "settings": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u8a2d\u5b9a", "type": "object" }, "method_id": { "required": true, "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002" } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "instance_id": { "required": false, "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "instance_id": { "required": false, "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "order": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u6392\u5e8f\u3002", "type": "integer" }, "enabled": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u555f\u7528\u72c0\u614b\u3002", "type": "boolean" }, "settings": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u8a2d\u5b9a", "type": "object" } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "instance_id": { "required": false, "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v2\/taxes\/classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u7a05\u91d1\u985e\u5225\u540d\u7a31\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/taxes\/classes" } ] } }, "\/wc\/v2\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v2", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "slug": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u4ee3\u7a31\u3002", "type": "string" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/taxes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "order", "enum": [ "id", "order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u4f9d\u7a05\u7387\u985e\u5225.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "default": 1, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "default": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "default": true, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "default": "standard", "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/taxes" } ] } }, "\/wc\/v2\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/taxes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/taxes\/batch" } ] } }, "\/wc\/v2\/webhooks": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "title" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "status": { "required": false, "default": "all", "enum": [ "all", "active", "paused", "disabled" ], "description": "Limit result set to webhooks assigned a specific status.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "default": "active", "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": true, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string" }, "delivery_url": { "required": true, "description": "Webhook delivery URL.", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/webhooks" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": false, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v2\/webhooks\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": false, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/webhooks\/batch" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "required": false, "description": "Webhook \u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "required": false, "description": "Webhook \u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/v2\/system_status": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/system_status" } ] } }, "\/wc\/v2\/system_status\/tools": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/system_status\/tools" } ] } }, "\/wc\/v2\/system_status\/tools\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u5de5\u5177\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "name": { "required": false, "description": "\u5de5\u5177\u540d\u7a31\u3002", "type": "string" }, "action": { "required": false, "description": "\u904b\u884c\u8a72\u5de5\u5177\u5c07\u6703\u505a\u4ec0\u9ebc\u3002", "type": "string" }, "description": { "required": false, "description": "\u5de5\u5177\u63cf\u8ff0\u3002", "type": "string" }, "success": { "required": false, "description": "\u5de5\u5177\u662f\u5426\u6210\u529f\u904b\u884c\uff1f", "type": "boolean" }, "message": { "required": false, "description": "\u5de5\u5177\u56de\u50b3\u8a0a\u606f\u3002", "type": "string" } } } ] }, "\/wc\/v2\/shipping_methods": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/shipping_methods" } ] } }, "\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/v2\/payment_gateways": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v2\/payment_gateways" } ] } }, "\/wc\/v2\/payment_gateways\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "title": { "required": false, "description": "\u7d50\u5e33\u6642\uff0c\u4ed8\u6b3e\u9598\u9053\u7684\u6a19\u984c\u3002", "type": "string" }, "description": { "required": false, "description": "\u7d50\u5e33\u6642\uff0c\u4ed8\u6b3e\u9598\u9053\u7684\u8aaa\u660e\u3002", "type": "string" }, "order": { "required": false, "description": "\u4ed8\u6b3e\u9598\u9053\u65b9\u5f0f\u6392\u5e8f\u9806\u5e8f\u3002", "type": "integer" }, "enabled": { "required": false, "description": "\u4ed8\u6b3e\u9598\u9053\u65b9\u5f0f\u5df2\u555f\u7528\u72c0\u614b\u3002", "type": "boolean" }, "settings": { "required": false, "description": "\u4ed8\u6b3e\u9598\u9053\u8a2d\u5b9a\u3002", "type": "object" } } } ] }, "\/wc\/v3": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wc\/v3" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3" } ] } }, "\/wc\/v3\/coupons": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "code": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u4ee3\u78bc\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "code": { "required": true, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "discount_type": { "required": false, "default": "fixed_cart", "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "date_expires": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "string" }, "date_expires_gmt": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "string" }, "individual_use": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/coupons" } ] } }, "\/wc\/v3\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "code": { "required": false, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "date_expires": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "string" }, "date_expires_gmt": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "string" }, "individual_use": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v3\/coupons\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "required": false, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "date_expires": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "string" }, "date_expires_gmt": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "string" }, "individual_use": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/coupons\/batch" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/v3\/customers": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "registered_date" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "email": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u96fb\u5b50\u90f5\u4ef6\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "role": { "required": false, "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "wpseo_manager", "wpseo_editor" ], "description": "\u900f\u904e\u7279\u5b9a\u89d2\u8272\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "email": { "required": true, "description": "\u65b0\u4f7f\u7528\u8005\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string" }, "first_name": { "required": false, "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string" }, "username": { "required": false, "description": "\u65b0\u4f7f\u7528\u8005\u540d\u7a31", "type": "string" }, "password": { "required": false, "description": "\u65b0\u4f7f\u7528\u8005\u5bc6\u78bc", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object" }, "shipping": { "required": false, "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/customers" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "email": { "required": false, "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string" }, "first_name": { "required": false, "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string" }, "username": { "required": false, "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string" }, "password": { "required": false, "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object" }, "shipping": { "required": false, "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" }, "reassign": { "required": false, "default": 0, "description": "\u91cd\u65b0\u6307\u6d3e\u6587\u7ae0\u7684\u7de8\u865f\u3002", "type": "integer" } } } ] }, "\/wc\/v3\/customers\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "required": false, "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string" }, "first_name": { "required": false, "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string" }, "username": { "required": false, "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string" }, "password": { "required": false, "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object" }, "shipping": { "required": false, "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/customers\/batch" } ] } }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "type": { "required": false, "default": "any", "enum": [ "any", "customer", "internal" ], "description": "\u9650\u5236\u5ba2\u6236\u6216\u5167\u90e8\u8a18\u9304\u7684\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "note": { "required": true, "description": "\u8a02\u55ae\u5099\u8a3b\u7684\u5167\u5bb9", "type": "string" }, "customer_note": { "required": false, "default": false, "description": "\u5176\u503c\u70ba true \u6642\uff0c\u5c07\u6703\u5411\u9867\u5ba2\u986f\u793a\u5099\u8a3b\uff0c\u9867\u5ba2\u4fbf\u6703\u6536\u5230\u901a\u77e5\u3002\u5176\u503c\u70ba false \u6642\uff0c\u5099\u8a3b\u5c07\u50c5\u4f9b\u7ba1\u7406\u54e1\u53c3\u8003\u3002", "type": "boolean" }, "added_by_user": { "required": false, "default": false, "description": "\u5176\u503c\u70ba true \u6642\uff0c\u6b64\u5099\u8a3b\u5c07\u6b78\u65bc\u76ee\u524d\u7684\u4f7f\u7528\u8005\u3002\u5176\u503c\u70ba false \u6642\uff0c\u6b64\u5099\u8a3b\u5c07\u6b78\u65bc\u7cfb\u7d71\u3002", "type": "boolean" } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "dp": { "required": false, "default": 2, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "amount": { "required": false, "description": "\u9000\u6b3e\u91d1\u984d\u3002", "type": "string" }, "reason": { "required": false, "description": "\u7533\u8acb\u539f\u56e0\u3002", "type": "string" }, "refunded_by": { "required": false, "description": "\u4f7f\u7528\u8005\u9000\u6b3e\u5f8c\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "api_refund": { "required": false, "default": true, "description": "\u5982\u679c\u6b63\u78ba\uff0c\u4ed8\u6b3e\u9598\u9053 API \u53ef\u7528\u65bc\u8655\u7406\u9000\u6b3e\u3002", "type": "boolean" } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "required": false, "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": true, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/orders": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "status": { "required": false, "default": "any", "description": "\u9650\u5236\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u8a2d\u5b9a\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ] } }, "customer": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "product": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "dp": { "required": false, "default": 2, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "default": "pending", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "default": "USD", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "default": 0, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "default": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/orders" } ] } }, "\/wc\/v3\/orders\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v3\/orders\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/orders\/batch" } ] } }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ] }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "name": { "required": false, "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "required": false, "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "name": { "required": false, "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ] }, "\/wc\/v3\/products\/attributes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "type": { "required": false, "default": "select", "enum": [ "select" ], "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string" }, "order_by": { "required": false, "default": "menu_order", "enum": [ "menu_order", "name", "name_num", "id" ], "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string" }, "has_archives": { "required": false, "default": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/attributes" } ] } }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "type": { "required": false, "enum": [ "select" ], "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string" }, "order_by": { "required": false, "enum": [ "menu_order", "name", "name_num", "id" ], "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string" }, "has_archives": { "required": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": true, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/products\/attributes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "type": { "required": false, "enum": [ "select" ], "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string" }, "order_by": { "required": false, "enum": [ "menu_order", "name", "name_num", "id" ], "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string" }, "has_archives": { "required": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/attributes\/batch" } ] } }, "\/wc\/v3\/products\/categories": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "default": "default", "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/categories" } ] } }, "\/wc\/v3\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5206\u985e\u540d\u7a31", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/products\/categories\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5206\u985e\u540d\u7a31", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/categories\/batch" } ] } }, "\/wc\/v3\/products\/reviews": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u767c\u4f48\u7684\u8a55\u8ad6\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "reviewer": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7d66\u7279\u5b9a\u4f7f\u7528\u8005 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" } }, "reviewer_exclude": { "required": false, "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u7d66\u7279\u5b9a\u4f7f\u7528\u8005 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" } }, "reviewer_email": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u4f86\u81ea\u7279\u5b9a\u4f5c\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" }, "product": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" } }, "status": { "required": false, "default": "approved", "enum": [ "all", "hold", "approved", "spam", "trash" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u7684\u8a55\u8ad6\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": true, "description": "\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "status": { "required": false, "default": "approved", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string" }, "reviewer": { "required": true, "description": "\u8a55\u8ad6\u8005\u540d\u7a31\u3002", "type": "string" }, "reviewer_email": { "required": true, "description": "\u8a55\u8ad6\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" }, "review": { "required": true, "description": "\u8a55\u8ad6\u5167\u5bb9\u3002", "type": "string" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/reviews" } ] } }, "\/wc\/v3\/products\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "product_id": { "required": false, "description": "\u8a55\u8ad6\u6240\u5c6c\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string" }, "reviewer": { "required": false, "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string" }, "reviewer_email": { "required": false, "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" }, "review": { "required": false, "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v3\/products\/reviews\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u8a55\u8ad6\u6240\u5c6c\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string" }, "reviewer": { "required": false, "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string" }, "reviewer_email": { "required": false, "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" }, "review": { "required": false, "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/reviews\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/shipping_classes" } ] } }, "\/wc\/v3\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/products\/shipping_classes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v3\/products\/tags": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/tags" } ] } }, "\/wc\/v3\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/products\/tags\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/tags\/batch" } ] } }, "\/wc\/v3\/products": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "menu_order", "price", "popularity", "rating" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "featured": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean" }, "category": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "tag": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "shipping_class": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "attribute": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string" }, "attribute_term": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "date_created": { "required": false, "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "type": { "required": false, "default": "simple", "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "default": "publish", "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "default": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "default": "visible", "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "virtual": { "required": false, "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "default": "instock", "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "default": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "default": true, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "date_created": { "required": false, "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v3\/products\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "date_created": { "required": false, "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/products\/batch" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "menu_order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "status": { "required": false, "default": "publish", "enum": [ "draft", "pending", "private", "publish" ], "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string" }, "virtual": { "required": false, "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "default": "instock", "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ] }, "\/wc\/v3\/reports\/sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "period": { "required": false, "enum": [ "week", "month", "last_month", "year" ], "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string" }, "date_min": { "required": false, "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" }, "date_max": { "required": false, "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/reports\/sales" } ] } }, "\/wc\/v3\/reports\/top_sellers": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "period": { "required": false, "enum": [ "week", "month", "last_month", "year" ], "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string" }, "date_min": { "required": false, "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" }, "date_max": { "required": false, "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/reports\/top_sellers" } ] } }, "\/wc\/v3\/reports\/orders\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/reports\/orders\/totals" } ] } }, "\/wc\/v3\/reports\/products\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/reports\/products\/totals" } ] } }, "\/wc\/v3\/reports\/customers\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/reports\/customers\/totals" } ] } }, "\/wc\/v3\/reports\/coupons\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/reports\/coupons\/totals" } ] } }, "\/wc\/v3\/reports\/reviews\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/reports\/reviews\/totals" } ] } }, "\/wc\/v3\/reports": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/reports" } ] } }, "\/wc\/v3\/settings": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/settings" } ] } }, "\/wc\/v3\/settings\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/settings\/batch" } ] } }, "\/wc\/v3\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" }, "value": { "required": false, "description": "\u8a2d\u5b9a\u503c\u3002", "type": "mixed" } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "value": { "required": false, "description": "\u8a2d\u5b9a\u503c\u3002", "type": "mixed" } } } ] }, "\/wc\/v3\/shipping\/zones": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u904b\u9001\u5340\u57df\u540d\u7a31", "type": "string" }, "order": { "required": false, "description": "\u904b\u9001\u5340\u57df\u6392\u5e8f\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/shipping\/zones" } ] } }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "name": { "required": false, "description": "\u904b\u9001\u5340\u57df\u540d\u7a31", "type": "string" }, "order": { "required": false, "description": "\u904b\u9001\u5340\u57df\u6392\u5e8f\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "code": { "required": false, "description": "\u904b\u9001\u5340\u57df\u4f4d\u7f6e\u4ee3\u78bc\u3002", "type": "string" }, "type": { "required": false, "enum": [ "postcode", "state", "country", "continent" ], "description": "\u904b\u9001\u5340\u57df\u4f4d\u7f6e\u985e\u578b\u3002", "type": "string" } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "order": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u6392\u5e8f\u3002", "type": "integer" }, "enabled": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u555f\u7528\u72c0\u614b\u3002", "type": "boolean" }, "settings": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u8a2d\u5b9a", "type": "object" }, "method_id": { "required": true, "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002" } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "instance_id": { "required": false, "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "instance_id": { "required": false, "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "order": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u6392\u5e8f\u3002", "type": "integer" }, "enabled": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u555f\u7528\u72c0\u614b\u3002", "type": "boolean" }, "settings": { "required": false, "description": "\u904b\u9001\u65b9\u5f0f\u8a2d\u5b9a", "type": "object" } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "required": false, "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "instance_id": { "required": false, "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc\/v3\/taxes\/classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u7a05\u91d1\u985e\u5225\u540d\u7a31\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/taxes\/classes" } ] } }, "\/wc\/v3\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "slug": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u4ee3\u7a31\u3002", "type": "string" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/taxes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "order", "enum": [ "id", "order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u4f9d\u7a05\u7387\u985e\u5225.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "default": 1, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "default": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "default": true, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "default": "standard", "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/taxes" } ] } }, "\/wc\/v3\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/taxes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/taxes\/batch" } ] } }, "\/wc\/v3\/webhooks": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "title" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "status": { "required": false, "default": "all", "enum": [ "all", "active", "paused", "disabled" ], "description": "Limit result set to webhooks assigned a specific status.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "default": "active", "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": true, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string" }, "delivery_url": { "required": true, "description": "Webhook delivery URL.", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/webhooks" } ] } }, "\/wc\/v3\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": false, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc\/v3\/webhooks\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": false, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/webhooks\/batch" } ] } }, "\/wc\/v3\/system_status": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/system_status" } ] } }, "\/wc\/v3\/system_status\/tools": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/system_status\/tools" } ] } }, "\/wc\/v3\/system_status\/tools\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u5de5\u5177\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "name": { "required": false, "description": "\u5de5\u5177\u540d\u7a31\u3002", "type": "string" }, "action": { "required": false, "description": "\u904b\u884c\u8a72\u5de5\u5177\u5c07\u6703\u505a\u4ec0\u9ebc\u3002", "type": "string" }, "description": { "required": false, "description": "\u5de5\u5177\u63cf\u8ff0\u3002", "type": "string" }, "success": { "required": false, "description": "\u5de5\u5177\u662f\u5426\u6210\u529f\u904b\u884c\uff1f", "type": "boolean" }, "message": { "required": false, "description": "\u5de5\u5177\u56de\u50b3\u8a0a\u606f\u3002", "type": "string" } } } ] }, "\/wc\/v3\/shipping_methods": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/shipping_methods" } ] } }, "\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wc\/v3\/payment_gateways": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/payment_gateways" } ] } }, "\/wc\/v3\/payment_gateways\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "title": { "required": false, "description": "\u7d50\u5e33\u6642\uff0c\u4ed8\u6b3e\u9598\u9053\u7684\u6a19\u984c\u3002", "type": "string" }, "description": { "required": false, "description": "\u7d50\u5e33\u6642\uff0c\u4ed8\u6b3e\u9598\u9053\u7684\u8aaa\u660e\u3002", "type": "string" }, "order": { "required": false, "description": "\u4ed8\u6b3e\u9598\u9053\u65b9\u5f0f\u6392\u5e8f\u9806\u5e8f\u3002", "type": "integer" }, "enabled": { "required": false, "description": "\u4ed8\u6b3e\u9598\u9053\u65b9\u5f0f\u5df2\u555f\u7528\u72c0\u614b\u3002", "type": "boolean" }, "settings": { "required": false, "description": "\u4ed8\u6b3e\u9598\u9053\u8a2d\u5b9a\u3002", "type": "object" } } } ] }, "\/wc\/v3\/data": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/data" } ] } }, "\/wc\/v3\/data\/continents": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/data\/continents" } ] } }, "\/wc\/v3\/data\/continents\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "continent": { "required": false, "description": "2 \u5b57\u5143\u6d32\u78bc\u3002", "type": "string" } } } ] }, "\/wc\/v3\/data\/countries": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/data\/countries" } ] } }, "\/wc\/v3\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "required": false, "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string" } } } ] }, "\/wc\/v3\/data\/currencies": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/data\/currencies" } ] } }, "\/wc\/v3\/data\/currencies\/current": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc\/v3\/data\/currencies\/current" } ] } }, "\/wc\/v3\/data\/currencies\/(?P[\\w-]{3})": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "required": false, "description": "ISO4217 \u8ca8\u5e63\u4ee3\u78bc\u3002", "type": "string" } } } ] }, "\/wccom-site\/v1": { "namespace": "wccom-site\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wccom-site\/v1" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wccom-site\/v1" } ] } }, "\/wccom-site\/v1\/installer": { "namespace": "wccom-site\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "products": { "required": true, "type": "object" } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wccom-site\/v1\/installer" } ] } }, "\/wc-analytics": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wc-analytics" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics" } ] } }, "\/wc-analytics\/admin\/notes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "type": { "required": false, "description": "\u5099\u8a3b\u985e\u578b\u3002", "type": "array", "items": { "enum": [ "error", "warning", "update", "info" ], "type": "string" } }, "status": { "required": false, "description": "\u5099\u8a3b\u72c0\u614b\u3002", "type": "array", "items": { "enum": [ "actioned", "unactioned", "snoozed" ], "type": "string" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/admin\/notes" } ] } }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" } } } ] }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)\/action\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "note_id": { "required": false, "description": "\u5099\u8a3b\u7684\u552f\u4e00 ID\u3002", "type": "integer" }, "action_id": { "required": false, "description": "\u5099\u8a3b\u52d5\u4f5c\u7684\u552f\u4e00 ID\u3002", "type": "integer" } } } ] }, "\/wc-analytics\/coupons": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u4ee3\u78bc\u7b26\u5408\u6307\u5b9a\u5b57\u4e32\u7684\u512a\u60e0\u5238\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "code": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u4ee3\u78bc\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "code": { "required": true, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "discount_type": { "required": false, "default": "fixed_cart", "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "date_expires": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "string" }, "date_expires_gmt": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "string" }, "individual_use": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "default": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/coupons" } ] } }, "\/wc-analytics\/coupons\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "code": { "required": false, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "date_expires": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "string" }, "date_expires_gmt": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "string" }, "individual_use": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc-analytics\/coupons\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "required": false, "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string" }, "amount": { "required": false, "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string" }, "description": { "required": false, "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string" }, "date_expires": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "string" }, "date_expires_gmt": { "required": false, "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "string" }, "individual_use": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean" }, "product_ids": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer" }, "free_shipping": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean" }, "product_categories": { "required": false, "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean" }, "minimum_amount": { "required": false, "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string" }, "maximum_amount": { "required": false, "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string" }, "email_restrictions": { "required": false, "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/coupons\/batch" } ] } }, "\/wc-analytics\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "registered_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string" }, "registered_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u4e4b\u5f8c\u767c\u4f48\u8a02\u55ae\u7684\u8cc7\u6e90\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u4e4b\u524d\u767c\u4f48\u8a02\u55ae\u7684\u8cc7\u6e90\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "match": { "required": false, "default": "all", "enum": [ "all", "any" ], "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string" }, "search": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u9867\u5ba2\u6b04\u4f4d\u5305\u542b\u641c\u5c0b\u5b57\u8a5e\u7684\u7269\u4ef6\u3002\u641c\u5c0b\u300csearchby\u300d\u63d0\u4f9b\u7684\u6b04\u4f4d\u3002", "type": "string" }, "searchby": { "required": false, "default": "name", "enum": [ "name", "username", "email" ], "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string" }, "name_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "name_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "username_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u4f7f\u7528\u8005\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "username_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u4f7f\u7528\u8005\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "email_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5305\u542b\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string" }, "email_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string" }, "country_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u570b\u5bb6\/\u5730\u5340\u7684\u7269\u4ef6\u3002", "type": "string" }, "country_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u570b\u5bb6\/\u5730\u5340\u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array" }, "registered_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array" }, "orders_count_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer" }, "orders_count_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer" }, "orders_count_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6574\u6578\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "total_spend_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "total_spend_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "total_spend_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "avg_order_value_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "avg_order_value_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "avg_order_value_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "last_order_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string" }, "last_order_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string" }, "include": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/customers" } ] } }, "\/wc-analytics\/customers\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "registered_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string" }, "registered_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u4e4b\u5f8c\u767c\u4f48\u8a02\u55ae\u7684\u8cc7\u6e90\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u4e4b\u524d\u767c\u4f48\u8a02\u55ae\u7684\u8cc7\u6e90\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "match": { "required": false, "default": "all", "enum": [ "all", "any" ], "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string" }, "search": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u9867\u5ba2\u6b04\u4f4d\u5305\u542b\u641c\u5c0b\u5b57\u8a5e\u7684\u7269\u4ef6\u3002\u641c\u5c0b\u300csearchby\u300d\u63d0\u4f9b\u7684\u6b04\u4f4d\u3002", "type": "string" }, "searchby": { "required": false, "default": "name", "enum": [ "name", "username", "email" ], "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string" }, "name_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "name_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "username_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u4f7f\u7528\u8005\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "username_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u4f7f\u7528\u8005\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "email_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5305\u542b\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string" }, "email_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string" }, "country_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u570b\u5bb6\/\u5730\u5340\u7684\u7269\u4ef6\u3002", "type": "string" }, "country_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u570b\u5bb6\/\u5730\u5340\u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array" }, "registered_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array" }, "orders_count_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer" }, "orders_count_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer" }, "orders_count_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6574\u6578\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "total_spend_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "total_spend_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "total_spend_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "avg_order_value_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "avg_order_value_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "avg_order_value_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "last_order_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string" }, "last_order_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string" }, "include": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } } } } ] }, "\/wc-analytics\/data": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/data" } ] } }, "\/wc-analytics\/data\/countries": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/data\/countries" } ] } }, "\/wc-analytics\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "required": false, "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string" } } } ] }, "\/wc-analytics\/data\/download-ips": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/data\/download-ips" } ] } }, "\/wc-analytics\/leaderboards": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 5, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "persisted_query": { "required": false, "description": "\u5728\u9023\u7d50\u4e4b\u9593\u4fdd\u5b58\u7684\u7db2\u5740\u67e5\u8a62\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/leaderboards" } ] } }, "\/wc-analytics\/leaderboards\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/leaderboards\/allowed" } ] } }, "\/wc-admin": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wc-admin" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin" } ] } }, "\/wc-admin\/marketing\/overview\/activate-plugin": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "plugin": { "required": true, "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/marketing\/overview\/activate-plugin" } ] } }, "\/wc-admin\/marketing\/overview\/recommended": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/marketing\/overview\/recommended" } ] } }, "\/wc-admin\/marketing\/overview\/installed-plugins": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/marketing\/overview\/installed-plugins" } ] } }, "\/wc-admin\/marketing\/overview\/knowledge-base": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/marketing\/overview\/knowledge-base" } ] } }, "\/wc-admin\/options": { "namespace": "wc-admin", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/options" } ] } }, "\/wc-analytics\/orders": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u9650\u5236\u7b26\u5408\u5b57\u4e32\u7684\u9805\u76ee\u7d50\u679c\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "status": { "required": false, "default": [ "any" ], "description": "\u9650\u5236\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u8a2d\u5b9a\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ] } }, "customer": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "product": { "required": false, "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer" }, "dp": { "required": false, "default": 2, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer" }, "number": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u7b26\u5408\u90e8\u5206\u8a02\u55ae\u865f\u78bc\u7684\u8a02\u55ae\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "default": "pending", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "default": "USD", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "default": 0, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "default": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/orders" } ] } }, "\/wc-analytics\/orders\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc-analytics\/orders\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "required": false, "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string" }, "customer_id": { "required": false, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer" }, "customer_note": { "required": false, "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string" }, "billing": { "required": false, "description": "\u5e33\u55ae\u5730\u5740.", "type": "object" }, "shipping": { "required": false, "description": "\u904b\u9001\u5730\u5740.", "type": "object" }, "payment_method": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string" }, "payment_method_title": { "required": false, "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string" }, "transaction_id": { "required": false, "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/orders\/batch" } ] } }, "\/wc-analytics\/products": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u4f9d\u985e\u4f3c\u7522\u54c1\u540d\u7a31\u6216 SKU \u641c\u5c0b\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "menu_order", "price", "popularity", "rating" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "featured": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean" }, "category": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "tag": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "shipping_class": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "attribute": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string" }, "attribute_term": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string" }, "low_in_stock": { "required": false, "default": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5eab\u5b58\u4e0d\u8db3\u6216\u6c92\u6709\u5eab\u5b58\u7684\u7522\u54c1\u3002", "type": "boolean" } } }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "date_created": { "required": false, "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "type": { "required": false, "default": "simple", "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "default": "publish", "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "default": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "default": "visible", "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "virtual": { "required": false, "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "default": "instock", "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "default": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "default": true, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/products" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "date_created": { "required": false, "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc-analytics\/products\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string" }, "date_created": { "required": false, "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish", "future" ], "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string" }, "featured": { "required": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string" }, "description": { "required": false, "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string" }, "short_description": { "required": false, "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "external_url": { "required": false, "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "button_text": { "required": false, "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "sold_individually": { "required": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean" }, "weight": { "required": false, "description": "\u5546\u54c1\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "reviews_allowed": { "required": false, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean" }, "upsell_ids": { "required": false, "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "purchase_note": { "required": false, "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/products\/batch" } ] } }, "\/wc-analytics\/products\/categories": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "product": { "required": false, "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "default": "default", "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/products\/categories" } ] } }, "\/wc-analytics\/products\/categories\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "\u5206\u985e\u540d\u7a31", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc-analytics\/products\/categories\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "\u5206\u985e\u540d\u7a31", "type": "string" }, "slug": { "required": false, "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string" }, "image": { "required": false, "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object" }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/products\/categories\/batch" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u4f9d\u985e\u4f3c\u7522\u54c1\u540d\u7a31\u6216 SKU \u641c\u5c0b\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "menu_order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "status": { "required": false, "default": "publish", "enum": [ "draft", "pending", "private", "publish" ], "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string" }, "virtual": { "required": false, "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "default": "instock", "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "name": { "required": false, "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string" }, "type": { "required": false, "default": "variation", "enum": [ "variation" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "search": { "required": false, "description": "\u4f9d\u985e\u4f3c\u7522\u54c1\u540d\u7a31\u6216 SKU \u641c\u5c0b\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "menu_order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "sku": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string" }, "on_sale": { "required": false, "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean" }, "min_price": { "required": false, "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "max_price": { "required": false, "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "status": { "required": false, "default": "publish", "enum": [ "draft", "pending", "private", "publish" ], "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string" }, "virtual": { "required": false, "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "default": "instock", "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "name": { "required": false, "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string" }, "type": { "required": false, "default": "variation", "enum": [ "variation" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "name": { "required": false, "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string" }, "type": { "required": false, "enum": [ "variation" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } }, { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "name": { "required": false, "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string" }, "type": { "required": false, "enum": [ "variation" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "name": { "required": false, "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string" }, "type": { "required": false, "enum": [ "variation" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer" }, "description": { "required": false, "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "required": false, "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string" }, "regular_price": { "required": false, "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "required": false, "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": "date-time" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string" }, "virtual": { "required": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "required": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "required": false, "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "required": false, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string" }, "tax_class": { "required": false, "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "required": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean" }, "stock_quantity": { "required": false, "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string" }, "weight": { "required": false, "description": "\u8b8a\u6578\u91cd\u91cf (kg)\u3002", "type": "string" }, "dimensions": { "required": false, "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object" }, "shipping_class": { "required": false, "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "required": false, "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object" }, "attributes": { "required": false, "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": "mixed", "context": [ "view", "edit" ] } } } }, "name": { "required": false, "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string" }, "type": { "required": false, "enum": [ "variation" ], "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string" }, "parent_id": { "required": false, "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" } } } ] }, "\/wc-analytics\/products\/reviews": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u767c\u4f48\u7684\u8a55\u8ad6\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "reviewer": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7d66\u7279\u5b9a\u4f7f\u7528\u8005 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" } }, "reviewer_exclude": { "required": false, "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u7d66\u7279\u5b9a\u4f7f\u7528\u8005 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" } }, "reviewer_email": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u4f86\u81ea\u7279\u5b9a\u4f5c\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" }, "product": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" } }, "status": { "required": false, "default": "approved", "enum": [ "all", "hold", "approved", "spam", "trash" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u7684\u8a55\u8ad6\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": true, "description": "\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "status": { "required": false, "default": "approved", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string" }, "reviewer": { "required": true, "description": "\u8a55\u8ad6\u8005\u540d\u7a31\u3002", "type": "string" }, "reviewer_email": { "required": true, "description": "\u8a55\u8ad6\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" }, "review": { "required": true, "description": "\u8a55\u8ad6\u5167\u5bb9\u3002", "type": "string" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/products\/reviews" } ] } }, "\/wc-analytics\/products\/reviews\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "product_id": { "required": false, "description": "\u8a55\u8ad6\u6240\u5c6c\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string" }, "reviewer": { "required": false, "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string" }, "reviewer_email": { "required": false, "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" }, "review": { "required": false, "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wc-analytics\/products\/reviews\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "\u8a55\u8ad6\u6240\u5c6c\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "status": { "required": false, "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string" }, "reviewer": { "required": false, "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string" }, "reviewer_email": { "required": false, "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string" }, "review": { "required": false, "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string" }, "rating": { "required": false, "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/products\/reviews\/batch" } ] } }, "\/wc-analytics\/reports": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports" } ] } }, "\/wc-analytics\/settings\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" }, "value": { "required": false, "description": "\u8a2d\u5b9a\u503c\u3002", "type": "mixed" } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "required": false, "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "value": { "required": false, "description": "\u8a2d\u5b9a\u503c\u3002", "type": "mixed" } } } ] }, "\/wc-analytics\/reports\/import": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "days": { "required": false, "description": "\u532f\u5165\u6240\u9700\u5929\u6578\u3002", "type": "integer" }, "skip_existing": { "required": false, "default": false, "description": "\u7565\u904e\u73fe\u6709\u8a02\u55ae\u8cc7\u6599\u7684\u532f\u5165\u4f5c\u696d\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import" } ] } }, "\/wc-analytics\/reports\/import\/cancel": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import\/cancel" } ] } }, "\/wc-analytics\/reports\/import\/delete": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import\/delete" } ] } }, "\/wc-analytics\/reports\/import\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import\/status" } ] } }, "\/wc-analytics\/reports\/import\/totals": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "days": { "required": false, "description": "\u532f\u5165\u6240\u9700\u5929\u6578\u3002", "type": "integer" }, "skip_existing": { "required": false, "default": false, "description": "\u7565\u904e\u73fe\u6709\u8a02\u55ae\u8cc7\u6599\u7684\u532f\u5165\u4f5c\u696d\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import\/totals" } ] } }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "report_args": { "required": false, "description": "\u50b3\u81f3\u532f\u51fa\u5831\u544a\u7684\u53c3\u6578\u3002", "type": "object" }, "email": { "required": false, "description": "\u5982\u679c\u70ba\u771f\uff0c\u8acb\u900f\u904e\u96fb\u5b50\u90f5\u4ef6\u50b3\u9001\u532f\u51fa\u4e0b\u8f09\u9023\u7d50\u7d66\u63d0\u51fa\u8981\u6c42\u7684\u4f7f\u7528\u8005\u3002", "type": "boolean" } } } ] }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export\/(?P[a-z0-9]+)\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-analytics\/reports\/products": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "product_name", "variations", "sku" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u6307\u5b9a\u5206\u985e\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "match": { "required": false, "default": "all", "enum": [ "all", "any" ], "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string" }, "products": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u7522\u54c1 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "extended_info": { "required": false, "default": false, "description": "\u5c07\u6bcf\u500b\u7522\u54c1\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/products" } ] } }, "\/wc-analytics\/reports\/variations": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "sku" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "products": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u7522\u54c1 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "variations": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u5b50\u9805 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "extended_info": { "required": false, "default": false, "description": "\u5c07\u6bcf\u500b\u7522\u54c1\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/variations" } ] } }, "\/wc-analytics\/reports\/products\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "interval": { "required": false, "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u6307\u5b9a\u5206\u985e\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "products": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u7522\u54c1 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "variations": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u5b50\u9805 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "segmentby": { "required": false, "enum": [ "product", "category", "variation" ], "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string" }, "fields": { "required": false, "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/products\/stats" } ] } }, "\/wc-analytics\/reports\/revenue\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "total_sales", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold", "gross_sales" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "interval": { "required": false, "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string" }, "segmentby": { "required": false, "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/revenue\/stats" } ] } }, "\/wc-analytics\/reports\/orders": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "num_items_sold", "net_total" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "product_includes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "product_excludes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "coupon_includes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u512a\u60e0\u5238\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "coupon_excludes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u512a\u60e0\u5238\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "tax_rate_includes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "tax_rate_excludes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "status_is": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "type": "string" } }, "status_is_not": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "type": "string" } }, "customer_type": { "required": false, "default": "", "enum": [ "", "returning", "new" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u8001\u9867\u5ba2\u6216\u65b0\u9867\u5ba2\u3002", "type": "string" }, "refunds": { "required": false, "default": "", "enum": [ "", "all", "partial", "full", "none" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u9000\u6b3e\u985e\u578b\u3002", "type": "string" }, "extended_info": { "required": false, "default": false, "description": "\u5c07\u6bcf\u500b\u512a\u60e0\u5238\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean" }, "order_includes": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "order_excludes": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/orders" } ] } }, "\/wc-analytics\/reports\/orders\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "net_revenue", "orders_count", "avg_order_value" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "interval": { "required": false, "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string" }, "match": { "required": false, "default": "all", "enum": [ "all", "any" ], "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string" }, "status_is": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "type": "string" } }, "status_is_not": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "type": "string" } }, "product_includes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "product_excludes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "coupon_includes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u512a\u60e0\u5238\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "coupon_excludes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u512a\u60e0\u5238\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "tax_rate_includes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "tax_rate_excludes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "customer": { "required": false, "enum": [ "new", "returning" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u512a\u60e0\u5238\u7684\u9805\u76ee\u3002", "type": "string" }, "refunds": { "required": false, "default": "", "enum": [ "", "all", "partial", "full", "none" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u9000\u6b3e\u985e\u578b\u3002", "type": "string" }, "segmentby": { "required": false, "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string" }, "fields": { "required": false, "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/orders\/stats" } ] } }, "\/wc-analytics\/reports\/categories": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "category_id", "enum": [ "category_id", "items_sold", "net_revenue", "orders_count", "products_count", "category" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "interval": { "required": false, "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string" }, "status_is": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "type": "string" } }, "status_is_not": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "type": "string" } }, "categories": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u985e\u5225\u5206\u985e\u6cd5\u4e2d\u6240\u6709\u7372\u6d3e\u6307\u5b9a\u5b57\u8a5e\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "extended_info": { "required": false, "default": false, "description": "\u5c07\u5404\u985e\u5225\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/categories" } ] } }, "\/wc-analytics\/reports\/taxes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "tax_rate_id", "enum": [ "name", "tax_rate_id", "tax_code", "rate", "order_tax", "total_tax", "shipping_tax", "orders_count" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "taxes": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u7372\u6d3e\u4e00\u500b\u6216\u591a\u500b\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "string" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/taxes" } ] } }, "\/wc-analytics\/reports\/taxes\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "items_sold", "total_sales", "orders_count", "products_count" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "interval": { "required": false, "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string" }, "taxes": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u7a05\u91d1\u5206\u985e\u6cd5\u4e2d\u6240\u6709\u7372\u6d3e\u6307\u5b9a\u5b57\u8a5e\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "segmentby": { "required": false, "enum": [ "tax_rate_id" ], "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string" }, "fields": { "required": false, "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/taxes\/stats" } ] } }, "\/wc-analytics\/reports\/coupons": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "coupon_id", "enum": [ "coupon_id", "code", "amount", "orders_count" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "coupons": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u7279\u5b9a\u512a\u60e0\u5238 ID \u7684\u512a\u60e0\u5238\u3002", "type": "array", "items": { "type": "integer" } }, "extended_info": { "required": false, "default": false, "description": "\u5c07\u6bcf\u500b\u512a\u60e0\u5238\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/coupons" } ] } }, "\/wc-analytics\/reports\/coupons\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "amount", "coupons_count", "orders_count" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "interval": { "required": false, "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string" }, "coupons": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u7279\u5b9a\u512a\u60e0\u5238 ID \u7684\u512a\u60e0\u5238\u3002", "type": "array", "items": { "type": "integer" } }, "segmentby": { "required": false, "enum": [ "product", "variation", "category", "coupon" ], "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string" }, "fields": { "required": false, "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/coupons\/stats" } ] } }, "\/wc-analytics\/reports\/stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "stock_status", "enum": [ "stock_status", "stock_quantity", "date", "id", "include", "title", "sku" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u9650\u5236\u6392\u9664\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u6240\u6709\u9805\u76ee\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" } }, "type": { "required": false, "default": "all", "enum": [ "all", "lowstock", "instock", "outofstock", "onbackorder" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u7372\u6d3e\u5eab\u5b58\u5831\u544a\u985e\u578b\u7684\u9805\u76ee\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/stock" } ] } }, "\/wc-analytics\/reports\/stock\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/stock\/stats" } ] } }, "\/wc-analytics\/reports\/downloads": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "product" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "match": { "required": false, "default": "all", "enum": [ "all", "any" ], "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1aproducts, orders, username, ip_address.", "type": "string" }, "product_includes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "product_excludes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "order_includes": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "order_excludes": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "customer_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" } }, "customer_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" } }, "ip_address_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6709\u6307\u5b9a IP \u4f4d\u5740\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" } }, "ip_address_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a IP \u4f4d\u5740\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/downloads" } ] } }, "\/wc-analytics\/reports\/downloads\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "download_count" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "interval": { "required": false, "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string" }, "match": { "required": false, "default": "all", "enum": [ "all", "any" ], "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string" }, "product_includes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "product_excludes": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "order_includes": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "order_excludes": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "customer_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" } }, "customer_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" } }, "ip_address_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6709\u6307\u5b9a IP \u4f4d\u5740\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" } }, "ip_address_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a IP \u4f4d\u5740\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" } }, "fields": { "required": false, "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/downloads\/stats" } ] } }, "\/wc-analytics\/reports\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "registered_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string" }, "registered_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u4e4b\u5f8c\u767c\u4f48\u8a02\u55ae\u7684\u8cc7\u6e90\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u4e4b\u524d\u767c\u4f48\u8a02\u55ae\u7684\u8cc7\u6e90\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "match": { "required": false, "default": "all", "enum": [ "all", "any" ], "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string" }, "search": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u9867\u5ba2\u6b04\u4f4d\u5305\u542b\u641c\u5c0b\u5b57\u8a5e\u7684\u7269\u4ef6\u3002\u641c\u5c0b\u300csearchby\u300d\u63d0\u4f9b\u7684\u6b04\u4f4d\u3002", "type": "string" }, "searchby": { "required": false, "default": "name", "enum": [ "name", "username", "email" ], "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string" }, "name_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "name_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "username_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u4f7f\u7528\u8005\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "username_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u4f7f\u7528\u8005\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "email_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5305\u542b\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string" }, "email_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string" }, "country_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u570b\u5bb6\/\u5730\u5340\u7684\u7269\u4ef6\u3002", "type": "string" }, "country_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u570b\u5bb6\/\u5730\u5340\u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array" }, "registered_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array" }, "orders_count_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer" }, "orders_count_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer" }, "orders_count_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6574\u6578\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "total_spend_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "total_spend_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "total_spend_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "avg_order_value_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "avg_order_value_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "avg_order_value_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "last_order_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string" }, "last_order_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string" }, "customers": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/customers" } ] } }, "\/wc-analytics\/reports\/customers\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "registered_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string" }, "registered_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string" }, "match": { "required": false, "default": "all", "enum": [ "all", "any" ], "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string" }, "search": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u9867\u5ba2\u6b04\u4f4d\u5305\u542b\u641c\u5c0b\u5b57\u8a5e\u7684\u7269\u4ef6\u3002\u641c\u5c0b\u300csearchby\u300d\u63d0\u4f9b\u7684\u6b04\u4f4d\u3002", "type": "string" }, "searchby": { "required": false, "default": "name", "enum": [ "name", "username", "email" ], "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string" }, "name_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "name_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "username_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u4f7f\u7528\u8005\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "username_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u4f7f\u7528\u8005\u540d\u7a31\u7684\u7269\u4ef6\u3002", "type": "string" }, "email_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5305\u542b\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string" }, "email_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string" }, "country_includes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u570b\u5bb6\/\u5730\u5340\u7684\u7269\u4ef6\u3002", "type": "string" }, "country_excludes": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u7279\u5b9a\u570b\u5bb6\/\u5730\u5340\u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string" }, "last_active_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array" }, "registered_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array" }, "orders_count_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer" }, "orders_count_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer" }, "orders_count_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6574\u6578\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "total_spend_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "total_spend_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "total_spend_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "avg_order_value_min": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "avg_order_value_max": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number" }, "avg_order_value_between": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array" }, "last_order_before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string" }, "last_order_after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string" }, "customers": { "required": false, "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "fields": { "required": false, "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/customers\/stats" } ] } }, "\/wc-analytics\/taxes": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u9762\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u5728\u7d50\u679c\u96c6\u4e2d\u5fc5\u9808\u50b3\u56de\u7684\u6700\u5927\u9805\u76ee\u6578\u3002", "type": "integer" }, "offset": { "required": false, "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u8a2d\u5b9a\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u4f86\u6392\u5e8f\u8a02\u55ae\u5c6c\u6027\u3002", "type": "string" }, "orderby": { "required": false, "default": "order", "enum": [ "id", "order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u4f9d\u7a05\u7387\u985e\u5225.", "type": "string" }, "search": { "required": false, "description": "\u4f9d\u985e\u4f3c\u7684\u7a05\u78bc\u641c\u5c0b\u3002", "type": "string" }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u8cbb\u7387 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } } } }, { "methods": [ "POST" ], "args": { "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "default": 1, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "default": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "default": true, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "default": "standard", "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/taxes" } ] } }, "\/wc-analytics\/taxes\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support trashing.", "type": "boolean" } } } ] }, "\/wc-analytics\/taxes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "required": false, "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "\u90f5\u905e\u5340\u865f", "type": "string" }, "city": { "required": false, "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string" }, "rate": { "required": false, "description": "\u7a05\u7387.", "type": "string" }, "name": { "required": false, "description": "\u7a05\u7387\u540d\u7a31.", "type": "string" }, "priority": { "required": false, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer" }, "compound": { "required": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean" }, "shipping": { "required": false, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean" }, "order": { "required": false, "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate", "%e5%84%aa%e6%83%a0%e7%a8%85%e7%8e%87", "%e9%9b%b6%e7%a8%85%e7%8e%87" ], "description": "\u7a05\u7387\u985e\u5225", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/taxes\/batch" } ] } }, "\/wc-admin\/themes": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "pluginzip": { "required": false, "description": "\u8981\u4e0a\u50b3\u7684\u4f48\u666f\u4e3b\u984c zip \u6a94\u6848\u3002", "type": "file" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/themes" } ] } }, "\/wc-admin\/onboarding\/plugins\/install": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/install" } ] } }, "\/wc-admin\/onboarding\/plugins\/active": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/active" } ] } }, "\/wc-admin\/onboarding\/plugins\/activate": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/activate" } ] } }, "\/wc-admin\/onboarding\/plugins\/connect-jetpack": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/connect-jetpack" } ] } }, "\/wc-admin\/onboarding\/plugins\/request-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/request-wccom-connect" } ] } }, "\/wc-admin\/onboarding\/plugins\/finish-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/finish-wccom-connect" } ] } }, "\/wc-admin\/onboarding\/plugins\/connect-paypal": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/connect-paypal" } ] } }, "\/wc-admin\/onboarding\/plugins\/connect-wcpay": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/connect-wcpay" } ] } }, "\/wc-admin\/onboarding\/plugins\/connect-square": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/connect-square" } ] } }, "\/wc-analytics\/reports\/performance-indicators": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "stats": { "required": false, "default": [], "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u5831\u544a\u7d71\u8a08\u8cc7\u6599\u3002\u5141\u8a31\u7684\u503c\uff1a\u8f09\u5165\u5831\u544a\u7aef\u9ede\u6642\u767c\u751f\u554f\u984c\u3002", "type": "array", "items": { "type": "string", "enum": [] } }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/performance-indicators" } ] } }, "\/wc-analytics\/reports\/performance-indicators\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "stats": { "required": false, "default": [], "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u5831\u544a\u7d71\u8a08\u8cc7\u6599\u3002\u5141\u8a31\u7684\u503c\uff1a\u8f09\u5165\u5831\u544a\u7aef\u9ede\u6642\u767c\u751f\u554f\u984c\u3002", "type": "array", "items": { "type": "string", "enum": [] } }, "after": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" }, "before": { "required": false, "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed" } ] } }, "\/wp-mail-smtp\/v1": { "namespace": "wp-mail-smtp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wp-mail-smtp\/v1" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp-mail-smtp\/v1" } ] } }, "\/wp-mail-smtp\/v1\/webhooks\/sendinblue": { "namespace": "wp-mail-smtp\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp-mail-smtp\/v1\/webhooks\/sendinblue" } ] } }, "\/wp-mail-smtp\/v1\/e\/(?P.+)": { "namespace": "wp-mail-smtp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wp-rocket\/v1": { "namespace": "wp-rocket\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wp-rocket\/v1" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp-rocket\/v1" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/enable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true }, "url": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp-rocket\/v1\/rocketcdn\/enable" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/disable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp-rocket\/v1\/rocketcdn\/disable" } ] } }, "\/yoast\/v1\/indexation\/posts": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/indexation\/posts" } ] } }, "\/yoast\/v1\/indexation\/terms": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/indexation\/terms" } ] } }, "\/yoast\/v1\/indexation\/post-type-archives": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/indexation\/post-type-archives" } ] } }, "\/yoast\/v1\/indexation\/general": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/indexation\/general" } ] } }, "\/yoast\/v1\/indexation\/prepare": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/indexation\/prepare" } ] } }, "\/yoast\/v1\/indexation\/complete": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/indexation\/complete" } ] } }, "\/yoast\/v1\/get_head": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/get_head" } ] } }, "\/yoast\/v1\/link-indexing\/posts": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/link-indexing\/posts" } ] } }, "\/yoast\/v1\/link-indexing\/terms": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/yoast\/v1\/link-indexing\/terms" } ] } }, "\/wp\/v2": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wp\/v2" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2" } ] } }, "\/wp\/v2\/posts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "author": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" } }, "author_exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" } }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" } }, "status": { "required": false, "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" } }, "tax_relation": { "required": false, "enum": [ "AND", "OR" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u57fa\u65bc\u591a\u500b\u5206\u985e\u6cd5\u9593\u7684\u95dc\u4fc2\u3002", "type": "string" }, "categories": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5728 [categories] \u5206\u985e\u6cd5\u4e2d\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "categories_exclude": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5728 [categories] \u5206\u985e\u6cd5\u4e2d\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "tags": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5728 [tags] \u5206\u985e\u6cd5\u4e2d\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "tags_exclude": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5728 [tags] \u5206\u985e\u6cd5\u4e2d\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "sticky": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7f6e\u9802\u6587\u7ae0\u3002", "type": "boolean" } } }, { "methods": [ "POST" ], "args": { "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "author": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 ID\u3002", "type": "integer" }, "excerpt": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object" }, "featured_media": { "required": false, "description": "\u7269\u4ef6\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "format": { "required": false, "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "description": "\u7269\u4ef6\u7684\u683c\u5f0f\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "sticky": { "required": false, "description": "\u662f\u5426\u61c9\u5c07\u7269\u4ef6\u7f6e\u9802\u3002", "type": "boolean" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5df2\u6307\u6d3e\u81f3\u3008category\u3009\u5206\u985e\u6cd5\u7269\u4ef6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" } }, "tags": { "required": false, "description": "\u5df2\u6307\u6d3e\u81f3\u3008post_tag\u3009\u5206\u985e\u6cd5\u7269\u4ef6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/posts" } ] } }, "\/wp\/v2\/posts\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "password": { "required": false, "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "author": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 ID\u3002", "type": "integer" }, "excerpt": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object" }, "featured_media": { "required": false, "description": "\u7269\u4ef6\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "format": { "required": false, "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "description": "\u7269\u4ef6\u7684\u683c\u5f0f\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "sticky": { "required": false, "description": "\u662f\u5426\u61c9\u5c07\u7269\u4ef6\u7f6e\u9802\u3002", "type": "boolean" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5df2\u6307\u6d3e\u81f3\u3008category\u3009\u5206\u985e\u6cd5\u7269\u4ef6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" } }, "tags": { "required": false, "description": "\u5df2\u6307\u6d3e\u81f3\u3008post_tag\u3009\u5206\u985e\u6cd5\u7269\u4ef6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "type": "boolean" } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "author": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 ID\u3002", "type": "integer" }, "excerpt": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object" }, "featured_media": { "required": false, "description": "\u7269\u4ef6\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "format": { "required": false, "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "description": "\u7269\u4ef6\u7684\u683c\u5f0f\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "sticky": { "required": false, "description": "\u662f\u5426\u61c9\u5c07\u7269\u4ef6\u7f6e\u9802\u3002", "type": "boolean" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" }, "categories": { "required": false, "description": "\u5df2\u6307\u6d3e\u81f3\u3008category\u3009\u5206\u985e\u6cd5\u7269\u4ef6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" } }, "tags": { "required": false, "description": "\u5df2\u6307\u6d3e\u81f3\u3008post_tag\u3009\u5206\u985e\u6cd5\u7269\u4ef6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" } } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "id": { "required": false, "description": "\u7269\u4ef6 ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wp\/v2\/pages": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "author": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" } }, "author_exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" } }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "menu_order": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5177\u5099\u6307\u5b9a menu_order \u503c\u7684\u6587\u7ae0\u3002", "type": "integer" }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5177\u5099\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5177\u5099\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" } }, "status": { "required": false, "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" } } } }, { "methods": [ "POST" ], "args": { "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "author": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 ID\u3002", "type": "integer" }, "excerpt": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object" }, "featured_media": { "required": false, "description": "\u7269\u4ef6\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u7269\u4ef6\u7684\u9806\u5e8f\u548c\u5176\u4ed6\u985e\u578b\u7684\u7269\u4ef6\u6709\u95dc\u3002", "type": "integer" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/pages" } ] } }, "\/wp\/v2\/pages\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "password": { "required": false, "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "author": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 ID\u3002", "type": "integer" }, "excerpt": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object" }, "featured_media": { "required": false, "description": "\u7269\u4ef6\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u7269\u4ef6\u7684\u9806\u5e8f\u548c\u5176\u4ed6\u985e\u578b\u7684\u7269\u4ef6\u6709\u95dc\u3002", "type": "integer" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "type": "boolean" } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "author": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 ID\u3002", "type": "integer" }, "excerpt": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object" }, "featured_media": { "required": false, "description": "\u7269\u4ef6\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "menu_order": { "required": false, "description": "\u7269\u4ef6\u7684\u9806\u5e8f\u548c\u5176\u4ed6\u985e\u578b\u7684\u7269\u4ef6\u6709\u95dc\u3002", "type": "integer" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "id": { "required": false, "description": "\u7269\u4ef6 ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wp\/v2\/media": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "author": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" } }, "author_exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" } }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5177\u5099\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5177\u5099\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" } }, "status": { "required": false, "default": "inherit", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "inherit", "private", "trash" ], "type": "string" } }, "media_type": { "required": false, "enum": [ "image", "video", "text", "application", "audio" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7279\u5b9a\u5a92\u9ad4\u985e\u578b\u7684\u9644\u4ef6\u3002", "type": "string" }, "mime_type": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7279\u5b9a MIME \u985e\u578b\u7684\u9644\u4ef6\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "author": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" }, "alt_text": { "required": false, "description": "\u9644\u4ef6\u7121\u6cd5\u986f\u793a\u6642\u6240\u986f\u793a\u7684\u66ff\u4ee3\u6587\u5b57\u3002", "type": "string" }, "caption": { "required": false, "description": "\u9644\u4ef6\u8aaa\u660e\u6587\u5b57\u3002", "type": "object" }, "description": { "required": false, "description": "\u9644\u4ef6\u5167\u5bb9\u8aaa\u660e\u3002", "type": "object" }, "post": { "required": false, "description": "\u8207\u9644\u4ef6\u95dc\u806f\u7684\u6587\u7ae0\u7684\u6587\u7ae0 ID\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/media" } ] } }, "\/wp\/v2\/media\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "author": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" }, "alt_text": { "required": false, "description": "\u9644\u4ef6\u7121\u6cd5\u986f\u793a\u6642\u6240\u986f\u793a\u7684\u66ff\u4ee3\u6587\u5b57\u3002", "type": "string" }, "caption": { "required": false, "description": "\u9644\u4ef6\u8aaa\u660e\u6587\u5b57\u3002", "type": "object" }, "description": { "required": false, "description": "\u9644\u4ef6\u5167\u5bb9\u8aaa\u660e\u3002", "type": "object" }, "post": { "required": false, "description": "\u8207\u9644\u4ef6\u95dc\u806f\u7684\u6587\u7ae0\u7684\u6587\u7ae0 ID\u3002", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/post-process": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "action": { "required": true, "enum": [ "create-image-subsizes" ], "type": "string" } } } ] }, "\/wp\/v2\/blocks": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" } }, "status": { "required": false, "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" } } } }, { "methods": [ "POST" ], "args": { "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/blocks" } ] } }, "\/wp\/v2\/blocks\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "password": { "required": false, "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "id": { "required": false, "description": "\u7269\u4ef6 ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wp\/v2\/product": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" } }, "status": { "required": false, "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" } } } }, { "methods": [ "POST" ], "args": { "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "excerpt": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object" }, "featured_media": { "required": false, "description": "\u7269\u4ef6\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/product" } ] } }, "\/wp\/v2\/product\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "password": { "required": false, "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "excerpt": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object" }, "featured_media": { "required": false, "description": "\u7269\u4ef6\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ] }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u7269\u4ef6\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "status": { "required": false, "enum": [ "publish", "future", "draft", "pending", "private", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string" }, "password": { "required": false, "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string" }, "title": { "required": false, "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": "object" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "excerpt": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object" }, "featured_media": { "required": false, "description": "\u7269\u4ef6\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer" }, "comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u555f\u7528\u7269\u4ef6\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string" }, "ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u662f\u5426\u80fd\u901a\u77e5\u7269\u4ef6\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" }, "template": { "required": false, "description": "\u7528\u65bc\u986f\u793a\u7269\u4ef6\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string" } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "id": { "required": false, "description": "\u7269\u4ef6 ID\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wp\/v2\/types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/types" } ] } }, "\/wp\/v2\/types\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u5167\u5bb9\u985e\u578b\u8b58\u5225\u78bc\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wp\/v2\/statuses": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/statuses" } ] } }, "\/wp\/v2\/statuses\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u72c0\u614b\u8b58\u5225\u78bc\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wp\/v2\/taxonomies": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "type": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u8207\u6307\u5b9a\u5167\u5bb9\u985e\u578b\u76f8\u95dc\u7684\u5206\u985e\u6cd5\u3002", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/taxonomies" } ] } }, "\/wp\/v2\/taxonomies\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "taxonomy": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u5206\u985e\u6cd5\u8b58\u5225\u78bc\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } } ] }, "\/wp\/v2\/categories": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean" }, "parent": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u7279\u5b9a\u4e0a\u5c64\u9805\u76ee\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer" }, "post": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u7279\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" } } } }, { "methods": [ "POST" ], "args": { "description": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string" }, "name": { "required": true, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u662f\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "parent": { "required": false, "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/categories" } ] } }, "\/wp\/v2\/categories\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "description": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string" }, "name": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u662f\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "parent": { "required": false, "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "type": "boolean" } } } ] }, "\/wp\/v2\/tags": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean" }, "post": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u7279\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer" }, "slug": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" } } } }, { "methods": [ "POST" ], "args": { "description": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string" }, "name": { "required": true, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u662f\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/tags" } ] } }, "\/wp\/v2\/tags\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "description": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string" }, "name": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u662f\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u8b58\u5225\u78bc\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "type": "boolean" } } } ] }, "\/wp\/v2\/users": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" }, "slug": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5177\u6709\u4e00\u6216\u591a\u500b\u7279\u5b9a\u4ee3\u7a31\u7684\u4f7f\u7528\u8005\u3002", "type": "array", "items": { "type": "string" } }, "roles": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u81f3\u5c11\u4e00\u7a2e\u6307\u5b9a\u4f7f\u7528\u8005\u89d2\u8272\u7684\u4f7f\u7528\u8005\u3002\u63a5\u53d7 CSV \u6e05\u55ae\u6216\u55ae\u4e00\u4f7f\u7528\u8005\u89d2\u8272\u3002", "type": "array", "items": { "type": "string" } }, "who": { "required": false, "enum": [ "authors" ], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5224\u5b9a\u70ba\u4f5c\u8005\u7684\u4f7f\u7528\u8005\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "username": { "required": true, "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31\u3002", "type": "string" }, "name": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string" }, "first_name": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f\u3002", "type": "string" }, "email": { "required": true, "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string" }, "url": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740\u3002", "type": "string" }, "description": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u500b\u4eba\u8cc7\u6599\u3002", "type": "string" }, "locale": { "required": false, "enum": [ "", "en_US", "de_DE", "en_GB", "es_ES", "fr_FR", "ja", "zh_TW" ], "description": "\u4f7f\u7528\u8005\u7684\u5730\u5340\u8a9e\u8a00\u504f\u597d\u3002", "type": "string" }, "nickname": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u4f7f\u7528\u8005\u8b58\u5225\u78bc\u3002", "type": "string" }, "roles": { "required": false, "description": "\u6307\u6d3e\u7d66\u4f7f\u7528\u8005\u7684\u4f7f\u7528\u8005\u89d2\u8272\u3002", "type": "array", "items": { "type": "string" } }, "password": { "required": true, "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u5305\u542b) \u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/users" } ] } }, "\/wp\/v2\/users\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "username": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31\u3002", "type": "string" }, "name": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string" }, "first_name": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f\u3002", "type": "string" }, "email": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string" }, "url": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740\u3002", "type": "string" }, "description": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u500b\u4eba\u8cc7\u6599\u3002", "type": "string" }, "locale": { "required": false, "enum": [ "", "en_US", "de_DE", "en_GB", "es_ES", "fr_FR", "ja", "zh_TW" ], "description": "\u4f7f\u7528\u8005\u7684\u5730\u5340\u8a9e\u8a00\u504f\u597d\u3002", "type": "string" }, "nickname": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u4f7f\u7528\u8005\u8b58\u5225\u78bc\u3002", "type": "string" }, "roles": { "required": false, "description": "\u6307\u6d3e\u7d66\u4f7f\u7528\u8005\u7684\u4f7f\u7528\u8005\u89d2\u8272\u3002", "type": "array", "items": { "type": "string" } }, "password": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u5305\u542b) \u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u7531\u65bc [\u4f7f\u7528\u8005] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "type": "boolean" }, "reassign": { "required": true, "description": "\u5c07\u906d\u5230\u522a\u9664\u7684\u4f7f\u7528\u8005\u7684\u6587\u7ae0\u9032\u884c\u91cd\u65b0\u6307\u6d3e\uff0c\u4e26\u5c07\u9019\u4e9b\u6587\u7ae0\u9023\u7d50\u5230\u6307\u5b9a\u7684\u4f7f\u7528\u8005 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/users\/me": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "username": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31\u3002", "type": "string" }, "name": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string" }, "first_name": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57\u3002", "type": "string" }, "last_name": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f\u3002", "type": "string" }, "email": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string" }, "url": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740\u3002", "type": "string" }, "description": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u500b\u4eba\u8cc7\u6599\u3002", "type": "string" }, "locale": { "required": false, "enum": [ "", "en_US", "de_DE", "en_GB", "es_ES", "fr_FR", "ja", "zh_TW" ], "description": "\u4f7f\u7528\u8005\u7684\u5730\u5340\u8a9e\u8a00\u504f\u597d\u3002", "type": "string" }, "nickname": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31\u3002", "type": "string" }, "slug": { "required": false, "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u4f7f\u7528\u8005\u8b58\u5225\u78bc\u3002", "type": "string" }, "roles": { "required": false, "description": "\u6307\u6d3e\u7d66\u4f7f\u7528\u8005\u7684\u4f7f\u7528\u8005\u89d2\u8272\u3002", "type": "array", "items": { "type": "string" } }, "password": { "required": false, "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u5305\u542b) \u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" } } }, { "methods": [ "DELETE" ], "args": { "force": { "required": false, "default": false, "description": "\u7531\u65bc [\u4f7f\u7528\u8005] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "type": "boolean" }, "reassign": { "required": true, "description": "\u5c07\u906d\u5230\u522a\u9664\u7684\u4f7f\u7528\u8005\u7684\u6587\u7ae0\u9032\u884c\u91cd\u65b0\u6307\u6d3e\uff0c\u4e26\u5c07\u9019\u4e9b\u6587\u7ae0\u9023\u7d50\u5230\u6307\u5b9a\u7684\u4f7f\u7528\u8005 ID\u3002", "type": "integer" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/users\/me" } ] } }, "\/wp\/v2\/comments": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "after": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u5f8c\u767c\u4f48\u7684\u7559\u8a00\u3002", "type": "string" }, "author": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u6d3e\u70ba\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u7559\u8a00\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "type": "array", "items": { "type": "integer" } }, "author_exclude": { "required": false, "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u70ba\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u7559\u8a00\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "type": "array", "items": { "type": "integer" } }, "author_email": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u4f86\u81ea\u6307\u5b9a\u4f5c\u8005\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "type": "string" }, "before": { "required": false, "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u65e5\u671f\u6642\u9593\u683c\u5f0f\u898f\u7bc4\u524d\u767c\u4f48\u7684\u7559\u8a00\u3002", "type": "string" }, "exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "\u4f9d\u6307\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f4d\u79fb\u7d50\u679c\u96c6\u3002", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u5347\u51aa\u6216\u964d\u51aa\u3002", "type": "string" }, "orderby": { "required": false, "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "post", "parent", "type" ], "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string" }, "parent": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u7684\u7559\u8a00\u3002", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "array", "items": { "type": "integer" } }, "post": { "required": false, "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0 ID \u7684\u7559\u8a00\u3002", "type": "array", "items": { "type": "integer" } }, "status": { "required": false, "default": "approve", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u6d3e\u70ba\u6307\u5b9a\u72c0\u614b\u7684\u7559\u8a00\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "type": "string" }, "type": { "required": false, "default": "comment", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u6d3e\u70ba\u6307\u5b9a\u985e\u578b\u7684\u7559\u8a00\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "type": "string" }, "password": { "required": false, "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string" } } }, { "methods": [ "POST" ], "args": { "author": { "required": false, "description": "\u7576\u7559\u8a00\u8005\u662f\u7db2\u7ad9\u4f7f\u7528\u8005\u6642\uff0c\u4f7f\u7528\u8005\u7269\u4ef6\u7684 ID\u3002", "type": "integer" }, "author_email": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string" }, "author_ip": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 IP \u4f4d\u5740\u3002", "type": "string" }, "author_name": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string" }, "author_url": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684\u7db2\u5740\u3002", "type": "string" }, "author_user_agent": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684\u4f7f\u7528\u8005\u4ee3\u7406\u7a0b\u5f0f\u3002", "type": "string" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": "string" }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": "string" }, "parent": { "required": false, "default": 0, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "post": { "required": false, "default": 0, "description": "\u95dc\u806f\u6587\u7ae0\u7269\u4ef6\u7684 ID\u3002", "type": "integer" }, "status": { "required": false, "description": "\u7269\u4ef6\u7684\u72c0\u614b\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/comments" } ] } }, "\/wp\/v2\/comments\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "embed", "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "password": { "required": false, "description": "\u7559\u8a00\u7684\u4e0a\u5c64\u6587\u7ae0\u7684\u5bc6\u78bc (\u82e5\u6587\u7ae0\u53d7\u5bc6\u78bc\u4fdd\u8b77)\u3002", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "author": { "required": false, "description": "\u7576\u7559\u8a00\u8005\u662f\u7db2\u7ad9\u4f7f\u7528\u8005\u6642\uff0c\u4f7f\u7528\u8005\u7269\u4ef6\u7684 ID\u3002", "type": "integer" }, "author_email": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string" }, "author_ip": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684 IP \u4f4d\u5740\u3002", "type": "string" }, "author_name": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string" }, "author_url": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684\u7db2\u5740\u3002", "type": "string" }, "author_user_agent": { "required": false, "description": "\u7269\u4ef6\u4f5c\u8005\u7684\u4f7f\u7528\u8005\u4ee3\u7406\u7a0b\u5f0f\u3002", "type": "string" }, "content": { "required": false, "description": "\u7269\u4ef6\u7684\u5167\u5bb9\u3002", "type": "object" }, "date": { "required": false, "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": "string" }, "date_gmt": { "required": false, "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7269\u4ef6\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": "string" }, "parent": { "required": false, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer" }, "post": { "required": false, "description": "\u95dc\u806f\u6587\u7ae0\u7269\u4ef6\u7684 ID\u3002", "type": "integer" }, "status": { "required": false, "description": "\u7269\u4ef6\u7684\u72c0\u614b\u3002", "type": "string" }, "meta": { "required": false, "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "\u7269\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer" }, "force": { "required": false, "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "type": "boolean" }, "password": { "required": false, "description": "\u7559\u8a00\u7684\u4e0a\u5c64\u6587\u7ae0\u7684\u5bc6\u78bc (\u82e5\u6587\u7ae0\u53d7\u5bc6\u78bc\u4fdd\u8b77)\u3002", "type": "string" } } } ] }, "\/wp\/v2\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "embed" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "type": { "required": false, "default": "post", "enum": [ "post" ], "description": "\u5c07\u7d50\u679c\u9650\u5236\u70ba\u7269\u4ef6\u985e\u578b\u7684\u9805\u76ee\u3002", "type": "string" }, "subtype": { "required": false, "default": "any", "description": "\u5c07\u7d50\u679c\u9650\u5236\u70ba\u4e00\u500b\u6216\u591a\u500b\u7269\u4ef6\u5b50\u985e\u578b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "post", "page", "product", "any" ], "type": "string" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/search" } ] } }, "\/wp\/v2\/block-renderer\/(?Pcore\/archives)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/archives] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pcore\/block)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/block] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pcore\/calendar)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/calendar] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pcore\/categories)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/categories] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pcore\/latest-comments)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/latest-comments] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pcore\/latest-posts)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/latest-posts] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pcore\/rss)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/rss] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pcore\/shortcode)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/shortcode] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pcore\/social-link)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/social-link] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pcore\/tag-cloud)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[core\/tag-cloud] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/all-reviews)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/all-reviews] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/featured-category)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/featured-category] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/featured-product)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/featured-product] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/handpicked-products)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/handpicked-products] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/product-best-sellers)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/product-best-sellers] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/product-categories)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/product-categories] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/product-category)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/product-category] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/product-new)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/product-new] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/product-on-sale)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/product-on-sale] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/products-by-attribute)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/products-by-attribute] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/product-top-rated)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/product-top-rated] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/reviews-by-product)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/reviews-by-product] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/reviews-by-category)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/reviews-by-category] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/product-tag)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/product-tag] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/all-products)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/all-products] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/price-filter)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/price-filter] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/attribute-filter)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/attribute-filter] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwoocommerce\/active-filters)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[woocommerce\/active-filters] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pwpforms\/form-selector)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[wpforms\/form-selector] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/block-renderer\/(?Pbcn\/breadcrumb-trail)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "required": false, "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "edit" ], "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "attributes": { "required": false, "default": [], "description": "[bcn\/breadcrumb-trail] \u5340\u584a\u7684\u5c6c\u6027", "type": "object" }, "post_id": { "required": false, "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer" } } } ] }, "\/wp\/v2\/settings": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "title": { "required": false, "description": "\u7db2\u7ad9\u6a19\u984c\u3002", "type": "string" }, "description": { "required": false, "description": "\u7db2\u7ad9\u8aaa\u660e\u3002", "type": "string" }, "url": { "required": false, "description": "\u7db2\u8a8c\u7db2\u5740\u3002", "type": "string" }, "email": { "required": false, "description": "\u9019\u500b\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u7528\u65bc\u7ba1\u7406\u76ee\u7684\u3002\u4f8b\u5982\u63a5\u6536\u65b0\u4f7f\u7528\u8005\u8a3b\u518a\u901a\u77e5\u3002", "type": "string" }, "timezone": { "required": false, "description": "\u8207\u5c45\u5730\u76f8\u540c\u6642\u5340\u7684\u57ce\u5e02\u3002", "type": "string" }, "date_format": { "required": false, "description": "\u5168\u90e8\u65e5\u671f\u5b57\u4e32\u7684\u65e5\u671f\u683c\u5f0f\u3002", "type": "string" }, "time_format": { "required": false, "description": "\u5168\u90e8\u6642\u9593\u5b57\u4e32\u7684\u6642\u9593\u683c\u5f0f\u3002", "type": "string" }, "start_of_week": { "required": false, "description": "\u6bcf\u9031\u7684\u958b\u59cb\u65e5\u671f\u3002", "type": "integer" }, "language": { "required": false, "description": "WordPress \u5730\u5340\u8a9e\u8a00\u4ee3\u78bc\u3002", "type": "string" }, "use_smilies": { "required": false, "description": "\u81ea\u52d5\u5728\u986f\u793a\u6642\u5c07 :-) \u53ca :-P \u9019\u985e\u8868\u60c5\u7b26\u865f\u8f49\u63db\u6210\u5716\u7247\u3002", "type": "boolean" }, "default_category": { "required": false, "description": "\u9810\u8a2d\u6587\u7ae0\u5206\u985e\u3002", "type": "integer" }, "default_post_format": { "required": false, "description": "\u9810\u8a2d\u6587\u7ae0\u683c\u5f0f\u3002", "type": "string" }, "posts_per_page": { "required": false, "description": "\u7db2\u7ad9\u6587\u7ae0\u9801\u9762\u6bcf\u9801\u6587\u7ae0\u986f\u793a\u6578\u91cf\u3002", "type": "integer" }, "default_ping_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u958b\u653e\u5176\u4ed6\u7db2\u7ad9\u5c0d\u65b0\u6587\u7ae0\u50b3\u9001\u9023\u7d50\u901a\u77e5 (\u5373\u81ea\u52d5\u5f15\u7528\u901a\u77e5\u53ca\u5f15\u7528\u901a\u77e5)\u3002", "type": "string" }, "default_comment_status": { "required": false, "enum": [ "open", "closed" ], "description": "\u958b\u653e\u4f7f\u7528\u8005\u5728\u65b0\u6587\u7ae0\u4e2d\u767c\u4f48\u7559\u8a00", "type": "string" } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/settings" } ] } }, "\/wp\/v2\/themes": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string" }, "page": { "required": false, "default": 1, "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer" }, "search": { "required": false, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string" }, "status": { "required": true, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u6d3e\u4e00\u500b\u6216\u591a\u500b\u72c0\u614b\u7684\u4f48\u666f\u4e3b\u984c\u3002", "type": "array", "items": { "enum": [ "active" ], "type": "string" } } } } ], "_links": { "self": [ { "href": "https:\/\/www.carolyoungcorp.com\/zh-tw\/wp-json\/wp\/v2\/themes" } ] } } }, "_links": { "help": [ { "href": "http:\/\/v2.wp-api.org\/" } ] } }