{"name":"\u6d59\u6c5f\u4e25\u724c\u8fc7\u6ee4\u6280\u672f\u80a1\u4efd\u6709\u9650\u516c\u53f8","description":"","url":"http:\/\/www.yanpai.com","home":"https:\/\/www.yanpai.com","gmt_offset":8,"timezone_string":"Asia\/Shanghai","namespaces":["oembed\/1.0","contact-form-7\/v1","wc\/blocks","wc\/store","wc\/v1","wc\/v2","wc\/v3","wccom-site\/v1","wc-analytics","wc-admin","wp\/v2","wp-site-health\/v1","wp-block-editor\/v1"],"authentication":{"application-passwords":{"endpoints":{"authorization":"https:\/\/www.yanpai.com\/wp-admin\/authorize-application.php"}}},"routes":{"\/":{"namespace":"","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/"}]}},"\/batch\/v1":{"namespace":"","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"validation":{"type":"string","enum":["require-all-validate","normal"],"default":"normal","required":false},"requests":{"type":"array","maxItems":25,"items":{"type":"object","properties":{"method":{"type":"string","enum":["POST","PUT","PATCH","DELETE"],"default":"POST"},"path":{"type":"string","required":true},"body":{"type":"object","properties":[],"additionalProperties":true},"headers":{"type":"object","properties":[],"additionalProperties":{"type":["string","array"],"items":{"type":"string"}}}}},"required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/batch\/v1"}]}},"\/oembed\/1.0":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"oembed\/1.0","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/oembed\/1.0"}]}},"\/oembed\/1.0\/embed":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"\u9700\u8981\u83b7\u53d6oEmbed\u6570\u636e\u7684\u94fe\u63a5\u3002","type":"string","format":"uri","required":true},"format":{"default":"json","required":false},"maxwidth":{"default":600,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/oembed\/1.0\/embed"}]}},"\/oembed\/1.0\/proxy":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"\u9700\u8981\u83b7\u53d6oEmbed\u6570\u636e\u7684\u94fe\u63a5\u3002","type":"string","format":"uri","required":true},"format":{"description":"\u4f7f\u7528\u7684oEmbed\u683c\u5f0f\u3002","type":"string","default":"json","enum":["json","xml"],"required":false},"maxwidth":{"description":"\u5d4c\u5165\u7684\u5143\u7d20\u7684\u6700\u5927\u5bbd\u5ea6\uff08\u50cf\u7d20\uff09\u3002","type":"integer","default":600,"required":false},"maxheight":{"description":"\u5d4c\u5165\u7684\u5143\u7d20\u7684\u6700\u5927\u9ad8\u5ea6\uff08\u50cf\u7d20\uff09\u3002","type":"integer","required":false},"discover":{"description":"\u5bf9\u672a\u7ecf\u6279\u51c6\u7684\u63d0\u4f9b\u8005\u662f\u5426\u8fdb\u884coEmbed\u53d1\u73b0\u8bf7\u6c42\u3002","type":"boolean","default":true,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/oembed\/1.0\/proxy"}]}},"\/contact-form-7\/v1":{"namespace":"contact-form-7\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"contact-form-7\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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":[]}]},"\/wc\/blocks":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/blocks","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/blocks"}]}},"\/wc\/blocks\/products\/attributes":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/blocks\/products\/attributes"}]}},"\/wc\/blocks\/products\/attributes\/(?P[\\d]+)":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/blocks\/products\/attributes\/(?P[\\d]+)\/terms":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u7236\u7ea7\u7684\u8d44\u6e90\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}}]},"\/wc\/blocks\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/blocks\/products\/categories":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u7236\u7ea7\u7684\u8d44\u6e90\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false},"show_review_count":{"description":"\u662f\u5426\u9700\u8981\u6211\u4eec\u8fd4\u56de\u7c7b\u522b\u4e2d\u7684\u8bc4\u8bba\u6570\uff1f","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/blocks\/products\/categories"}]}},"\/wc\/blocks\/products\/categories\/(?P[\\d]+)":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wc\/blocks\/products\/tags":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/blocks\/products\/tags"}]}},"\/wc\/blocks\/products\/tags\/(?P[\\d]+)":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/blocks\/products":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug","menu_order","price","popularity","rating","menu_order","comment_count"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"type":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"featured":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"category":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5206\u7c7b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"tag":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u6807\u7b7e\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"shipping_class":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u914d\u9001\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"attribute":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u76f8\u5173\u7684\u4ea7\u54c1\u3002\u4f7f\u7528\u5206\u7c7b\u540d\u79f0\/\u5c5e\u6027\u522b\u540d\u3002","type":"string","required":false},"attribute_term":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u7c7b\u522b(\u9700\u8981\u6307\u5b9a\u4e00\u4e2a\u5c5e\u6027)\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"stock_status":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u7279\u5b9a\u5e93\u5b58\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"category_operator":{"description":"\u7528\u4e8e\u5bf9\u6bd4\u4ea7\u54c1\u7c7b\u522b\u672f\u8bed\u7684\u8fd0\u7b97\u7b26\u3002","type":"string","enum":["in","not_in","and"],"default":"in","required":false},"tag_operator":{"description":"\u4ea7\u54c1\u6807\u7b7e\u6bd4\u8f83\u8fd0\u7b97\u7b26\u3002","type":"string","enum":["in","not_in","and"],"default":"in","required":false},"attribute_operator":{"description":"\u7528\u4e8e\u5bf9\u6bd4\u4ea7\u54c1\u5c5e\u6027\u672f\u8bed\u7684\u8fd0\u7b97\u7b26\u3002","type":"string","enum":["in","not_in","and"],"default":"in","required":false},"catalog_visibility":{"description":"\u786e\u5b9a\u662f\u5426\u663e\u793a\u9690\u85cf\u6216\u53ef\u89c1\u7684\u76ee\u5f55\u4ea7\u54c1\u3002","type":"string","enum":["any","visible","catalog","search","hidden"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/blocks\/products"}]}},"\/wc\/blocks\/products\/(?P[\\d]+)":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wc\/blocks\/products\/(?P[\\d]+)\/variations":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug","menu_order"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"stock_status":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u7279\u5b9a\u5e93\u5b58\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}}]},"\/wc\/blocks\/products\/reviews":{"namespace":"wc\/blocks","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date_gmt","enum":["date","date_gmt","id","rating","product"],"required":false},"product_id":{"default":[],"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u5206\u914d\u7279\u5b9a\u4ea7\u54c1 ID \u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"category_id":{"default":[],"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u7279\u5b9a\u7c7b\u522b ID \u5185\u4ea7\u54c1\u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/blocks\/products\/reviews"}]}},"\/wc\/store":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/store","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/store"}]}},"\/wc\/store\/cart":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/store\/cart"}]}},"\/wc\/store\/cart\/items":{"namespace":"wc\/store","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"id":{"description":"\u8d2d\u7269\u8f66\u9879\u76ee\u4ea7\u54c1\u6216\u53d8\u4f53 ID\u3002","type":"integer","required":true},"quantity":{"description":"\u8d2d\u7269\u8f66\u4e2d\u6b64\u9879\u76ee\u7684\u6570\u91cf\u3002","type":"integer","required":true},"variation":{"description":"\u9009\u62e9\uff08\u53d8\u4f53\u7684\uff09\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"attribute":{"description":"\u53d8\u4f53\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u53d8\u4f53\u5c5e\u6027\u503c\u3002","type":"string","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8d2d\u7269\u8f66\u5185\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"key":{"description":"\u8d2d\u7269\u8f66\u5185\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"id":{"description":"\u8d2d\u7269\u8f66\u9879\u76ee\u4ea7\u54c1\u6216\u53d8\u4f53 ID\u3002","type":"integer","required":false},"quantity":{"description":"\u8d2d\u7269\u8f66\u4e2d\u6b64\u9879\u76ee\u7684\u6570\u91cf\u3002","type":"integer","required":false},"variation":{"description":"\u9009\u62e9\uff08\u53d8\u4f53\u7684\uff09\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"attribute":{"description":"\u53d8\u4f53\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u53d8\u4f53\u5c5e\u6027\u503c\u3002","type":"string","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"key":{"description":"\u8d2d\u7269\u8f66\u5185\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false}}}]},"\/wc\/store\/products":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u521b\u5efa\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u521b\u5efa\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"date_column":{"description":"\u4f7f\u7528\u540e\/\u524d\u9650\u5236\u54cd\u5e94\u65f6\uff0c\u8fdb\u884c\u6bd4\u8f83\u6240\u4f9d\u636e\u7684\u65e5\u671f\u5217\u3002","type":"string","default":"date","enum":["date","date_gmt","modified","modified_gmt"],"required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","modified","id","include","title","slug","price","popularity","rating","menu_order","comment_count"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"type":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"featured":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"category":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5206\u7c7b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"category_operator":{"description":"\u7528\u4e8e\u5bf9\u6bd4\u4ea7\u54c1\u7c7b\u522b\u672f\u8bed\u7684\u8fd0\u7b97\u7b26\u3002","type":"string","enum":["in","not in","and"],"default":"in","required":false},"tag":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u6807\u7b7e\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"tag_operator":{"description":"\u4ea7\u54c1\u6807\u7b7e\u6bd4\u8f83\u8fd0\u7b97\u7b26\u3002","type":"string","enum":["in","not in","and"],"default":"in","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"stock_status":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u7279\u5b9a\u5e93\u5b58\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"attributes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u91c7\u7528\u6240\u9009\u5168\u5c40\u5c5e\u6027\u7684\u4ea7\u54c1\u3002","type":"array","items":{"type":"object","properties":{"attribute":{"description":"\u5c5e\u6027\u7c7b\u76ee\u540d\u79f0\u3002","type":"string","sanitize_callback":"wc_sanitize_taxonomy_name"},"term_id":{"description":"\u5c5e\u6027\u672f\u8bed ID \u7684\u5217\u8868\u3002","type":"array","sanitize_callback":"wp_parse_id_list"},"slug":{"description":"\u5c5e\u6027\u6570\u636e\u57df\u7684\u5217\u8868\u3002\u5982\u679c\u63d0\u4f9b\u4e86\u672f\u8bed ID\uff0c\u5219\u4f1a\u88ab\u5ffd\u7565\u3002","type":"array","sanitize_callback":"wp_parse_slug_list"},"operator":{"description":"\u7528\u4e8e\u5bf9\u6bd4\u4ea7\u54c1\u5c5e\u6027\u672f\u8bed\u7684\u8fd0\u7b97\u7b26\u3002","type":"string","enum":["in","not in","and"]}}},"default":[],"required":false},"attribute_relation":{"description":"\u540c\u65f6\u5728\u591a\u4e2a\u5c5e\u6027\u4e2d\u8fdb\u884c\u7b5b\u9009\u65f6\uff0c\u5404\u5c5e\u6027\u4e4b\u95f4\u7684\u903b\u8f91\u5173\u7cfb\u3002","type":"string","enum":["in","and"],"default":"and","required":false},"catalog_visibility":{"description":"\u786e\u5b9a\u662f\u5426\u663e\u793a\u9690\u85cf\u6216\u53ef\u89c1\u7684\u76ee\u5f55\u4ea7\u54c1\u3002","type":"string","enum":["any","visible","catalog","search","hidden"],"required":false},"rating":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u91c7\u7528\u7279\u5b9a\u5e73\u5747\u8bc4\u5206\u7684\u4ea7\u54c1\u3002","type":"array","items":{"type":"integer","enum":[1,2,3,4,5]},"default":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/store\/products"}]}},"\/wc\/store\/products\/(?P[\\d]+)":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/store\/products\/collection-data":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u521b\u5efa\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u521b\u5efa\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"date_column":{"description":"\u4f7f\u7528\u540e\/\u524d\u9650\u5236\u54cd\u5e94\u65f6\uff0c\u8fdb\u884c\u6bd4\u8f83\u6240\u4f9d\u636e\u7684\u65e5\u671f\u5217\u3002","type":"string","default":"date","enum":["date","date_gmt","modified","modified_gmt"],"required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","modified","id","include","title","slug","price","popularity","rating","menu_order","comment_count"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"type":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"featured":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"category":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5206\u7c7b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"category_operator":{"description":"\u7528\u4e8e\u5bf9\u6bd4\u4ea7\u54c1\u7c7b\u522b\u672f\u8bed\u7684\u8fd0\u7b97\u7b26\u3002","type":"string","enum":["in","not in","and"],"default":"in","required":false},"tag":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u6807\u7b7e\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"tag_operator":{"description":"\u4ea7\u54c1\u6807\u7b7e\u6bd4\u8f83\u8fd0\u7b97\u7b26\u3002","type":"string","enum":["in","not in","and"],"default":"in","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"stock_status":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u7279\u5b9a\u5e93\u5b58\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"attributes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u91c7\u7528\u6240\u9009\u5168\u5c40\u5c5e\u6027\u7684\u4ea7\u54c1\u3002","type":"array","items":{"type":"object","properties":{"attribute":{"description":"\u5c5e\u6027\u7c7b\u76ee\u540d\u79f0\u3002","type":"string","sanitize_callback":"wc_sanitize_taxonomy_name"},"term_id":{"description":"\u5c5e\u6027\u672f\u8bed ID \u7684\u5217\u8868\u3002","type":"array","sanitize_callback":"wp_parse_id_list"},"slug":{"description":"\u5c5e\u6027\u6570\u636e\u57df\u7684\u5217\u8868\u3002\u5982\u679c\u63d0\u4f9b\u4e86\u672f\u8bed ID\uff0c\u5219\u4f1a\u88ab\u5ffd\u7565\u3002","type":"array","sanitize_callback":"wp_parse_slug_list"},"operator":{"description":"\u7528\u4e8e\u5bf9\u6bd4\u4ea7\u54c1\u5c5e\u6027\u672f\u8bed\u7684\u8fd0\u7b97\u7b26\u3002","type":"string","enum":["in","not in","and"]}}},"default":[],"required":false},"attribute_relation":{"description":"\u540c\u65f6\u5728\u591a\u4e2a\u5c5e\u6027\u4e2d\u8fdb\u884c\u7b5b\u9009\u65f6\uff0c\u5404\u5c5e\u6027\u4e4b\u95f4\u7684\u903b\u8f91\u5173\u7cfb\u3002","type":"string","enum":["in","and"],"default":"and","required":false},"catalog_visibility":{"description":"\u786e\u5b9a\u662f\u5426\u663e\u793a\u9690\u85cf\u6216\u53ef\u89c1\u7684\u76ee\u5f55\u4ea7\u54c1\u3002","type":"string","enum":["any","visible","catalog","search","hidden"],"required":false},"rating":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u91c7\u7528\u7279\u5b9a\u5e73\u5747\u8bc4\u5206\u7684\u4ea7\u54c1\u3002","type":"array","items":{"type":"integer","enum":[1,2,3,4,5]},"default":[],"required":false},"calculate_price_range":{"description":"\u5982\u679c\u4e3a true\uff0c\u5219\u8ba1\u7b97\u96c6\u5408\u4e2d\u4ea7\u54c1\u7684\u6700\u4f4e\u548c\u6700\u9ad8\u4ef7\u683c\u3002","type":"boolean","default":false,"required":false},"calculate_attribute_counts":{"description":"\u5982\u679c\u9700\u8981\uff0c\u8ba1\u7b97\u96c6\u5408\u4e2d\u4ea7\u54c1\u7684\u5c5e\u6027\u672f\u8bed\u6570\u3002","type":"array","items":{"type":"object","properties":{"taxonomy":{"description":"\u7c7b\u76ee\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"query_type":{"description":"\u6267\u884c\u7684\u67e5\u8be2\u7c7b\u578b\uff0c\u4f1a\u5f71\u54cd\u8ba1\u6570\u3002\u6709\u6548\u503c\u5305\u62ec\u201c\u548c\u201d\u548c\u201c\u6216\u201d\u3002","type":"string","enum":["and","or"],"context":["view","edit"],"readonly":true}}},"default":[],"required":false},"calculate_rating_counts":{"description":"\u5982\u679c\u4e3a true\uff0c\u5219\u8ba1\u7b97\u96c6\u5408\u4e2d\u4ea7\u54c1\u7684\u8bc4\u5206\u6570\u3002","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/store\/products\/collection-data"}]}},"\/wc\/store\/products\/attributes":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/store\/products\/attributes"}]}},"\/wc\/store\/products\/attributes\/(?P[\\d]+)":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"description":"\u5c5e\u6027\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"name","enum":["name","slug","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u7a7a\u7684\u672f\u8bed\uff1f","type":"boolean","default":true,"required":false}}}]},"\/wc\/v1":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1"}]}},"\/wc\/v1\/coupons":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"filter":{"type":"object","description":"\u4f7f\u7528 WP Query \u53c2\u6570\u4fee\u6539\u54cd\u5e94\uff1b\u79c1\u6709\u7684\u67e5\u8be2\u5b57\u6bb5\u9700\u8981\u9002\u5f53\u7684\u8ba4\u8bc1\u6743\u9650\u3002","required":false},"code":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u542b\u6709\u7279\u5b9a\u4ee3\u7801\u7684\u4f18\u60e0\u5238\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":true},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"discount_type":{"default":"fixed_cart","description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"expiry_date":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u7684UTC \u65e5\u671f\u65f6\u95f4\u3002","type":"string","required":false},"individual_use":{"default":false,"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"default":false,"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"default":false,"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/coupons"}]}},"\/wc\/v1\/coupons\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"discount_type":{"description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"expiry_date":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u7684UTC \u65e5\u671f\u65f6\u95f4\u3002","type":"string","required":false},"individual_use":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v1\/coupons\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"discount_type":{"description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"expiry_date":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u7684UTC \u65e5\u671f\u65f6\u95f4\u3002","type":"string","required":false},"individual_use":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/coupons\/batch"}]}},"\/wc\/v1\/customers\/(?P[\\d]+)\/downloads":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v1\/customers":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"default":"asc","description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"name","description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","enum":["id","include","name","registered_date"],"type":"string","required":false},"email":{"description":"\u9650\u5b9a\u8d44\u6e90\u4e3a\u542b\u6709\u7279\u5b9a\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","required":false},"role":{"description":"\u9650\u5b9a\u8d44\u6e90\u4e3a\u6709\u4e00\u4e2a\u7279\u5b9a\u7684\u89d2\u8272\u3002","type":"string","default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","customer","shop_manager"],"required":false}}},{"methods":["POST"],"args":{"email":{"type":"string","description":"\u65b0\u7528\u6237\u7684\u7535\u90ae\u5730\u5740\u3002","required":true},"first_name":{"description":"\u987e\u5ba2\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u987e\u5ba2\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"username":{"description":"\u65b0\u7528\u6237\u7684\u7528\u6237\u540d\u3002","type":"string","required":false},"password":{"description":"\u65b0\u7528\u6237\u7684\u5bc6\u7801\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u7684\u6570\u636e\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u6570\u636e\u7684\u5217\u8868\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/customers"}]}},"\/wc\/v1\/customers\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"email":{"description":"\u987e\u5ba2\u7684\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","required":false},"first_name":{"description":"\u987e\u5ba2\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u987e\u5ba2\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"username":{"description":"\u987e\u5ba2\u7684\u767b\u5f55\u7528\u6237\u540d\u3002","type":"string","required":false},"password":{"description":"\u987e\u5ba2\u7684\u5bc6\u7801\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u7684\u6570\u636e\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u6570\u636e\u7684\u5217\u8868\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false},"reassign":{"default":0,"type":"integer","description":"\u91cd\u65b0\u6307\u5b9a\u6587\u7ae0\u7684ID\u3002","required":false}}}]},"\/wc\/v1\/customers\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"description":"\u987e\u5ba2\u7684\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","required":false},"first_name":{"description":"\u987e\u5ba2\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u987e\u5ba2\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"username":{"description":"\u987e\u5ba2\u7684\u767b\u5f55\u7528\u6237\u540d\u3002","type":"string","required":false},"password":{"description":"\u987e\u5ba2\u7684\u5bc6\u7801\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u7684\u6570\u636e\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u6570\u636e\u7684\u5217\u8868\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/customers\/batch"}]}},"\/wc\/v1\/orders\/(?P[\\d]+)\/notes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"note":{"type":"string","description":"\u8ba2\u5355\u5907\u6ce8\u5185\u5bb9\u3002","required":true},"customer_note":{"default":false,"description":"\u663e\u793a\/\u5b9a\u4e49\u8ba2\u5355\u7684\u8bf4\u660e\u6216\u8fd9\u4e2a\u7ed9\u987e\u5ba2\u7684\u63d0\u793a(\u7528\u6237\u5c06\u4f1a\u88ab\u901a\u77e5\u5230)\u3002","type":"boolean","required":false}}}]},"\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/orders\/(?P[\\d]+)\/refunds":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"filter":{"type":"object","description":"\u4f7f\u7528 WP Query \u53c2\u6570\u4fee\u6539\u54cd\u5e94\uff1b\u79c1\u6709\u7684\u67e5\u8be2\u5b57\u6bb5\u9700\u8981\u9002\u5f53\u7684\u8ba4\u8bc1\u6743\u9650\u3002","required":false},"status":{"default":"any","description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e00\u4e2a\u7279\u5b9a\u72b6\u6001\u7684\u8ba2\u5355\u3002","type":"string","enum":["any","pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"customer":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u67d0\u4e00\u4e2a\u987e\u5ba2\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"dp":{"default":2,"description":"\u6bcf\u4e2a\u8d44\u6e90\u4e2d\u4f7f\u7528\u7684\u5c0f\u6570\u70b9\u7684\u6570\u76ee","type":"integer","required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"amount":{"description":"\u9000\u6b3e\u7684\u91d1\u989d\u3002","type":"string","required":false},"reason":{"description":"\u9000\u6b3e\u7684\u539f\u56e0\u3002","type":"string","required":false}}}]},"\/wc\/v1\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/orders":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"filter":{"type":"object","description":"\u4f7f\u7528 WP Query \u53c2\u6570\u4fee\u6539\u54cd\u5e94\uff1b\u79c1\u6709\u7684\u67e5\u8be2\u5b57\u6bb5\u9700\u8981\u9002\u5f53\u7684\u8ba4\u8bc1\u6743\u9650\u3002","required":false},"status":{"default":"any","description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e00\u4e2a\u7279\u5b9a\u72b6\u6001\u7684\u8ba2\u5355\u3002","type":"string","enum":["any","pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"customer":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u67d0\u4e00\u4e2a\u987e\u5ba2\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"dp":{"default":2,"description":"\u6bcf\u4e2a\u8d44\u6e90\u4e2d\u4f7f\u7528\u7684\u5c0f\u6570\u70b9\u7684\u6570\u76ee","type":"integer","required":false}}},{"methods":["POST"],"args":{"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"default":"pending","description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"default":"GBP","description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"default":0,"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"set_paid":{"default":false,"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"],"readonly":true},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta":{"description":"\u8ba2\u5355\u7269\u54c1\u7684\u5143\u6570\u636e.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"\u5143\u6570\u636e\u7684\u663e\u793a\u6807\u7b7e\u3002","type":"string","context":["view","edit"],"readonly":true},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"],"readonly":true}}}}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"]},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/orders"}]}},"\/wc\/v1\/orders\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"set_paid":{"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"],"readonly":true},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta":{"description":"\u8ba2\u5355\u7269\u54c1\u7684\u5143\u6570\u636e.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"\u5143\u6570\u636e\u7684\u663e\u793a\u6807\u7b7e\u3002","type":"string","context":["view","edit"],"readonly":true},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"],"readonly":true}}}}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"]},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v1\/orders\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1\u3002","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2\u3002","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"set_paid":{"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"],"readonly":true},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta":{"description":"\u8ba2\u5355\u7269\u54c1\u7684\u5143\u6570\u636e.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"\u5143\u6570\u636e\u7684\u663e\u793a\u6807\u7b7e\u3002","type":"string","context":["view","edit"],"readonly":true},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"],"readonly":true}}}}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"]},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u7236\u7ea7\u7684\u8d44\u6e90\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}]},"\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}]},"\/wc\/v1\/products\/attributes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","type":"string","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"default":"select","description":"\u5c5e\u6027\u7684\u7c7b\u578b\u3002","type":"string","enum":["select"],"required":false},"order_by":{"default":"menu_order","description":"\u9ed8\u8ba4\u6392\u5e8f\u3002","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"default":false,"description":"\u542f\u7528\/\u7981\u7528\u5c5e\u6027\u5f52\u6863\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u5c5e\u6027\u7684\u7c7b\u578b\u3002","type":"string","enum":["select"],"required":false},"order_by":{"description":"\u9ed8\u8ba4\u6392\u5e8f\u3002","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"\u542f\u7528\/\u7981\u7528\u5c5e\u6027\u5f52\u6863\u3002","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/products\/attributes\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u5c5e\u6027\u7684\u7c7b\u578b\u3002","type":"string","enum":["select"],"required":false},"order_by":{"description":"\u9ed8\u8ba4\u6392\u5e8f\u3002","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"\u542f\u7528\/\u7981\u7528\u5c5e\u6027\u5f52\u6863\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/products\/attributes\/batch"}]}},"\/wc\/v1\/products\/categories":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u7236\u7ea7\u7684\u8d44\u6e90\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"default":"default","description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/products\/categories\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"review":{"type":"string","description":"\u8bc4\u4ef7\u5185\u5bb9\u3002","required":true},"date_created":{"description":"\u8be5\u8bc4\u4ef7\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","required":false},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false},"name":{"type":"string","description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","required":true},"email":{"type":"string","description":"\u8bc4\u4ef7\u8005\u7684\u90ae\u4ef6\u5730\u5740\u3002","required":true}}}]},"\/wc\/v1\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"review":{"description":"\u8bc4\u4ef7\u7684\u5185\u5bb9\u3002","type":"string","required":false},"date_created":{"description":"\u8be5\u8bc4\u4ef7\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","required":false},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false},"name":{"description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","type":"string","required":false},"email":{"description":"\u8bc4\u4ef7\u4eba\u7684\u90ae\u4ef6\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v1\/products\/shipping_classes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/products\/shipping_classes\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/products\/shipping_classes\/batch"}]}},"\/wc\/v1\/products\/tags":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/products\/tags\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/products\/tags\/batch"}]}},"\/wc\/v1\/products":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"filter":{"type":"object","description":"\u4f7f\u7528 WP Query \u53c2\u6570\u4fee\u6539\u54cd\u5e94\uff1b\u79c1\u6709\u7684\u67e5\u8be2\u5b57\u6bb5\u9700\u8981\u9002\u5f53\u7684\u8ba4\u8bc1\u6743\u9650\u3002","required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"type":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"category":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5206\u7c7b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"tag":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u6807\u7b7e\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"shipping_class":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u914d\u9001\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"attribute":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"attribute_term":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u7c7b\u522b(\u9700\u8981\u6307\u5b9a\u4e00\u4e2a\u5c5e\u6027)\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"sku":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684SKU\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"type":{"default":"simple","description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"default":"publish","description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"default":false,"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"default":"visible","description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u5f00\u59cb\u65e5\u671f\u3002","type":"string","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u622a\u6b62\u65e5\u671f\u3002","type":"string","required":false},"virtual":{"default":false,"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"default":false,"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"default":-1,"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"download_type":{"default":"standard","description":"\u4e0b\u8f7d\u7684\u7c7b\u578b\uff0c\u5c06\u7528\u4e8e\u524d\u7aef\u7684\u663e\u793a\u3002","type":"string","enum":["standard"],"required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"default":"taxable","description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"default":false,"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"in_stock":{"default":true,"description":"\u63a7\u5236\u5728\u524d\u7aef\u662f\u5426\u4ea7\u54c1\u88ab\u5217\u4e3a\"\u6709\u8d27\"\u6216\"\u7f3a\u8d27\" \u3002","type":"boolean","required":false},"backorders":{"default":"no","description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"default":false,"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"default":true,"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"upsell \u4ea7\u54c1ID \u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","context":["view","edit"]}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"variations":{"description":"\u53d8\u91cf\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u53d8\u91cfID\u3002","type":"integer","context":["view","edit"],"readonly":true},"date_created":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u53d8\u91cf\u7684\u521b\u5efa\u65f6\u95f4\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u53d8\u91cf\u7684\u6700\u540e\u4fee\u6539\u65f6\u95f4\u3002","type":"date-time","context":["view","edit"],"readonly":true},"permalink":{"description":"\u53d8\u91cf\u7684URL\u3002","type":"string","format":"uri","context":["view","edit"],"readonly":true},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","context":["view","edit"]},"price":{"description":"\u5f53\u524d\u53d8\u91cf\u7684\u4ef7\u683c\u3002","type":"string","context":["view","edit"],"readonly":true},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","context":["view","edit"]},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","context":["view","edit"]},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u5f00\u59cb\u65e5\u671f\u3002","type":"string","context":["view","edit"]},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u622a\u6b62\u65e5\u671f\u3002","type":"string","context":["view","edit"]},"on_sale":{"description":"\u663e\u793a\u8be5\u53d8\u91cf\u4ea7\u54c1\u662f\u5426\u6b63\u5728\u4fc3\u9500\u3002","type":"boolean","context":["view","edit"],"readonly":true},"purchasable":{"description":"\u663e\u793a\u8be5\u53d8\u91cf\u662f\u5426\u53ef\u88ab\u8d2d\u4e70\u3002","type":"boolean","context":["view","edit"],"readonly":true},"visible":{"description":"\u5982\u679c\u6b64\u53d8\u91cf\u662f\u53ef\u89c1\u7684\u3002","type":"boolean","context":["view","edit"]},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","default":false,"context":["view","edit"]},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","default":false,"context":["view","edit"]},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}}},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","default":null,"context":["view","edit"]},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","default":null,"context":["view","edit"]},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","default":"taxable","enum":["taxable","shipping","none"],"context":["view","edit"]},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","context":["view","edit"]},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","default":false,"context":["view","edit"]},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"in_stock":{"description":"\u63a7\u5236\u6b64\u53d8\u91cf\u4ea7\u54c1\u662f\u5426\u5728\u524d\u53f0\u663e\u793a\"\u73b0\u8d27\" \u6216 \"\u552e\u7f44\" \u3002","type":"boolean","default":true,"context":["view","edit"]},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","default":"no","enum":["no","notify","yes"],"context":["view","edit"]},"backorders_allowed":{"description":"\u5982\u679c\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u5c06\u4f1a\u663e\u793a\u3002","type":"boolean","context":["view","edit"],"readonly":true},"backordered":{"description":"\u5982\u679c\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u5c31\u663e\u793a\u3002","type":"boolean","context":["view","edit"],"readonly":true},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","context":["view","edit"]},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","context":["view","edit"],"properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}}},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"]},"shipping_class_id":{"description":"\u914d\u9001\u7c7b\u578b\u7684ID\u3002","type":"integer","context":["view","edit"],"readonly":true},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","context":["view","edit"],"properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}}},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}}}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/products"}]}},"\/wc\/v1\/products\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u5f00\u59cb\u65e5\u671f\u3002","type":"string","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u622a\u6b62\u65e5\u671f\u3002","type":"string","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"download_type":{"description":"\u4e0b\u8f7d\u7684\u7c7b\u578b\uff0c\u5c06\u7528\u4e8e\u524d\u7aef\u7684\u663e\u793a\u3002","type":"string","enum":["standard"],"required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"in_stock":{"description":"\u63a7\u5236\u5728\u524d\u7aef\u662f\u5426\u4ea7\u54c1\u88ab\u5217\u4e3a\"\u6709\u8d27\"\u6216\"\u7f3a\u8d27\" \u3002","type":"boolean","required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"upsell \u4ea7\u54c1ID \u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","context":["view","edit"]}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"variations":{"description":"\u53d8\u91cf\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u53d8\u91cfID\u3002","type":"integer","context":["view","edit"],"readonly":true},"date_created":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u53d8\u91cf\u7684\u521b\u5efa\u65f6\u95f4\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u53d8\u91cf\u7684\u6700\u540e\u4fee\u6539\u65f6\u95f4\u3002","type":"date-time","context":["view","edit"],"readonly":true},"permalink":{"description":"\u53d8\u91cf\u7684URL\u3002","type":"string","format":"uri","context":["view","edit"],"readonly":true},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","context":["view","edit"]},"price":{"description":"\u5f53\u524d\u53d8\u91cf\u7684\u4ef7\u683c\u3002","type":"string","context":["view","edit"],"readonly":true},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","context":["view","edit"]},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","context":["view","edit"]},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u5f00\u59cb\u65e5\u671f\u3002","type":"string","context":["view","edit"]},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u622a\u6b62\u65e5\u671f\u3002","type":"string","context":["view","edit"]},"on_sale":{"description":"\u663e\u793a\u8be5\u53d8\u91cf\u4ea7\u54c1\u662f\u5426\u6b63\u5728\u4fc3\u9500\u3002","type":"boolean","context":["view","edit"],"readonly":true},"purchasable":{"description":"\u663e\u793a\u8be5\u53d8\u91cf\u662f\u5426\u53ef\u88ab\u8d2d\u4e70\u3002","type":"boolean","context":["view","edit"],"readonly":true},"visible":{"description":"\u5982\u679c\u6b64\u53d8\u91cf\u662f\u53ef\u89c1\u7684\u3002","type":"boolean","context":["view","edit"]},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","default":false,"context":["view","edit"]},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","default":false,"context":["view","edit"]},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}}},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","default":null,"context":["view","edit"]},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","default":null,"context":["view","edit"]},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","default":"taxable","enum":["taxable","shipping","none"],"context":["view","edit"]},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","context":["view","edit"]},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","default":false,"context":["view","edit"]},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"in_stock":{"description":"\u63a7\u5236\u6b64\u53d8\u91cf\u4ea7\u54c1\u662f\u5426\u5728\u524d\u53f0\u663e\u793a\"\u73b0\u8d27\" \u6216 \"\u552e\u7f44\" \u3002","type":"boolean","default":true,"context":["view","edit"]},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","default":"no","enum":["no","notify","yes"],"context":["view","edit"]},"backorders_allowed":{"description":"\u5982\u679c\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u5c06\u4f1a\u663e\u793a\u3002","type":"boolean","context":["view","edit"],"readonly":true},"backordered":{"description":"\u5982\u679c\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u5c31\u663e\u793a\u3002","type":"boolean","context":["view","edit"],"readonly":true},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","context":["view","edit"]},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","context":["view","edit"],"properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}}},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"]},"shipping_class_id":{"description":"\u914d\u9001\u7c7b\u578b\u7684ID\u3002","type":"integer","context":["view","edit"],"readonly":true},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","context":["view","edit"],"properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}}},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}}}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","type":"boolean","required":false}}}]},"\/wc\/v1\/products\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u5f00\u59cb\u65e5\u671f\u3002","type":"string","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u622a\u6b62\u65e5\u671f\u3002","type":"string","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"download_type":{"description":"\u4e0b\u8f7d\u7684\u7c7b\u578b\uff0c\u5c06\u7528\u4e8e\u524d\u7aef\u7684\u663e\u793a\u3002","type":"string","enum":["standard"],"required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"in_stock":{"description":"\u63a7\u5236\u5728\u524d\u7aef\u662f\u5426\u4ea7\u54c1\u88ab\u5217\u4e3a\"\u6709\u8d27\"\u6216\"\u7f3a\u8d27\" \u3002","type":"boolean","required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"upsell \u4ea7\u54c1ID \u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","context":["view","edit"]}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"variations":{"description":"\u53d8\u91cf\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u53d8\u91cfID\u3002","type":"integer","context":["view","edit"],"readonly":true},"date_created":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u53d8\u91cf\u7684\u521b\u5efa\u65f6\u95f4\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u53d8\u91cf\u7684\u6700\u540e\u4fee\u6539\u65f6\u95f4\u3002","type":"date-time","context":["view","edit"],"readonly":true},"permalink":{"description":"\u53d8\u91cf\u7684URL\u3002","type":"string","format":"uri","context":["view","edit"],"readonly":true},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","context":["view","edit"]},"price":{"description":"\u5f53\u524d\u53d8\u91cf\u7684\u4ef7\u683c\u3002","type":"string","context":["view","edit"],"readonly":true},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","context":["view","edit"]},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","context":["view","edit"]},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u5f00\u59cb\u65e5\u671f\u3002","type":"string","context":["view","edit"]},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u683c\u7684\u622a\u6b62\u65e5\u671f\u3002","type":"string","context":["view","edit"]},"on_sale":{"description":"\u663e\u793a\u8be5\u53d8\u91cf\u4ea7\u54c1\u662f\u5426\u6b63\u5728\u4fc3\u9500\u3002","type":"boolean","context":["view","edit"],"readonly":true},"purchasable":{"description":"\u663e\u793a\u8be5\u53d8\u91cf\u662f\u5426\u53ef\u88ab\u8d2d\u4e70\u3002","type":"boolean","context":["view","edit"],"readonly":true},"visible":{"description":"\u5982\u679c\u6b64\u53d8\u91cf\u662f\u53ef\u89c1\u7684\u3002","type":"boolean","context":["view","edit"]},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","default":false,"context":["view","edit"]},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","default":false,"context":["view","edit"]},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}}},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","default":null,"context":["view","edit"]},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","default":null,"context":["view","edit"]},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","default":"taxable","enum":["taxable","shipping","none"],"context":["view","edit"]},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","context":["view","edit"]},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","default":false,"context":["view","edit"]},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"in_stock":{"description":"\u63a7\u5236\u6b64\u53d8\u91cf\u4ea7\u54c1\u662f\u5426\u5728\u524d\u53f0\u663e\u793a\"\u73b0\u8d27\" \u6216 \"\u552e\u7f44\" \u3002","type":"boolean","default":true,"context":["view","edit"]},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","default":"no","enum":["no","notify","yes"],"context":["view","edit"]},"backorders_allowed":{"description":"\u5982\u679c\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u5c06\u4f1a\u663e\u793a\u3002","type":"boolean","context":["view","edit"],"readonly":true},"backordered":{"description":"\u5982\u679c\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u5c31\u663e\u793a\u3002","type":"boolean","context":["view","edit"],"readonly":true},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","context":["view","edit"]},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","context":["view","edit"],"properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}}},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"]},"shipping_class_id":{"description":"\u914d\u9001\u7c7b\u578b\u7684ID\u3002","type":"integer","context":["view","edit"],"readonly":true},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","context":["view","edit"],"properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}}},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}}}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/products\/batch"}]}},"\/wc\/v1\/reports\/sales":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"\u62a5\u8868\u5468\u671f\u3002","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u5f00\u59cb\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false},"date_max":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u622a\u6b62\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/reports\/sales"}]}},"\/wc\/v1\/reports\/top_sellers":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"\u62a5\u8868\u5468\u671f\u3002","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u5f00\u59cb\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false},"date_max":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u622a\u6b62\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/reports\/top_sellers"}]}},"\/wc\/v1\/reports":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/reports"}]}},"\/wc\/v1\/taxes\/classes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u7a0e\u79cd\u540d\u79f0\u3002","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/taxes\/classes"}]}},"\/wc\/v1\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)":{"namespace":"wc\/v1","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"slug":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00\u522b\u540d\u3002","type":"string","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/taxes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"default":"asc","description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"order","description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","enum":["id","order"],"type":"string","required":false},"class":{"description":"\u4ee5\u7a0e\u79cd\u6392\u5217\u3002","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"type":"string","required":false}}},{"methods":["POST"],"args":{"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"default":1,"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"default":false,"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"default":true,"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"default":"standard","description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/taxes"}]}},"\/wc\/v1\/taxes\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/taxes\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/taxes\/batch"}]}},"\/wc\/v1\/webhooks":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","title"],"required":false},"status":{"default":"all","description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u72b6\u6001\u76f8\u5173\u7684webhooks\u3002","type":"string","enum":["all","active","paused","disabled"],"required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u4e00\u4e2a\u53cb\u597d\u7684webhook\u540d\u79f0\u3002","type":"string","required":false},"status":{"default":"active","description":"Webhook \u72b6\u6001\u3002","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"type":"string","description":"Webhook \u8bdd\u9898\u3002","required":true},"secret":{"description":"\u5bc6\u94a5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5206\u53d1\u7684webhook HASH\u5e76\u63d0\u4f9b\u5230\u8bf7\u6c42\u5934\u91cc\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\uff0c\u5b83\u9ed8\u8ba4\u662f\u5f53\u524d\u7528\u6237\u7684 ID|\u7528\u6237\u540d \u7684 MD5 \u503c\u3002","type":"string","required":false},"delivery_url":{"type":"string","description":"Webhook \u4f20\u9012 URL\u3002","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/webhooks"}]}},"\/wc\/v1\/webhooks\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u4e00\u4e2a\u53cb\u597d\u7684webhook\u540d\u79f0\u3002","type":"string","required":false},"status":{"description":"Webhook \u72b6\u6001\u3002","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook \u8bdd\u9898\u3002","type":"string","required":false},"secret":{"description":"\u5bc6\u94a5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5206\u53d1\u7684webhook HASH\u5e76\u63d0\u4f9b\u5230\u8bf7\u6c42\u5934\u91cc\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\uff0c\u5b83\u9ed8\u8ba4\u662f\u5f53\u524d\u7528\u6237\u7684 ID|\u7528\u6237\u540d \u7684 MD5 \u503c\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v1\/webhooks\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u4e00\u4e2a\u53cb\u597d\u7684webhook\u540d\u79f0\u3002","type":"string","required":false},"status":{"description":"Webhook \u72b6\u6001\u3002","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook \u8bdd\u9898\u3002","type":"string","required":false},"secret":{"description":"\u5bc6\u94a5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5206\u53d1\u7684webhook HASH\u5e76\u63d0\u4f9b\u5230\u8bf7\u6c42\u5934\u91cc\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\uff0c\u5b83\u9ed8\u8ba4\u662f\u5f53\u524d\u7528\u6237\u7684 ID|\u7528\u6237\u540d \u7684 MD5 \u503c\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v1\/webhooks\/batch"}]}},"\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"description":"\u8be5webhook\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"description":"\u8be5webhook\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/v2":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/v2","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2"}]}},"\/wc\/v2\/coupons":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"code":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u542b\u6709\u7279\u5b9a\u4ee3\u7801\u7684\u4f18\u60e0\u5238\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":true},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"discount_type":{"default":"fixed_cart","description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"date_expires":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"string","required":false},"date_expires_gmt":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"string","required":false},"individual_use":{"default":false,"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"default":false,"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"default":false,"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/coupons"}]}},"\/wc\/v2\/coupons\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":false},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"discount_type":{"description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"date_expires":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"string","required":false},"date_expires_gmt":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"string","required":false},"individual_use":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v2\/coupons\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":false},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"discount_type":{"description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"date_expires":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"string","required":false},"date_expires_gmt":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"string","required":false},"individual_use":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/coupons\/batch"}]}},"\/wc\/v2\/customers\/(?P[\\d]+)\/downloads":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v2\/customers":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"default":"asc","description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"name","description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","enum":["id","include","name","registered_date"],"type":"string","required":false},"email":{"description":"\u9650\u5b9a\u8d44\u6e90\u4e3a\u542b\u6709\u7279\u5b9a\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","required":false},"role":{"description":"\u9650\u5b9a\u8d44\u6e90\u4e3a\u6709\u4e00\u4e2a\u7279\u5b9a\u7684\u89d2\u8272\u3002","type":"string","default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","customer","shop_manager"],"required":false}}},{"methods":["POST"],"args":{"email":{"type":"string","description":"\u65b0\u7528\u6237\u7684\u7535\u90ae\u5730\u5740\u3002","required":true},"first_name":{"description":"\u987e\u5ba2\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u987e\u5ba2\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"username":{"description":"\u65b0\u7528\u6237\u7684\u7528\u6237\u540d\u3002","type":"string","required":false},"password":{"description":"\u65b0\u7528\u6237\u7684\u5bc6\u7801\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u7684\u6570\u636e\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u6570\u636e\u7684\u5217\u8868\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/customers"}]}},"\/wc\/v2\/customers\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"email":{"description":"\u987e\u5ba2\u7684\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","required":false},"first_name":{"description":"\u987e\u5ba2\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u987e\u5ba2\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"username":{"description":"\u987e\u5ba2\u7684\u767b\u5f55\u7528\u6237\u540d\u3002","type":"string","required":false},"password":{"description":"\u987e\u5ba2\u7684\u5bc6\u7801\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u7684\u6570\u636e\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u6570\u636e\u7684\u5217\u8868\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false},"reassign":{"default":0,"type":"integer","description":"\u91cd\u65b0\u6307\u5b9a\u6587\u7ae0\u7684ID\u3002","required":false}}}]},"\/wc\/v2\/customers\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"description":"\u987e\u5ba2\u7684\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","required":false},"first_name":{"description":"\u987e\u5ba2\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u987e\u5ba2\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"username":{"description":"\u987e\u5ba2\u7684\u767b\u5f55\u7528\u6237\u540d\u3002","type":"string","required":false},"password":{"description":"\u987e\u5ba2\u7684\u5bc6\u7801\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u7684\u6570\u636e\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u6570\u636e\u7684\u5217\u8868\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/customers\/batch"}]}},"\/wc\/v2\/orders\/(?P[\\d]+)\/notes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"type":{"default":"any","description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u987e\u5ba2\u7684\u6216\u5185\u90e8\u7684\u5907\u6ce8\u3002","type":"string","enum":["any","customer","internal"],"required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"note":{"type":"string","description":"\u8ba2\u5355\u5907\u6ce8\u5185\u5bb9\u3002","required":true},"customer_note":{"default":false,"description":"\u4e3atrue\u65f6\uff0c\u5907\u6ce8\u5c06\u4f1a\u663e\u793a\u7ed9\u987e\u5ba2\uff1b\u4e3afalse\u65f6\uff0c\u5907\u6ce8\u5c06\u4ec5\u5728\u540e\u53f0\u53ef\u89c1\u3002","type":"boolean","required":false}}}]},"\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/orders\/(?P[\\d]+)\/refunds":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"dp":{"default":2,"description":"\u6bcf\u4e2a\u8d44\u6e90\u4e2d\u4f7f\u7528\u7684\u5c0f\u6570\u70b9\u7684\u6570\u76ee","type":"integer","required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"amount":{"description":"\u9000\u6b3e\u7684\u91d1\u989d\u3002","type":"string","required":false},"reason":{"description":"\u9000\u6b3e\u7684\u539f\u56e0\u3002","type":"string","required":false},"refunded_by":{"description":"\u521b\u5efa\u9000\u6b3e\u7684\u7528\u6237\u7684\u7528\u6237ID\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"api_refund":{"default":true,"description":"\u4e3atrue\u65f6\uff0c\u652f\u4ed8\u7f51\u5173API\u5c06\u53ef\u652f\u6301\u9000\u6b3e\u3002","type":"boolean","required":false}}}]},"\/wc\/v2\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/orders":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"status":{"default":"any","description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e00\u4e2a\u7279\u5b9a\u72b6\u6001\u7684\u8ba2\u5355\u3002","type":"string","enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"customer":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u67d0\u4e00\u4e2a\u987e\u5ba2\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"dp":{"default":2,"description":"\u6bcf\u4e2a\u8d44\u6e90\u4e2d\u4f7f\u7528\u7684\u5c0f\u6570\u70b9\u7684\u6570\u76ee","type":"integer","required":false}}},{"methods":["POST"],"args":{"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"default":"pending","description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"default":"GBP","description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"default":0,"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"]},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"instance_id":{"description":"\u914d\u9001\u5b9e\u4f8b ID\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"]},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"set_paid":{"default":false,"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/orders"}]}},"\/wc\/v2\/orders\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"]},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"instance_id":{"description":"\u914d\u9001\u5b9e\u4f8b ID\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"]},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v2\/orders\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"]},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"instance_id":{"description":"\u914d\u9001\u5b9e\u4f8b ID\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"]},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u7236\u7ea7\u7684\u8d44\u6e90\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}]},"\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}]},"\/wc\/v2\/products\/attributes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","type":"string","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"default":"select","description":"\u5c5e\u6027\u7684\u7c7b\u578b\u3002","type":"string","enum":["select"],"required":false},"order_by":{"default":"menu_order","description":"\u9ed8\u8ba4\u6392\u5e8f\u3002","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"default":false,"description":"\u542f\u7528\/\u7981\u7528\u5c5e\u6027\u5f52\u6863\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u5c5e\u6027\u7684\u7c7b\u578b\u3002","type":"string","enum":["select"],"required":false},"order_by":{"description":"\u9ed8\u8ba4\u6392\u5e8f\u3002","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"\u542f\u7528\/\u7981\u7528\u5c5e\u6027\u5f52\u6863\u3002","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/products\/attributes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u5c5e\u6027\u7684\u7c7b\u578b\u3002","type":"string","enum":["select"],"required":false},"order_by":{"description":"\u9ed8\u8ba4\u6392\u5e8f\u3002","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"\u542f\u7528\/\u7981\u7528\u5c5e\u6027\u5f52\u6863\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/products\/attributes\/batch"}]}},"\/wc\/v2\/products\/categories":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u7236\u7ea7\u7684\u8d44\u6e90\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"default":"default","description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/products\/categories\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"review":{"type":"string","description":"\u8bc4\u4ef7\u5185\u5bb9\u3002","required":true},"date_created":{"description":"\u8be5\u8bc4\u4ef7\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","required":false},"date_created_gmt":{"description":"\u8bc4\u4ef7\u521b\u5efa\u65f6\u95f4\uff0c\u65f6\u533a\u662fGMT\u3002","type":"date-time","required":false},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false},"name":{"type":"string","description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","required":true},"email":{"type":"string","description":"\u8bc4\u4ef7\u8005\u7684\u90ae\u4ef6\u5730\u5740\u3002","required":true}}}]},"\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"review":{"description":"\u8bc4\u4ef7\u7684\u5185\u5bb9\u3002","type":"string","required":false},"date_created":{"description":"\u8be5\u8bc4\u4ef7\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","required":false},"date_created_gmt":{"description":"\u8bc4\u4ef7\u521b\u5efa\u65f6\u95f4\uff0c\u65f6\u533a\u662fGMT\u3002","type":"date-time","required":false},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false},"name":{"description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","type":"string","required":false},"email":{"description":"\u8bc4\u4ef7\u4eba\u7684\u90ae\u4ef6\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"review":{"description":"\u8bc4\u4ef7\u7684\u5185\u5bb9\u3002","type":"string","required":false},"date_created":{"description":"\u8be5\u8bc4\u4ef7\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","required":false},"date_created_gmt":{"description":"\u8bc4\u4ef7\u521b\u5efa\u65f6\u95f4\uff0c\u65f6\u533a\u662fGMT\u3002","type":"date-time","required":false},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false},"name":{"description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","type":"string","required":false},"email":{"description":"\u8bc4\u4ef7\u4eba\u7684\u90ae\u4ef6\u3002","type":"string","required":false}}}]},"\/wc\/v2\/products\/shipping_classes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/products\/shipping_classes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/products\/shipping_classes\/batch"}]}},"\/wc\/v2\/products\/tags":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/products\/tags\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/products\/tags\/batch"}]}},"\/wc\/v2\/products":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug","menu_order"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"type":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"featured":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"category":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5206\u7c7b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"tag":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u6807\u7b7e\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"shipping_class":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u914d\u9001\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"attribute":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u76f8\u5173\u7684\u4ea7\u54c1\u3002\u4f7f\u7528\u5206\u7c7b\u540d\u79f0\/\u5c5e\u6027\u522b\u540d\u3002","type":"string","required":false},"attribute_term":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u7c7b\u522b(\u9700\u8981\u6307\u5b9a\u4e00\u4e2a\u5c5e\u6027)\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"in_stock":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u8d27\u6216\u552e\u7f44\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"type":{"default":"simple","description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"default":"publish","description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"default":false,"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"default":"visible","description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7684\u622a\u6b62\u65e5\u671f\uff0c\u6309 GMT \u65f6\u95f4\u3002","type":"date-time","required":false},"virtual":{"default":false,"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"default":false,"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"default":-1,"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"default":"taxable","description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"default":false,"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"in_stock":{"default":true,"description":"\u63a7\u5236\u5728\u524d\u7aef\u662f\u5426\u4ea7\u54c1\u88ab\u5217\u4e3a\"\u6709\u8d27\"\u6216\"\u7f3a\u8d27\" \u3002","type":"boolean","required":false},"backorders":{"default":"no","description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"default":false,"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"default":true,"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"\u8ffd\u52a0\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","context":["view","edit"],"items":{"type":"string"}}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"grouped_products":{"description":"\u6210\u7ec4\u4ea7\u54c1\u7684ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/products"}]}},"\/wc\/v2\/products\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7684\u622a\u6b62\u65e5\u671f\uff0c\u6309 GMT \u65f6\u95f4\u3002","type":"date-time","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"in_stock":{"description":"\u63a7\u5236\u5728\u524d\u7aef\u662f\u5426\u4ea7\u54c1\u88ab\u5217\u4e3a\"\u6709\u8d27\"\u6216\"\u7f3a\u8d27\" \u3002","type":"boolean","required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"\u8ffd\u52a0\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","context":["view","edit"],"items":{"type":"string"}}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"grouped_products":{"description":"\u6210\u7ec4\u4ea7\u54c1\u7684ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","type":"boolean","required":false}}}]},"\/wc\/v2\/products\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7684\u622a\u6b62\u65e5\u671f\uff0c\u6309 GMT \u65f6\u95f4\u3002","type":"date-time","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"in_stock":{"description":"\u63a7\u5236\u5728\u524d\u7aef\u662f\u5426\u4ea7\u54c1\u88ab\u5217\u4e3a\"\u6709\u8d27\"\u6216\"\u7f3a\u8d27\" \u3002","type":"boolean","required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"\u8ffd\u52a0\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","context":["view","edit"],"items":{"type":"string"}}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"grouped_products":{"description":"\u6210\u7ec4\u4ea7\u54c1\u7684ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/products\/batch"}]}},"\/wc\/v2\/products\/(?P[\\d]+)\/variations":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug","menu_order"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"type":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"featured":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"category":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5206\u7c7b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"tag":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u6807\u7b7e\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"shipping_class":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u914d\u9001\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"attribute":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u76f8\u5173\u7684\u4ea7\u54c1\u3002\u4f7f\u7528\u5206\u7c7b\u540d\u79f0\/\u5c5e\u6027\u522b\u540d\u3002","type":"string","required":false},"attribute_term":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u7c7b\u522b(\u9700\u8981\u6307\u5b9a\u4e00\u4e2a\u5c5e\u6027)\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"in_stock":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u8d27\u6216\u552e\u7f44\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7684\u622a\u6b62\u65e5\u671f\uff0c\u6309 GMT \u65f6\u95f4\u3002","type":"date-time","required":false},"visible":{"default":true,"description":"\u5b9a\u4e49\u8be5\u53d8\u91cf\u5728\u4ea7\u54c1\u9875\u9762\u662f\u5426\u53ef\u89c1\u3002","type":"boolean","required":false},"virtual":{"default":false,"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"default":false,"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"default":-1,"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"default":"taxable","description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"default":false,"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"mixed","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"in_stock":{"default":true,"description":"\u63a7\u5236\u6b64\u53d8\u91cf\u4ea7\u54c1\u662f\u5426\u5728\u524d\u53f0\u663e\u793a\"\u73b0\u8d27\" \u6216 \"\u552e\u7f44\" \u3002","type":"boolean","required":false},"backorders":{"default":"no","description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}]},"\/wc\/v2\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7684\u622a\u6b62\u65e5\u671f\uff0c\u6309 GMT \u65f6\u95f4\u3002","type":"date-time","required":false},"visible":{"description":"\u5b9a\u4e49\u8be5\u53d8\u91cf\u5728\u4ea7\u54c1\u9875\u9762\u662f\u5426\u53ef\u89c1\u3002","type":"boolean","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"mixed","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"in_stock":{"description":"\u63a7\u5236\u6b64\u53d8\u91cf\u4ea7\u54c1\u662f\u5426\u5728\u524d\u53f0\u663e\u793a\"\u73b0\u8d27\" \u6216 \"\u552e\u7f44\" \u3002","type":"boolean","required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v2\/products\/(?P[\\d]+)\/variations\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7684\u622a\u6b62\u65e5\u671f\uff0c\u6309 GMT \u65f6\u95f4\u3002","type":"date-time","required":false},"visible":{"description":"\u5b9a\u4e49\u8be5\u53d8\u91cf\u5728\u4ea7\u54c1\u9875\u9762\u662f\u5426\u53ef\u89c1\u3002","type":"boolean","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"mixed","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"in_stock":{"description":"\u63a7\u5236\u6b64\u53d8\u91cf\u4ea7\u54c1\u662f\u5426\u5728\u524d\u53f0\u663e\u793a\"\u73b0\u8d27\" \u6216 \"\u552e\u7f44\" \u3002","type":"boolean","required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u56fe\u7247\u7684\u4f4d\u7f6e\u30020\u8868\u793a\u8be5\u56fe\u7247\u4e3a\u7279\u8272\u56fe\u50cf\u3002","type":"integer","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}]},"\/wc\/v2\/reports\/sales":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"\u62a5\u8868\u5468\u671f\u3002","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u5f00\u59cb\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false},"date_max":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u622a\u6b62\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/reports\/sales"}]}},"\/wc\/v2\/reports\/top_sellers":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"\u62a5\u8868\u5468\u671f\u3002","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u5f00\u59cb\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false},"date_max":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u622a\u6b62\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/reports\/top_sellers"}]}},"\/wc\/v2\/reports":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/reports"}]}},"\/wc\/v2\/settings":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/settings"}]}},"\/wc\/v2\/settings\/(?P[\\w-]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false}}}]},"\/wc\/v2\/settings\/(?P[\\w-]+)\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"mixed","required":false}}}]},"\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"mixed","required":false}}}]},"\/wc\/v2\/shipping\/zones":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u914d\u9001\u533a\u57df\u540d\u79f0\u3002","required":true},"order":{"description":"\u914d\u9001\u533a\u57df\u6392\u5e8f\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"name":{"description":"\u914d\u9001\u533a\u57df\u540d\u79f0\u3002","type":"string","required":false},"order":{"description":"\u914d\u9001\u533a\u57df\u6392\u5e8f\u3002","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"code":{"description":"\u914d\u9001\u533a\u57df\u4f4d\u7f6e\u4ee3\u7801\u3002","type":"string","required":false},"type":{"description":"\u914d\u9001\u533a\u57df\u4f4d\u7f6e\u7c7b\u578b\u3002","type":"string","enum":["postcode","state","country","continent"],"required":false}}}]},"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}},{"methods":["POST"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"order":{"description":"\u914d\u9001\u65b9\u6cd5\u6392\u5e8f\u3002","type":"integer","required":false},"enabled":{"description":"\u914d\u9001\u65b9\u6cd5\u7684\u542f\u7528\u72b6\u6001\u3002","type":"boolean","required":false},"settings":{"description":"\u914d\u9001\u65b9\u6cd5\u8bbe\u7f6e\u3002","type":"object","properties":{"id":{"description":"\u8be5\u8bbe\u7f6e\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"\u8bbe\u7f6e\u9879\u7c7b\u578b\u3002","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"string","context":["view","edit"]},"default":{"description":"\u8be5\u8bbe\u7f6e\u7684\u9ed8\u8ba4\u503c\u3002","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"\u663e\u793a\u7ed9\u7528\u6237\u7684\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5e2e\u52a9\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"\u6587\u672c\u8f93\u5165\u680f\u7684\u5360\u4f4d\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true}},"required":false},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","required":true}}}]},"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"instance_id":{"description":"\u5b9e\u4f8b\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"instance_id":{"description":"\u5b9e\u4f8b\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"order":{"description":"\u914d\u9001\u65b9\u6cd5\u6392\u5e8f\u3002","type":"integer","required":false},"enabled":{"description":"\u914d\u9001\u65b9\u6cd5\u7684\u542f\u7528\u72b6\u6001\u3002","type":"boolean","required":false},"settings":{"description":"\u914d\u9001\u65b9\u6cd5\u8bbe\u7f6e\u3002","type":"object","properties":{"id":{"description":"\u8be5\u8bbe\u7f6e\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"\u8bbe\u7f6e\u9879\u7c7b\u578b\u3002","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"string","context":["view","edit"]},"default":{"description":"\u8be5\u8bbe\u7f6e\u7684\u9ed8\u8ba4\u503c\u3002","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"\u663e\u793a\u7ed9\u7528\u6237\u7684\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5e2e\u52a9\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"\u6587\u672c\u8f93\u5165\u680f\u7684\u5360\u4f4d\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true}},"required":false}}},{"methods":["DELETE"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"instance_id":{"description":"\u5b9e\u4f8b\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v2\/taxes\/classes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u7a0e\u79cd\u540d\u79f0\u3002","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/taxes\/classes"}]}},"\/wc\/v2\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)":{"namespace":"wc\/v2","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"slug":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00\u522b\u540d\u3002","type":"string","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/taxes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"default":"asc","description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"order","description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","enum":["id","order"],"type":"string","required":false},"class":{"description":"\u4ee5\u7a0e\u79cd\u6392\u5217\u3002","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"type":"string","required":false}}},{"methods":["POST"],"args":{"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"default":1,"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"default":false,"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"default":true,"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"default":"standard","description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/taxes"}]}},"\/wc\/v2\/taxes\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/taxes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/taxes\/batch"}]}},"\/wc\/v2\/webhooks":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","title"],"required":false},"status":{"default":"all","description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u72b6\u6001\u76f8\u5173\u7684webhooks\u3002","type":"string","enum":["all","active","paused","disabled"],"required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u4e00\u4e2a\u53cb\u597d\u7684webhook\u540d\u79f0\u3002","type":"string","required":false},"status":{"default":"active","description":"Webhook \u72b6\u6001\u3002","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"type":"string","description":"Webhook \u8bdd\u9898\u3002","required":true},"secret":{"description":"\u5bc6\u94a5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5206\u53d1\u7684webhook HASH\u5e76\u63d0\u4f9b\u5230\u8bf7\u6c42\u5934\u91cc\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\uff0c\u5b83\u9ed8\u8ba4\u662f\u5f53\u524d\u7528\u6237\u7684 ID|\u7528\u6237\u540d \u7684 MD5 \u503c\u3002","type":"string","required":false},"delivery_url":{"type":"string","description":"Webhook \u4f20\u9012 URL\u3002","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/webhooks"}]}},"\/wc\/v2\/webhooks\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u4e00\u4e2a\u53cb\u597d\u7684webhook\u540d\u79f0\u3002","type":"string","required":false},"status":{"description":"Webhook \u72b6\u6001\u3002","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook \u8bdd\u9898\u3002","type":"string","required":false},"secret":{"description":"\u5bc6\u94a5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5206\u53d1\u7684webhook HASH\u5e76\u63d0\u4f9b\u5230\u8bf7\u6c42\u5934\u91cc\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\uff0c\u5b83\u9ed8\u8ba4\u662f\u5f53\u524d\u7528\u6237\u7684 ID|\u7528\u6237\u540d \u7684 MD5 \u503c\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v2\/webhooks\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u4e00\u4e2a\u53cb\u597d\u7684webhook\u540d\u79f0\u3002","type":"string","required":false},"status":{"description":"Webhook \u72b6\u6001\u3002","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook \u8bdd\u9898\u3002","type":"string","required":false},"secret":{"description":"\u5bc6\u94a5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5206\u53d1\u7684webhook HASH\u5e76\u63d0\u4f9b\u5230\u8bf7\u6c42\u5934\u91cc\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\uff0c\u5b83\u9ed8\u8ba4\u662f\u5f53\u524d\u7528\u6237\u7684 ID|\u7528\u6237\u540d \u7684 MD5 \u503c\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/webhooks\/batch"}]}},"\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"description":"\u8be5webhook\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"description":"\u8be5webhook\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/v2\/system_status":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/system_status"}]}},"\/wc\/v2\/system_status\/tools":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u6b64\u5de5\u5177\u7684ID\u3002","type":"string","required":false},"name":{"description":"\u5de5\u5177\u540d\u79f0\u3002","type":"string","required":false},"action":{"description":"\u8fd0\u884c\u8be5\u5de5\u5177\u4f1a\u505a\u4ec0\u4e48\u3002","type":"string","required":false},"description":{"description":"\u5de5\u5177\u63cf\u8ff0\u3002","type":"string","required":false},"success":{"description":"\u6b64\u5de5\u5177\u662f\u5426\u8fd0\u884c\u6210\u529f?","type":"boolean","required":false},"message":{"description":"\u5de5\u5177\u8fd4\u56de\u4fe1\u606f\u3002","type":"string","required":false}}}]},"\/wc\/v2\/shipping_methods":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v2\/shipping_methods"}]}},"\/wc\/v2\/shipping_methods\/(?P[\\w-]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v2\/payment_gateways":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"title":{"description":"\u652f\u4ed8\u65f6\uff0c\u652f\u4ed8\u7f51\u5173\u7684\u6807\u9898\u3002","type":"string","required":false},"description":{"description":"\u652f\u4ed8\u65f6\uff0c\u652f\u4ed8\u7f51\u5173\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"order":{"description":"\u652f\u4ed8\u7f51\u5173\u7684\u6392\u5e8f\u3002","type":"integer","required":false},"enabled":{"description":"\u652f\u4ed8\u7f51\u5173\u7684\u542f\u7528\u72b6\u6001\u3002","type":"boolean","required":false},"settings":{"description":"\u652f\u4ed8\u7f51\u5173\u8bbe\u7f6e\u3002","type":"object","properties":{"id":{"description":"\u8be5\u8bbe\u7f6e\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"\u8bbe\u7f6e\u9879\u7c7b\u578b\u3002","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"string","context":["view","edit"]},"default":{"description":"\u8be5\u8bbe\u7f6e\u7684\u9ed8\u8ba4\u503c\u3002","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"\u663e\u793a\u7ed9\u7528\u6237\u7684\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5e2e\u52a9\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"\u6587\u672c\u8f93\u5165\u680f\u7684\u5360\u4f4d\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true}},"required":false}}}]},"\/wc\/v3":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/v3","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3"}]}},"\/wc\/v3\/coupons":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"code":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u542b\u6709\u7279\u5b9a\u4ee3\u7801\u7684\u4f18\u60e0\u5238\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":true},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"discount_type":{"default":"fixed_cart","description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"date_expires":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"string","required":false},"date_expires_gmt":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"string","required":false},"individual_use":{"default":false,"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"default":false,"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"default":false,"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/coupons"}]}},"\/wc\/v3\/coupons\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":false},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"discount_type":{"description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"date_expires":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"string","required":false},"date_expires_gmt":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"string","required":false},"individual_use":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v3\/coupons\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":false},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"discount_type":{"description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"date_expires":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"string","required":false},"date_expires_gmt":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"string","required":false},"individual_use":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/coupons\/batch"}]}},"\/wc\/v3\/customers\/(?P[\\d]+)\/downloads":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v3\/customers":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"default":"asc","description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"name","description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","enum":["id","include","name","registered_date"],"type":"string","required":false},"email":{"description":"\u9650\u5b9a\u8d44\u6e90\u4e3a\u542b\u6709\u7279\u5b9a\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","required":false},"role":{"description":"\u9650\u5b9a\u8d44\u6e90\u4e3a\u6709\u4e00\u4e2a\u7279\u5b9a\u7684\u89d2\u8272\u3002","type":"string","default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","customer","shop_manager"],"required":false}}},{"methods":["POST"],"args":{"email":{"type":"string","description":"\u65b0\u7528\u6237\u7684\u7535\u90ae\u5730\u5740\u3002","required":true},"first_name":{"description":"\u987e\u5ba2\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u987e\u5ba2\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"username":{"description":"\u65b0\u7528\u6237\u7684\u7528\u6237\u540d\u3002","type":"string","required":false},"password":{"description":"\u65b0\u7528\u6237\u7684\u5bc6\u7801\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u7684\u6570\u636e\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u6570\u636e\u7684\u5217\u8868\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/customers"}]}},"\/wc\/v3\/customers\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"email":{"description":"\u987e\u5ba2\u7684\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","required":false},"first_name":{"description":"\u987e\u5ba2\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u987e\u5ba2\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"username":{"description":"\u987e\u5ba2\u7684\u767b\u5f55\u7528\u6237\u540d\u3002","type":"string","required":false},"password":{"description":"\u987e\u5ba2\u7684\u5bc6\u7801\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u7684\u6570\u636e\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u6570\u636e\u7684\u5217\u8868\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false},"reassign":{"default":0,"type":"integer","description":"\u91cd\u65b0\u6307\u5b9a\u6587\u7ae0\u7684ID\u3002","required":false}}}]},"\/wc\/v3\/customers\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"description":"\u987e\u5ba2\u7684\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","required":false},"first_name":{"description":"\u987e\u5ba2\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u987e\u5ba2\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"username":{"description":"\u987e\u5ba2\u7684\u767b\u5f55\u7528\u6237\u540d\u3002","type":"string","required":false},"password":{"description":"\u987e\u5ba2\u7684\u5bc6\u7801\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u7684\u6570\u636e\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u6570\u636e\u7684\u5217\u8868\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/customers\/batch"}]}},"\/wc\/v3\/orders\/(?P[\\d]+)\/notes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"type":{"default":"any","description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u987e\u5ba2\u7684\u6216\u5185\u90e8\u7684\u5907\u6ce8\u3002","type":"string","enum":["any","customer","internal"],"required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"note":{"type":"string","description":"\u8ba2\u5355\u5907\u6ce8\u5185\u5bb9\u3002","required":true},"customer_note":{"default":false,"description":"\u4e3atrue\u65f6\uff0c\u5907\u6ce8\u5c06\u4f1a\u663e\u793a\u7ed9\u987e\u5ba2\uff1b\u4e3afalse\u65f6\uff0c\u5907\u6ce8\u5c06\u4ec5\u5728\u540e\u53f0\u53ef\u89c1\u3002","type":"boolean","required":false},"added_by_user":{"default":false,"description":"\u5982\u679c\u4e3a true\uff0c\u5219\u6b64\u5907\u6ce8\u5c06\u5f52\u5c5e\u4e8e\u5f53\u524d\u7528\u6237\u3002\u5982\u679c\u4e3a false\uff0c\u5219\u6b64\u5907\u6ce8\u5c06\u5f52\u5c5e\u4e8e\u7cfb\u7edf\u3002","type":"boolean","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/refunds":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"dp":{"default":2,"description":"\u6bcf\u4e2a\u8d44\u6e90\u4e2d\u4f7f\u7528\u7684\u5c0f\u6570\u70b9\u7684\u6570\u76ee","type":"integer","required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"amount":{"description":"\u9000\u6b3e\u7684\u91d1\u989d\u3002","type":"string","required":false},"reason":{"description":"\u9000\u6b3e\u7684\u539f\u56e0\u3002","type":"string","required":false},"refunded_by":{"description":"\u521b\u5efa\u9000\u6b3e\u7684\u7528\u6237\u7684\u7528\u6237ID\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"api_refund":{"default":true,"description":"\u4e3atrue\u65f6\uff0c\u652f\u4ed8\u7f51\u5173API\u5c06\u53ef\u652f\u6301\u9000\u6b3e\u3002","type":"boolean","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"order_id":{"description":"\u8ba2\u5355ID\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/orders":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u7279\u5b9a\u72b6\u6001\u7684\u8ba2\u5355\u3002","type":"array","items":{"type":"string","enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"]},"required":false},"customer":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u67d0\u4e00\u4e2a\u987e\u5ba2\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"dp":{"default":2,"description":"\u6bcf\u4e2a\u8d44\u6e90\u4e2d\u4f7f\u7528\u7684\u5c0f\u6570\u70b9\u7684\u6570\u76ee","type":"integer","required":false}}},{"methods":["POST"],"args":{"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"default":"pending","description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"default":"GBP","description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"default":0,"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"]},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"instance_id":{"description":"\u914d\u9001\u5b9e\u4f8b ID\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"set_paid":{"default":false,"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/orders"}]}},"\/wc\/v3\/orders\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"]},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"instance_id":{"description":"\u914d\u9001\u5b9e\u4f8b ID\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v3\/orders\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"]},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"instance_id":{"description":"\u914d\u9001\u5b9e\u4f8b ID\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u7236\u7ea7\u7684\u8d44\u6e90\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}]},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"description":"\u8be5\u5206\u7c7b\u65b9\u6cd5\u5c5e\u6027\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}]},"\/wc\/v3\/products\/attributes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","type":"string","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"default":"select","description":"\u5c5e\u6027\u7684\u7c7b\u578b\u3002","type":"string","enum":["select"],"required":false},"order_by":{"default":"menu_order","description":"\u9ed8\u8ba4\u6392\u5e8f\u3002","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"default":false,"description":"\u542f\u7528\/\u7981\u7528\u5c5e\u6027\u5f52\u6863\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u5c5e\u6027\u7684\u7c7b\u578b\u3002","type":"string","enum":["select"],"required":false},"order_by":{"description":"\u9ed8\u8ba4\u6392\u5e8f\u3002","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"\u542f\u7528\/\u7981\u7528\u5c5e\u6027\u5f52\u6863\u3002","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/products\/attributes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u5c5e\u6027\u7684\u7c7b\u578b\u3002","type":"string","enum":["select"],"required":false},"order_by":{"description":"\u9ed8\u8ba4\u6392\u5e8f\u3002","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"\u542f\u7528\/\u7981\u7528\u5c5e\u6027\u5f52\u6863\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/products\/attributes\/batch"}]}},"\/wc\/v3\/products\/categories":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u7236\u7ea7\u7684\u8d44\u6e90\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"default":"default","description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/products\/categories\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/products\/categories\/batch"}]}},"\/wc\/v3\/products\/reviews":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u8bc4\u8bba\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8bc4\u8bba\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date_gmt","enum":["date","date_gmt","id","include","product"],"required":false},"reviewer":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u5206\u914d\u7279\u5b9a\u7528\u6237 ID \u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"reviewer_exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u4e2d\u4e0d\u5305\u542b\u5206\u914d\u7ed9\u7279\u5b9a\u7528\u6237 ID \u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"reviewer_email":{"default":null,"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6765\u81ea\u7279\u5b9a\u4f5c\u8005\u7535\u5b50\u90ae\u4ef6\u7684\u7ed3\u679c\u3002","format":"email","type":"string","required":false},"product":{"default":[],"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u5206\u914d\u7279\u5b9a\u4ea7\u54c1 ID \u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"status":{"default":"approved","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u5206\u914d\u7279\u5b9a\u72b6\u6001\u7684\u8bc4\u8bba\u3002","type":"string","enum":["all","hold","approved","spam","trash"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"\u4ea7\u54c1\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":true},"status":{"default":"approved","description":"\u8be5\u8bc4\u4ef7\u7684\u72b6\u6001.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"type":"string","description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","required":true},"reviewer_email":{"type":"string","description":"\u8bc4\u4ef7\u8005\u7684\u90ae\u4ef6\u5730\u5740\u3002","required":true},"review":{"type":"string","description":"\u8bc4\u4ef7\u5185\u5bb9\u3002","required":true},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"product_id":{"description":"\u8bc4\u8bba\u6240\u5c5e\u4ea7\u54c1\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"status":{"description":"\u8be5\u8bc4\u4ef7\u7684\u72b6\u6001.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","type":"string","required":false},"reviewer_email":{"description":"\u8bc4\u4ef7\u4eba\u7684\u90ae\u4ef6\u3002","type":"string","format":"email","required":false},"review":{"description":"\u8bc4\u4ef7\u7684\u5185\u5bb9\u3002","type":"string","required":false},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v3\/products\/reviews\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8bc4\u8bba\u6240\u5c5e\u4ea7\u54c1\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"status":{"description":"\u8be5\u8bc4\u4ef7\u7684\u72b6\u6001.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","type":"string","required":false},"reviewer_email":{"description":"\u8bc4\u4ef7\u4eba\u7684\u90ae\u4ef6\u3002","type":"string","format":"email","required":false},"review":{"description":"\u8bc4\u4ef7\u7684\u5185\u5bb9\u3002","type":"string","required":false},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/products\/reviews\/batch"}]}},"\/wc\/v3\/products\/shipping_classes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/products\/shipping_classes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/products\/shipping_classes\/batch"}]}},"\/wc\/v3\/products\/tags":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/products\/tags\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/products\/tags\/batch"}]}},"\/wc\/v3\/products":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug","menu_order","price","popularity","rating"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"type":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"featured":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"category":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5206\u7c7b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"tag":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u6807\u7b7e\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"shipping_class":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u914d\u9001\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"attribute":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u76f8\u5173\u7684\u4ea7\u54c1\u3002\u4f7f\u7528\u5206\u7c7b\u540d\u79f0\/\u5c5e\u6027\u522b\u540d\u3002","type":"string","required":false},"attribute_term":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u7c7b\u522b(\u9700\u8981\u6307\u5b9a\u4e00\u4e2a\u5c5e\u6027)\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"stock_status":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u7279\u5b9a\u5e93\u5b58\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"date_created":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u4ea7\u54c1\u53d1\u5e03\u65e5\u671f\u3002","type":"date-time","required":false},"date_created_gmt":{"description":"\u4ea7\u54c1\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"type":{"default":"simple","description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"default":"publish","description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"default":false,"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"default":"visible","description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"virtual":{"default":false,"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"default":false,"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"default":-1,"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"default":"taxable","description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"default":false,"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"default":"instock","description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"default":false,"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"default":true,"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"\u8ffd\u52a0\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/products"}]}},"\/wc\/v3\/products\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"date_created":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u4ea7\u54c1\u53d1\u5e03\u65e5\u671f\u3002","type":"date-time","required":false},"date_created_gmt":{"description":"\u4ea7\u54c1\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"\u8ffd\u52a0\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","type":"boolean","required":false}}}]},"\/wc\/v3\/products\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"date_created":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u4ea7\u54c1\u53d1\u5e03\u65e5\u671f\u3002","type":"date-time","required":false},"date_created_gmt":{"description":"\u4ea7\u54c1\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"\u8ffd\u52a0\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/products\/batch"}]}},"\/wc\/v3\/products\/(?P[\\d]+)\/variations":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug","menu_order"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"stock_status":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u7279\u5b9a\u5e93\u5b58\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"status":{"default":"publish","description":"\u53d8\u4f53\u72b6\u6001\u3002","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"default":false,"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"default":false,"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"default":-1,"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"default":"taxable","description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"default":false,"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"default":"instock","description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}]},"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"status":{"description":"\u53d8\u4f53\u72b6\u6001\u3002","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"status":{"description":"\u53d8\u4f53\u72b6\u6001\u3002","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}]},"\/wc\/v3\/reports\/sales":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"\u62a5\u8868\u5468\u671f\u3002","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u5f00\u59cb\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false},"date_max":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u622a\u6b62\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/reports\/sales"}]}},"\/wc\/v3\/reports\/top_sellers":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"\u62a5\u8868\u5468\u671f\u3002","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u5f00\u59cb\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false},"date_max":{"description":"\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u622a\u6b62\u65e5\u671f\u8fd4\u56de\u9500\u552e\u989d\uff0c\u65e5\u671f\u683c\u5f0f\u9700\u4e3a YYYY-MM-DD \u3002","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/reports\/top_sellers"}]}},"\/wc\/v3\/reports\/orders\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/reports\/orders\/totals"}]}},"\/wc\/v3\/reports\/products\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/reports\/products\/totals"}]}},"\/wc\/v3\/reports\/customers\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/reports\/customers\/totals"}]}},"\/wc\/v3\/reports\/coupons\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/reports\/coupons\/totals"}]}},"\/wc\/v3\/reports\/reviews\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/reports\/reviews\/totals"}]}},"\/wc\/v3\/reports":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/reports"}]}},"\/wc\/v3\/settings":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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.yanpai.com\/index.php\/wp-json\/wc\/v3\/settings\/batch"}]}},"\/wc\/v3\/settings\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false}}}]},"\/wc\/v3\/settings\/(?P[\\w-]+)\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"mixed","required":false}}}]},"\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"mixed","required":false}}}]},"\/wc\/v3\/shipping\/zones":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u914d\u9001\u533a\u57df\u540d\u79f0\u3002","required":true},"order":{"description":"\u914d\u9001\u533a\u57df\u6392\u5e8f\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"name":{"description":"\u914d\u9001\u533a\u57df\u540d\u79f0\u3002","type":"string","required":false},"order":{"description":"\u914d\u9001\u533a\u57df\u6392\u5e8f\u3002","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"code":{"description":"\u914d\u9001\u533a\u57df\u4f4d\u7f6e\u4ee3\u7801\u3002","type":"string","required":false},"type":{"description":"\u914d\u9001\u533a\u57df\u4f4d\u7f6e\u7c7b\u578b\u3002","type":"string","enum":["postcode","state","country","continent"],"required":false}}}]},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}},{"methods":["POST"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"order":{"description":"\u914d\u9001\u65b9\u6cd5\u6392\u5e8f\u3002","type":"integer","required":false},"enabled":{"description":"\u914d\u9001\u65b9\u6cd5\u7684\u542f\u7528\u72b6\u6001\u3002","type":"boolean","required":false},"settings":{"description":"\u914d\u9001\u65b9\u6cd5\u8bbe\u7f6e\u3002","type":"object","properties":{"id":{"description":"\u8be5\u8bbe\u7f6e\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"\u8bbe\u7f6e\u9879\u7c7b\u578b\u3002","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"string","context":["view","edit"]},"default":{"description":"\u8be5\u8bbe\u7f6e\u7684\u9ed8\u8ba4\u503c\u3002","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"\u663e\u793a\u7ed9\u7528\u6237\u7684\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5e2e\u52a9\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"\u6587\u672c\u8f93\u5165\u680f\u7684\u5360\u4f4d\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true}},"required":false},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","required":true}}}]},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"instance_id":{"description":"\u5b9e\u4f8b\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"instance_id":{"description":"\u5b9e\u4f8b\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"order":{"description":"\u914d\u9001\u65b9\u6cd5\u6392\u5e8f\u3002","type":"integer","required":false},"enabled":{"description":"\u914d\u9001\u65b9\u6cd5\u7684\u542f\u7528\u72b6\u6001\u3002","type":"boolean","required":false},"settings":{"description":"\u914d\u9001\u65b9\u6cd5\u8bbe\u7f6e\u3002","type":"object","properties":{"id":{"description":"\u8be5\u8bbe\u7f6e\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"\u8bbe\u7f6e\u9879\u7c7b\u578b\u3002","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"string","context":["view","edit"]},"default":{"description":"\u8be5\u8bbe\u7f6e\u7684\u9ed8\u8ba4\u503c\u3002","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"\u663e\u793a\u7ed9\u7528\u6237\u7684\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5e2e\u52a9\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"\u6587\u672c\u8f93\u5165\u680f\u7684\u5360\u4f4d\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true}},"required":false}}},{"methods":["DELETE"],"args":{"zone_id":{"description":"\u533a\u57df\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"instance_id":{"description":"\u5b9e\u4f8b\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc\/v3\/taxes\/classes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u7a0e\u79cd\u540d\u79f0\u3002","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/taxes\/classes"}]}},"\/wc\/v3\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)":{"namespace":"wc\/v3","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"slug":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00\u522b\u540d\u3002","type":"string","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/taxes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"default":"asc","description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"order","description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","enum":["id","order"],"type":"string","required":false},"class":{"description":"\u4ee5\u7a0e\u79cd\u6392\u5217\u3002","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"type":"string","required":false}}},{"methods":["POST"],"args":{"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"default":1,"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"default":false,"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"default":true,"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"default":"standard","description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/taxes"}]}},"\/wc\/v3\/taxes\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/taxes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/taxes\/batch"}]}},"\/wc\/v3\/webhooks":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","title"],"required":false},"status":{"default":"all","description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u72b6\u6001\u76f8\u5173\u7684webhooks\u3002","type":"string","enum":["all","active","paused","disabled"],"required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u4e00\u4e2a\u53cb\u597d\u7684webhook\u540d\u79f0\u3002","type":"string","required":false},"status":{"default":"active","description":"Webhook \u72b6\u6001\u3002","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"type":"string","description":"Webhook \u8bdd\u9898\u3002","required":true},"secret":{"description":"\u5bc6\u94a5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5206\u53d1\u7684webhook HASH\u5e76\u63d0\u4f9b\u5230\u8bf7\u6c42\u5934\u91cc\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\uff0c\u5b83\u9ed8\u8ba4\u662f\u5f53\u524d\u7528\u6237\u7684 ID|\u7528\u6237\u540d \u7684 MD5 \u503c\u3002","type":"string","required":false},"delivery_url":{"type":"string","description":"Webhook \u4f20\u9012 URL\u3002","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/webhooks"}]}},"\/wc\/v3\/webhooks\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u4e00\u4e2a\u53cb\u597d\u7684webhook\u540d\u79f0\u3002","type":"string","required":false},"status":{"description":"Webhook \u72b6\u6001\u3002","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook \u8bdd\u9898\u3002","type":"string","required":false},"secret":{"description":"\u5bc6\u94a5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5206\u53d1\u7684webhook HASH\u5e76\u63d0\u4f9b\u5230\u8bf7\u6c42\u5934\u91cc\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\uff0c\u5b83\u9ed8\u8ba4\u662f\u5f53\u524d\u7528\u6237\u7684 ID|\u7528\u6237\u540d \u7684 MD5 \u503c\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc\/v3\/webhooks\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u4e00\u4e2a\u53cb\u597d\u7684webhook\u540d\u79f0\u3002","type":"string","required":false},"status":{"description":"Webhook \u72b6\u6001\u3002","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook \u8bdd\u9898\u3002","type":"string","required":false},"secret":{"description":"\u5bc6\u94a5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5206\u53d1\u7684webhook HASH\u5e76\u63d0\u4f9b\u5230\u8bf7\u6c42\u5934\u91cc\uff0c\u5982\u679c\u6ca1\u6709\u63d0\u4f9b\uff0c\u5b83\u9ed8\u8ba4\u662f\u5f53\u524d\u7528\u6237\u7684 ID|\u7528\u6237\u540d \u7684 MD5 \u503c\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/webhooks\/batch"}]}},"\/wc\/v3\/system_status":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/system_status"}]}},"\/wc\/v3\/system_status\/tools":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u6b64\u5de5\u5177\u7684ID\u3002","type":"string","required":false},"name":{"description":"\u5de5\u5177\u540d\u79f0\u3002","type":"string","required":false},"action":{"description":"\u8fd0\u884c\u8be5\u5de5\u5177\u4f1a\u505a\u4ec0\u4e48\u3002","type":"string","required":false},"description":{"description":"\u5de5\u5177\u63cf\u8ff0\u3002","type":"string","required":false},"success":{"description":"\u6b64\u5de5\u5177\u662f\u5426\u8fd0\u884c\u6210\u529f?","type":"boolean","required":false},"message":{"description":"\u5de5\u5177\u8fd4\u56de\u4fe1\u606f\u3002","type":"string","required":false}}}]},"\/wc\/v3\/shipping_methods":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/shipping_methods"}]}},"\/wc\/v3\/shipping_methods\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v3\/payment_gateways":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"title":{"description":"\u652f\u4ed8\u65f6\uff0c\u652f\u4ed8\u7f51\u5173\u7684\u6807\u9898\u3002","type":"string","required":false},"description":{"description":"\u652f\u4ed8\u65f6\uff0c\u652f\u4ed8\u7f51\u5173\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"order":{"description":"\u652f\u4ed8\u7f51\u5173\u7684\u6392\u5e8f\u3002","type":"integer","required":false},"enabled":{"description":"\u652f\u4ed8\u7f51\u5173\u7684\u542f\u7528\u72b6\u6001\u3002","type":"boolean","required":false},"settings":{"description":"\u652f\u4ed8\u7f51\u5173\u8bbe\u7f6e\u3002","type":"object","properties":{"id":{"description":"\u8be5\u8bbe\u7f6e\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"\u754c\u9762\u4e0a\u53ef\u89c1\u7684\uff0c\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5bb9\u6613\u88ab\u4eba\u7406\u89e3\u7684\u63cf\u8ff0\u3002","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"\u8bbe\u7f6e\u9879\u7c7b\u578b\u3002","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"string","context":["view","edit"]},"default":{"description":"\u8be5\u8bbe\u7f6e\u7684\u9ed8\u8ba4\u503c\u3002","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"\u663e\u793a\u7ed9\u7528\u6237\u7684\u5173\u4e8e\u8be5\u8bbe\u7f6e\u7684\u5e2e\u52a9\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"\u6587\u672c\u8f93\u5165\u680f\u7684\u5360\u4f4d\u6587\u672c\u3002","type":"string","context":["view","edit"],"readonly":true}},"required":false}}}]},"\/wc\/v3\/data":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/data"}]}},"\/wc\/v3\/data\/continents":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/data\/continents"}]}},"\/wc\/v3\/data\/continents\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"continent":{"description":"2 \u4e2a\u5b57\u7b26\u7684\u5927\u6d32\u4ee3\u7801\u3002","type":"string","required":false}}}]},"\/wc\/v3\/data\/countries":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc\/v3\/data\/countries"}]}},"\/wc\/v3\/data\/countries\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"description":"ISO3166 \u4e8c\u5b57\u6bcd\u56fd\u5bb6\/\u5730\u533a\u4ee3\u7801\u3002","type":"string","required":false}}}]},"\/wc\/v3\/data\/currencies":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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.yanpai.com\/index.php\/wp-json\/wc\/v3\/data\/currencies\/current"}]}},"\/wc\/v3\/data\/currencies\/(?P[\\w-]{3})":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"description":"ISO4217 \u8d27\u5e01\u4ee3\u7801\u3002","type":"string","required":false}}}]},"\/wccom-site\/v1":{"namespace":"wccom-site\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wccom-site\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"type":"object","required":true}}},{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wccom-site\/v1\/installer"}]}},"\/wc-analytics":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc-analytics","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics"}]}},"\/wc-analytics\/admin\/notes":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["note_id","date","type","title","status"],"required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"type":{"description":"\u5907\u6ce8\u7c7b\u578b\u3002","type":"array","items":{"enum":["error","warning","update","info"],"type":"string"},"required":false},"status":{"description":"\u5907\u6ce8\u72b6\u6001\u3002","type":"array","items":{"enum":["actioned","unactioned","snoozed"],"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false}}}]},"\/wc-analytics\/admin\/notes\/(?P[\\d-]+)\/action\/(?P[\\d-]+)":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"note_id":{"description":"\u5907\u6ce8\u7684\u552f\u4e00 ID\u3002","type":"integer","required":false},"action_id":{"description":"\u5907\u6ce8\u64cd\u4f5c\u7684\u552f\u4e00 ID\u3002","type":"integer","required":false}}}]},"\/wc-analytics\/coupons":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u4e0e\u7ed9\u5b9a\u5b57\u7b26\u4e32\u5339\u914d\u7684\u4ee3\u7801\u7684\u4f18\u60e0\u5238\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"code":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u542b\u6709\u7279\u5b9a\u4ee3\u7801\u7684\u4f18\u60e0\u5238\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":true},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"discount_type":{"default":"fixed_cart","description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"date_expires":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"string","required":false},"date_expires_gmt":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"string","required":false},"individual_use":{"default":false,"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"default":false,"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"default":false,"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/coupons"}]}},"\/wc-analytics\/coupons\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":false},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"discount_type":{"description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"date_expires":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"string","required":false},"date_expires_gmt":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"string","required":false},"individual_use":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc-analytics\/coupons\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"string","required":false},"amount":{"description":"\u6298\u6263\u6570\u91cf\uff0c\u5e94\u8be5\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u5373\u4f7f\u4f18\u60e0\u7c7b\u578b\u662f\u767e\u5206\u6bd4\uff0c\u4e5f\u5e94\u8be5\u662f\u4e2a\u6570\u5b57\u3002","type":"string","required":false},"discount_type":{"description":"\u786e\u5b9a\u4f18\u60e0\u7c7b\u578b\u3002","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"\u4f18\u60e0\u5238\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"date_expires":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"string","required":false},"date_expires_gmt":{"description":"\u4f18\u60e0\u5238\u8fc7\u671f\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"string","required":false},"individual_use":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u4ec5\u53ef\u88ab\u72ec\u7acb\u4f7f\u7528\uff0c\u5176\u5b83\u53ef\u7528\u7684\u4f18\u60e0\u5238\u5c06\u4f1a\u88ab\u4ece\u8d2d\u7269\u8f66\u4e2d\u79fb\u9664\u3002","type":"boolean","required":false},"product_ids":{"description":"\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"\u4e0d\u53ef\u7528\u6b64\u4f18\u60e0\u5238\u7684\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"\u8fd9\u4e2a\u4f18\u60e0\u5238\u603b\u7684\u53ef\u7528\u6b21\u6570\u3002","type":"integer","required":false},"usage_limit_per_user":{"description":"\u6bcf\u4e2a\u987e\u5ba2\u6700\u591a\u53ef\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u591a\u5c11\u6b21\u3002","type":"integer","required":false},"limit_usage_to_x_items":{"description":"\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u4e2d\u6700\u591a\u6709\u591a\u5c11\u4ef6\u4ea7\u54c1\u3002","type":"integer","required":false},"free_shipping":{"description":"\u5982\u679c\u4e3atrue\u5e76\u4e14\u514d\u8d39\u914d\u9001\u65b9\u6cd5\u9700\u8981\u4e00\u4e2a\u4f18\u60e0\u5238\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u53ef\u7528\u3002","type":"boolean","required":false},"product_categories":{"description":"\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"\u4e0d\u53ef\u4f7f\u7528\u8fd9\u4e2a\u4f18\u60e0\u5238\u7684\u5206\u7c7bID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"\u5982\u679c\u4e3atrue\uff0c\u8be5\u4f18\u60e0\u5238\u5c06\u4e0d\u9002\u7528\u4e8e\u6253\u6298\u5546\u54c1\u3002","type":"boolean","required":false},"minimum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u81f3\u5c11\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"maximum_amount":{"description":"\u4f7f\u7528\u4f18\u60e0\u5238\u65f6\uff0c\u8d2d\u7269\u8f66\u91d1\u989d\u6700\u591a\u4e3a\u591a\u5c11\u3002","type":"string","required":false},"email_restrictions":{"description":"\u5217\u51fa\u53ef\u4f7f\u7528\u6b64\u4f18\u60e0\u5238\u7684\u7535\u90ae\u5730\u5740\u3002","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/coupons\/batch"}]}},"\/wc-analytics\/customers":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"registered_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ce8\u518c\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"registered_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ce8\u518c\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u5305\u542b\u8ba2\u5355\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u5305\u542b\u8ba2\u5355\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date_registered","enum":["username","name","country","city","state","postcode","date_registered","date_last_active","orders_count","total_spend","avg_order_value"],"required":false},"match":{"description":"\u8868\u793a\u7ed3\u679c\u96c6\u7684\u6240\u6709\u6761\u4ef6\u662f\u5426\u4e3a true\uff0c\u6216\u8005\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u662f\u5426\u5145\u5206\u3002\u5339\u914d\u7ed3\u679c\u4f1a\u5f71\u54cd\u4ee5\u4e0b\u53c2\u6570\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories","type":"string","default":"all","enum":["all","any"],"required":false},"search":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5e26\u6709\u5305\u542b\u641c\u7d22\u8bcd\u7684\u5ba2\u6237\u5b57\u6bb5\u7684\u5bf9\u8c61\u641c\u7d22\u201csearchby\u201d\u63d0\u4f9b\u7684\u5b57\u6bb5\u3002","type":"string","required":false},"searchby":{"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string","default":"name","enum":["name","username","email"],"required":false},"name_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u540d\u79f0\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"name_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u540d\u79f0\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"username_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u7528\u6237\u540d\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"username_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u7528\u6237\u540d\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"email_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7535\u5b50\u90ae\u4ef6\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"email_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7535\u5b50\u90ae\u4ef6\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"country_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u56fd\u5bb6\/\u5730\u533a\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"country_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u56fd\u5bb6\/\u5730\u533a\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"last_active_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_active_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_active_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u95f4\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"registered_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u95f4\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"orders_count_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6574\u6570\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"integer","required":false},"orders_count_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6574\u6570\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"integer","required":false},"orders_count_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6574\u6570\u4e4b\u95f4\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"total_spend_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u603b\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"total_spend_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u603b\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"total_spend_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6570\u5b57\u4e4b\u95f4\u603b\u8ba1\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"avg_order_value_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"avg_order_value_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"avg_order_value_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6570\u5b57\u4e4b\u95f4\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"last_order_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u53d1\u5e03\u7684\u5305\u542b\u4e0a\u4e00\u4e2a\u8ba2\u5355\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_order_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u53d1\u5e03\u7684\u5305\u542b\u4e0a\u4e00\u4e2a\u8ba2\u5355\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"include":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u5ba2\u6237 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/customers"}]}},"\/wc-analytics\/customers\/(?P[\\d-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u552f\u4e00ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"registered_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ce8\u518c\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"registered_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ce8\u518c\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u5305\u542b\u8ba2\u5355\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u5305\u542b\u8ba2\u5355\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date_registered","enum":["username","name","country","city","state","postcode","date_registered","date_last_active","orders_count","total_spend","avg_order_value"],"required":false},"match":{"description":"\u8868\u793a\u7ed3\u679c\u96c6\u7684\u6240\u6709\u6761\u4ef6\u662f\u5426\u4e3a true\uff0c\u6216\u8005\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u662f\u5426\u5145\u5206\u3002\u5339\u914d\u7ed3\u679c\u4f1a\u5f71\u54cd\u4ee5\u4e0b\u53c2\u6570\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories","type":"string","default":"all","enum":["all","any"],"required":false},"search":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5e26\u6709\u5305\u542b\u641c\u7d22\u8bcd\u7684\u5ba2\u6237\u5b57\u6bb5\u7684\u5bf9\u8c61\u641c\u7d22\u201csearchby\u201d\u63d0\u4f9b\u7684\u5b57\u6bb5\u3002","type":"string","required":false},"searchby":{"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string","default":"name","enum":["name","username","email"],"required":false},"name_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u540d\u79f0\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"name_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u540d\u79f0\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"username_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u7528\u6237\u540d\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"username_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u7528\u6237\u540d\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"email_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7535\u5b50\u90ae\u4ef6\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"email_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7535\u5b50\u90ae\u4ef6\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"country_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u56fd\u5bb6\/\u5730\u533a\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"country_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u56fd\u5bb6\/\u5730\u533a\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"last_active_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_active_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_active_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u95f4\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"registered_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u95f4\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"orders_count_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6574\u6570\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"integer","required":false},"orders_count_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6574\u6570\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"integer","required":false},"orders_count_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6574\u6570\u4e4b\u95f4\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"total_spend_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u603b\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"total_spend_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u603b\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"total_spend_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6570\u5b57\u4e4b\u95f4\u603b\u8ba1\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"avg_order_value_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"avg_order_value_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"avg_order_value_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6570\u5b57\u4e4b\u95f4\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"last_order_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u53d1\u5e03\u7684\u5305\u542b\u4e0a\u4e00\u4e2a\u8ba2\u5355\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_order_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u53d1\u5e03\u7684\u5305\u542b\u4e0a\u4e00\u4e2a\u8ba2\u5355\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"include":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u5ba2\u6237 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}}]},"\/wc-analytics\/data":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/data"}]}},"\/wc-analytics\/data\/countries":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/data\/countries"}]}},"\/wc-analytics\/data\/countries\/(?P[\\w-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"description":"ISO3166 \u4e8c\u5b57\u6bcd\u56fd\u5bb6\/\u5730\u533a\u4ee3\u7801\u3002","type":"string","required":false}}}]},"\/wc-analytics\/data\/download-ips":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/data\/download-ips"}]}},"\/wc-analytics\/leaderboards":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":5,"minimum":1,"maximum":20,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"persisted_query":{"description":"\u4e0d\u540c\u94fe\u63a5\u4e2d\u4fdd\u7559\u7684 URL \u67e5\u8be2\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/leaderboards"}]}},"\/wc-analytics\/leaderboards\/allowed":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/leaderboards\/allowed"}]}},"\/wc-admin":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc-admin","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-admin"}]}},"\/wc-admin\/marketing\/overview\/activate-plugin":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"plugin":{"type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-admin\/marketing\/overview\/activate-plugin"}]}},"\/wc-admin\/marketing\/overview\/recommended":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/wp-json\/wc-admin\/options"}]}},"\/wc-analytics\/orders":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u9650\u5236\u7ed3\u679c\u4ee5\u5339\u914d\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"status":{"default":["any"],"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u7279\u5b9a\u72b6\u6001\u7684\u8ba2\u5355\u3002","type":"array","items":{"type":"string","enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"]},"required":false},"customer":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u67d0\u4e00\u4e2a\u987e\u5ba2\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u76f8\u5173\u7684\u8ba2\u5355\u3002","type":"integer","required":false},"dp":{"default":2,"description":"\u6bcf\u4e2a\u8d44\u6e90\u4e2d\u4f7f\u7528\u7684\u5c0f\u6570\u70b9\u7684\u6570\u76ee","type":"integer","required":false},"number":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u4e0e\u8ba2\u5355\u53f7\u90e8\u5206\u5339\u914d\u7684\u8ba2\u5355\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"default":"pending","description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"default":"GBP","description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"default":0,"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"]},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"instance_id":{"description":"\u914d\u9001\u5b9e\u4f8b ID\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"set_paid":{"default":false,"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/orders"}]}},"\/wc-analytics\/orders\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"]},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"instance_id":{"description":"\u914d\u9001\u5b9e\u4f8b ID\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc-analytics\/orders\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"\u7236\u7ea7\u8ba2\u5355ID\u3002","type":"integer","required":false},"status":{"description":"\u8ba2\u5355\u72b6\u6001\u3002","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"\u6b64\u8ba2\u5355\u4f7f\u7528\u7684\u5e01\u79cd\uff0c\u4f7f\u7528ISO\u683c\u5f0f\u3002","type":"string","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","ZMW"],"required":false},"customer_id":{"description":"\u6b64\u8ba2\u5355\u7684\u7528\u6237ID\uff0c0\u8868\u793a\u662f\u8bbf\u5ba2\u3002","type":"integer","required":false},"customer_note":{"description":"\u987e\u5ba2\u7ed3\u7b97\u65f6\u7684\u5907\u6ce8\u4fe1\u606f\u3002","type":"string","required":false},"billing":{"description":"\u8d26\u5355\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"email":{"description":"\u7535\u90ae\u5730\u5740\u3002","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"\u7535\u8bdd\u53f7\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"\u914d\u9001\u5730\u5740\u3002","type":"object","properties":{"first_name":{"description":"\u540d\u5b57","type":"string","context":["view","edit"]},"last_name":{"description":"\u59d3\u6c0f","type":"string","context":["view","edit"]},"company":{"description":"\u516c\u53f8\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"address_1":{"description":"\u5730\u5740\u884c1","type":"string","context":["view","edit"]},"address_2":{"description":"\u5730\u5740\u884c2","type":"string","context":["view","edit"]},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"state":{"description":"\u7701\u7ea7\u533a\u57df\u7684ISO\u4ee3\u7801\u3002","type":"string","context":["view","edit"]},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","context":["view","edit"]},"country":{"description":"ISO 3166-1 \u4e24\u5b57\u6bcd\u683c\u5f0f\u7684\u56fd\u5bb6\u4ee3\u7801\u3002","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"\u652f\u4ed8\u65b9\u5f0f ID\u3002","type":"string","required":false},"payment_method_title":{"description":"\u652f\u4ed8\u65b9\u5f0f\u6807\u9898\u3002","type":"string","required":false},"transaction_id":{"description":"\u552f\u4e00\u7684\u4ea4\u6613ID\u3002","type":"string","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"line_items":{"description":"\u8ba2\u5355\u5185\u4ea7\u54c1\u7684\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"product_id":{"description":"\u4ea7\u54c1ID\u3002","type":"mixed","context":["view","edit"]},"variation_id":{"description":"\u53ef\u53d8ID\uff0c\u82e5\u9002\u7528\u3002","type":"integer","context":["view","edit"]},"quantity":{"description":"\u8ba2\u8d2d\u6570\u91cf\u3002","type":"integer","context":["view","edit"]},"tax_class":{"description":"\u4ea7\u54c1\u7684\u7a0e\u79cd\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u884c\u95f4\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"\u884c\u95f4\u7a0e\u5c0f\u8ba1 \uff08\u6298\u6263\u524d\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"]},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"]},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}},"sku":{"description":"\u4ea7\u54c1SKU\u3002","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"\u4ea7\u54c1\u4ef7\u683c\u3002","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"\u914d\u9001\u72b6\u6001\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"\u914d\u9001\u65b9\u5f0f\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"method_id":{"description":"\u914d\u9001\u65b9\u5f0fID\u3002","type":"mixed","context":["view","edit"]},"instance_id":{"description":"\u914d\u9001\u5b9e\u4f8b ID\u3002","type":"string","context":["view","edit"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"\u8d39\u7528\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"\u8d39\u7528\u540d\u79f0\u3002","type":"mixed","context":["view","edit"]},"tax_class":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u7c7b\u578b\u3002","type":"string","context":["view","edit"]},"tax_status":{"description":"\u8d39\u7528\u7684\u7a0e\u7684\u72b6\u6001\u3002","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"\u884c\u95f4\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"]},"total_tax":{"description":"\u884c\u95f4\u7a0e\u989d\u603b\u8ba1 \uff08\u6298\u6263\u540e\uff09\u3002","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"\u884c\u95f4\u7a0e\u3002","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"\u7a0e\u7387 ID","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"\u7a0e\u989d\u603b\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"\u7a0e\u989d\u5c0f\u8ba1\u3002","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"\u4f18\u60e0\u5238\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u9879\u76eeID\u3002","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"\u4f18\u60e0\u7801\u3002","type":"mixed","context":["view","edit"]},"discount":{"description":"\u6298\u6263\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"\u6298\u6263\u7a0e\u603b\u989d","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"\u5b9a\u4e49\u8ba2\u5355\u662f\u5426\u5df2\u88ab\u652f\u4ed8\uff0c\u5b83\u7684\u72b6\u6001\u5c06\u4f1a\u88ab\u8bbe\u7f6e\u4e3a\u6b63\u5728\u5904\u7406\u5e76\u51cf\u53bb\u76f8\u5e94\u7684\u5e93\u5b58\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/orders\/batch"}]}},"\/wc-analytics\/products":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u6309\u7c7b\u4f3c\u4ea7\u54c1\u540d\u79f0\u6216 sku \u8fdb\u884c\u641c\u7d22\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug","menu_order","price","popularity","rating"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"type":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u4ea7\u54c1\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"featured":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"category":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5206\u7c7b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"tag":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u6807\u7b7e\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"shipping_class":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u914d\u9001\u7c7b\u578b\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"attribute":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u76f8\u5173\u7684\u4ea7\u54c1\u3002\u4f7f\u7528\u5206\u7c7b\u540d\u79f0\/\u5c5e\u6027\u522b\u540d\u3002","type":"string","required":false},"attribute_term":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e0e\u4e00\u4e2a\u7279\u5b9a\u7684\u5c5e\u6027\u7c7b\u522b(\u9700\u8981\u6307\u5b9a\u4e00\u4e2a\u5c5e\u6027)\u76f8\u5173\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"stock_status":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u7279\u5b9a\u5e93\u5b58\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"low_in_stock":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5e93\u5b58\u4e0d\u8db3\u6216\u7f3a\u8d27\u7684\u4ea7\u54c1\u3002","type":"boolean","default":false,"required":false}}},{"methods":["POST"],"args":{"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"date_created":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u4ea7\u54c1\u53d1\u5e03\u65e5\u671f\u3002","type":"date-time","required":false},"date_created_gmt":{"description":"\u4ea7\u54c1\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"type":{"default":"simple","description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"default":"publish","description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"default":false,"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"default":"visible","description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"virtual":{"default":false,"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"default":false,"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"default":-1,"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"default":"taxable","description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"default":false,"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"default":"instock","description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"default":false,"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"default":true,"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"\u8ffd\u52a0\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/products"}]}},"\/wc-analytics\/products\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"date_created":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u4ea7\u54c1\u53d1\u5e03\u65e5\u671f\u3002","type":"date-time","required":false},"date_created_gmt":{"description":"\u4ea7\u54c1\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"\u8ffd\u52a0\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","type":"boolean","required":false}}}]},"\/wc-analytics\/products\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u4ea7\u54c1\u7684\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4ea7\u54c1\u7684\u522b\u540d\u3002","type":"string","required":false},"date_created":{"description":"\u4ee5\u7f51\u7ad9\u6240\u5728\u65f6\u533a\u663e\u793a\u7684\u4ea7\u54c1\u53d1\u5e03\u65e5\u671f\u3002","type":"date-time","required":false},"date_created_gmt":{"description":"\u4ea7\u54c1\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"\u4ea7\u54c1\u72b6\u6001\uff08\u6587\u7ae0\u72b6\u6001\uff09","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"\u7279\u8272\u4ea7\u54c1\u3002","type":"boolean","required":false},"catalog_visibility":{"description":"\u76ee\u5f55\u53ef\u89c1\u6027\u3002","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"\u4ea7\u54c1\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"short_description":{"description":"\u4ea7\u54c1\u7b80\u77ed\u63cf\u8ff0\u3002","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u4ea7\u54c1\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u4ea7\u54c1\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"virtual":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u865a\u62df\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u4ea7\u54c1\u662f\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u7684\u8bdd\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"external_url":{"description":"\u4ea7\u54c1\u7684\u5916\u90e8\u94fe\u63a5\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","format":"uri","required":false},"button_text":{"description":"\u5916\u94fe\u4ea7\u54c1\u7684\u6309\u94ae\u6587\u672c\uff0c\u4ec5\u7528\u4e8e\u5916\u94fe\u4ea7\u54c1\u3002","type":"string","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u4ea7\u54c1\u7ea7\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"\u6bcf\u4e2a\u8ba2\u5355\u4ec5\u5141\u8bb8\u8d2d\u4e70\u4e00\u4ef6\u3002","type":"boolean","required":false},"weight":{"description":"\u4ea7\u54c1\u7684\u91cd\u91cf(kg)\u3002","type":"string","required":false},"dimensions":{"description":"\u4ea7\u54c1\u7684\u4f53\u79ef\u3002","type":"object","properties":{"length":{"description":"\u4ea7\u54c1\u957f\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"width":{"description":"\u4ea7\u54c1\u5bbd\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]},"height":{"description":"\u4ea7\u54c1\u9ad8\u5ea6 (cm)\u3002","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"reviews_allowed":{"description":"\u5141\u8bb8\u8bc4\u4ef7\u3002","type":"boolean","required":false},"upsell_ids":{"description":"\u8ffd\u52a0\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"\u4ea4\u53c9\u9500\u552e\u4ea7\u54c1ID\u5217\u8868\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"purchase_note":{"description":"\u53ef\u9009\u7684\u5907\u6ce8\uff0c\u987e\u5ba2\u5728\u8d2d\u4e70\u540e\u5c06\u4f1a\u6536\u5230\u3002","type":"string","required":false},"categories":{"description":"\u5206\u7c7b\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5206\u7c7b\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u5206\u7c7b\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"\u6807\u7b7e\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6807\u7b7e\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u6807\u7b7e(Tag)\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"\u6807\u7b7e\u7684\u522b\u540d\u3002","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"\u56fe\u7247\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"position":{"description":"\u5c5e\u6027\u7684\u4f4d\u7f6e\u3002","type":"integer","context":["view","edit"]},"visible":{"description":"\u5b9a\u4e49\u662f\u5426\u5728\u4ea7\u54c1\u8be6\u60c5\u9875\u7684 \"\u9644\u52a0\u4fe1\u606f\"\u9009\u9879\u5361\u663e\u793a\u6b64\u5c5e\u6027\u3002 ","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"\u5b9a\u4e49\u6b64\u5c5e\u6027\u662f\u5426\u53ef\u7528\u4e8e\u53d8\u91cf\u3002","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"\u6b64\u5c5e\u6027\u7684\u53ef\u7528term\u540d\u79f0\u5217\u8868\u3002","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"\u9ed8\u8ba4\u7684\u53d8\u91cf\u5c5e\u6027\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/products\/batch"}]}},"\/wc-analytics\/products\/categories":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u8d44\u6e90\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u6ca1\u6709\u5206\u914d\u7ed9\u4efb\u4f55\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u7236\u7ea7\u7684\u8d44\u6e90\u3002","type":"integer","required":false},"product":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u4ea7\u54c1\u7684\u8d44\u6e90\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u9650\u5b9a\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u5206\u914d\u7ed9\u7279\u5b9a\u522b\u540d(slug)\u7684\u8d44\u6e90\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"\u6765\u6e90\u7684\u540d\u79f0\u3002","required":true},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"default":"default","description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc-analytics\/products\/categories\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"\u7c7b\u522b\u540d\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u4e00\u4e2a\u5728\u8d44\u6e90\u6240\u5728\u7684\u7c7b\u578b\u91cc\u552f\u4e00\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u8be5\u8d44\u6e90\u7684\u7236\u7ea7\u9879\u76ee\u7684ID\u3002","type":"integer","required":false},"description":{"description":"\u8be5\u8d44\u6e90\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"display":{"description":"\u5206\u7c7b\u5f52\u6863\u663e\u793a\u7c7b\u578b\u3002","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"\u56fe\u7247\u6570\u636e","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f\uff0c\u7528\u4e8e\u81ea\u5b9a\u4e49\u8d44\u6e90\u7684\u6392\u5e8f","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u6309\u7c7b\u4f3c\u4ea7\u54c1\u540d\u79f0\u6216 sku \u8fdb\u884c\u641c\u7d22\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug","menu_order"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"stock_status":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u7279\u5b9a\u5e93\u5b58\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"status":{"default":"publish","description":"\u53d8\u4f53\u72b6\u6001\u3002","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"default":false,"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"default":false,"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"default":-1,"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"default":"taxable","description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"default":false,"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"default":"instock","description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"name":{"description":"\u4ea7\u54c1\u7236\u540d\u79f0\u3002","type":"string","required":false},"type":{"default":"variation","description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false}}},{"methods":["GET"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u6309\u7c7b\u4f3c\u4ea7\u54c1\u540d\u79f0\u6216 sku \u8fdb\u884c\u641c\u7d22\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","id","include","title","slug","menu_order"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u540d(slug)\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"status":{"default":"any","description":"\u5c06\u7ed3\u679c\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u522b\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"sku":{"description":"\u7528\u7279\u5b9aSKU\u6765\u9650\u5b9a\u4ea7\u54c1\u7684\u7ed3\u679c\u96c6\u3002\u5982\u6709\u591a\u4e2a\uff0c\u7528\u82f1\u6587\u534a\u89d2\u9017\u53f7\u9694\u5f00\u3002","type":"string","required":false},"on_sale":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u4fc3\u9500\u7684\u4ea7\u54c1\u3002","type":"boolean","required":false},"min_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5c0f\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"max_price":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u57fa\u4e8e\u4e00\u4e2a\u6700\u5927\u4ef7\u683c\u7684\u4ea7\u54c1\u3002","type":"string","required":false},"stock_status":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u6709\u7279\u5b9a\u5e93\u5b58\u72b6\u6001\u7684\u4ea7\u54c1\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"status":{"default":"publish","description":"\u53d8\u4f53\u72b6\u6001\u3002","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"default":false,"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"default":false,"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"default":-1,"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"default":"taxable","description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"default":false,"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"default":"instock","description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"name":{"description":"\u4ea7\u54c1\u7236\u540d\u79f0\u3002","type":"string","required":false},"type":{"default":"variation","description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false}}}]},"\/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":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"status":{"description":"\u53d8\u4f53\u72b6\u6001\u3002","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"name":{"description":"\u4ea7\u54c1\u7236\u540d\u79f0\u3002","type":"string","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}},{"methods":["GET"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"status":{"description":"\u53d8\u4f53\u72b6\u6001\u3002","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"name":{"description":"\u4ea7\u54c1\u7236\u540d\u79f0\u3002","type":"string","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"id":{"description":"\u8be5\u53d8\u91cf\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/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":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"status":{"description":"\u53d8\u4f53\u72b6\u6001\u3002","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"name":{"description":"\u4ea7\u54c1\u7236\u540d\u79f0\u3002","type":"string","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8be5\u53d8\u91cf\u4ea7\u54c1\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u53d8\u91cf\u63cf\u8ff0","type":"string","required":false},"sku":{"description":"\u7edf\u4e00\u6807\u8bc6\u7b26","type":"string","required":false},"regular_price":{"description":"\u53d8\u91cf\u7684\u5e38\u89c4\u4ef7\u683c\u3002","type":"string","required":false},"sale_price":{"description":"\u53d8\u91cf\u7684\u4fc3\u9500\u4ef7\u683c\u3002","type":"string","required":false},"date_on_sale_from":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_from_gmt":{"description":"\u4fc3\u9500\u4ef7\u5f00\u59cb\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","required":false},"date_on_sale_to":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"date_on_sale_to_gmt":{"description":"\u4fc3\u9500\u4ef7\u7ed3\u675f\u65e5\u671f\uff0c\u65f6\u533a\u4e3a\u7ad9\u70b9\u6240\u9009\u65f6\u533a\u3002","type":"date-time","required":false},"status":{"description":"\u53d8\u4f53\u72b6\u6001\u3002","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u865a\u62df\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloadable":{"description":"\u5982\u679c\u8be5\u53d8\u91cf\u4e3a\u53ef\u4e0b\u8f7d\u4ea7\u54c1\u3002","type":"boolean","required":false},"downloads":{"description":"\u53ef\u4e0b\u8f7d\u6587\u4ef6\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u6587\u4ef6ID\u3002","type":"string","context":["view","edit"]},"name":{"description":"\u6587\u4ef6\u7684\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"file":{"description":"\u6587\u4ef6\u7684\u94fe\u63a5\u3002","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"\u6587\u4ef6\u53ef\u88ab\u4e0b\u8f7d\u7684\u6b21\u6570\u3002","type":"integer","required":false},"download_expiry":{"description":"\u6587\u4ef6\u5728\u591a\u5c11\u5929\u540e\u8fc7\u671f\u3002","type":"integer","required":false},"tax_status":{"description":"\u7a0e\u7684\u72b6\u6001\u3002","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","required":false},"manage_stock":{"description":"\u53d8\u91cf\u7ea7\u522b\u7684\u5e93\u5b58\u7ba1\u7406\u3002","type":"boolean","required":false},"stock_quantity":{"description":"\u5e93\u5b58\u6570\u91cf\u3002","type":"integer","required":false},"stock_status":{"description":"\u63a7\u5236\u4ea7\u54c1\u7684\u5e93\u5b58\u72b6\u6001\u3002","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"\u5982\u5f00\u542f\u5e93\u5b58\u7ba1\u7406\uff0c\u8fd9\u5c06\u63a7\u5236\u662f\u5426\u5141\u8bb8\u5ef6\u671f\u4ea4\u8d27\u3002","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"\u53d8\u91cf\u91cd\u91cf (kg).","type":"string","required":false},"dimensions":{"description":"\u53d8\u91cf\u4f53\u79ef.","type":"object","properties":{"length":{"description":"\u53d8\u91cf\u957f\u5ea6 (cm).","type":"string","context":["view","edit"]},"width":{"description":"\u53d8\u91cf\u5bbd\u5ea6 (cm).","type":"string","context":["view","edit"]},"height":{"description":"\u53d8\u91cf\u9ad8\u5ea6 (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"\u914d\u9001\u7c7b\u578b\u7684\u522b\u540d\u3002","type":"string","required":false},"image":{"description":"\u53d8\u91cf\u56fe\u7247\u6570\u636e\u3002","type":"object","properties":{"id":{"description":"\u56fe\u7247 ID\u3002","type":"integer","context":["view","edit"]},"date_created":{"description":"\u8be5\u56fe\u7247\u7684\u521b\u5efa\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"\u56fe\u7247\u88ab\u521b\u5efa\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"\u8be5\u56fe\u7247\u7684\u6700\u540e\u4fee\u6539\u65e5\u671f\uff0c\u4ee5\u7f51\u7ad9\u65f6\u533a\u8868\u793a\u3002","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"\u56fe\u7247\u6700\u8fd1\u88ab\u4fee\u6539\u7684\u65e5\u671f\uff0c\u65f6\u533a\u4e3aGMT\u3002","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"\u56fe\u7247\u94fe\u63a5\u3002","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"\u56fe\u7247\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"alt":{"description":"\u56fe\u7247\u7684ALT\u6587\u672c\u3002","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"\u5c5e\u6027\u5217\u8868\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5c5e\u6027\u7684ID\u3002","type":"integer","context":["view","edit"]},"name":{"description":"\u5c5e\u6027\u540d\u79f0\u3002","type":"string","context":["view","edit"]},"option":{"description":"\u5df2\u9009\u5b9a\u7684\u5c5e\u6027term\u540d\u79f0\u3002","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"\u76ee\u5f55\u987a\u5e8f,\u7528\u4e8e\u81ea\u5b9a\u7684\u4ea7\u54c1\u6392\u5e8f\u3002","type":"integer","required":false},"meta_data":{"description":"\u5143\u6570\u636e\u3002","type":"array","items":{"type":"object","properties":{"id":{"description":"\u5143\u6570\u636eID\u3002","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"\u5143\u6570\u636e\u7684key\u3002","type":"string","context":["view","edit"]},"value":{"description":"\u5143\u6570\u636e\u7684\u503c\u3002","type":"mixed","context":["view","edit"]}}},"required":false},"name":{"description":"\u4ea7\u54c1\u7236\u540d\u79f0\u3002","type":"string","required":false},"type":{"description":"\u4ea7\u54c1\u7684\u7c7b\u578b\u3002","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"\u4ea7\u54c1\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false}}}]},"\/wc-analytics\/products\/reviews":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u8bc4\u8bba\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8bc4\u8bba\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5b9a\u7ed3\u679c\u4e3a\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date_gmt","enum":["date","date_gmt","id","include","product"],"required":false},"reviewer":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u5206\u914d\u7279\u5b9a\u7528\u6237 ID \u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"reviewer_exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u4e2d\u4e0d\u5305\u542b\u5206\u914d\u7ed9\u7279\u5b9a\u7528\u6237 ID \u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"reviewer_email":{"default":null,"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6765\u81ea\u7279\u5b9a\u4f5c\u8005\u7535\u5b50\u90ae\u4ef6\u7684\u7ed3\u679c\u3002","format":"email","type":"string","required":false},"product":{"default":[],"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u5206\u914d\u7279\u5b9a\u4ea7\u54c1 ID \u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"status":{"default":"approved","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u5206\u914d\u7279\u5b9a\u72b6\u6001\u7684\u8bc4\u8bba\u3002","type":"string","enum":["all","hold","approved","spam","trash"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"\u4ea7\u54c1\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":true},"status":{"default":"approved","description":"\u8be5\u8bc4\u4ef7\u7684\u72b6\u6001.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"type":"string","description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","required":true},"reviewer_email":{"type":"string","description":"\u8bc4\u4ef7\u8005\u7684\u90ae\u4ef6\u5730\u5740\u3002","required":true},"review":{"type":"string","description":"\u8bc4\u4ef7\u5185\u5bb9\u3002","required":true},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"product_id":{"description":"\u8bc4\u8bba\u6240\u5c5e\u4ea7\u54c1\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"status":{"description":"\u8be5\u8bc4\u4ef7\u7684\u72b6\u6001.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","type":"string","required":false},"reviewer_email":{"description":"\u8bc4\u4ef7\u4eba\u7684\u90ae\u4ef6\u3002","type":"string","format":"email","required":false},"review":{"description":"\u8bc4\u4ef7\u7684\u5185\u5bb9\u3002","type":"string","required":false},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5f3a\u5236\u5220\u9664\u3002","required":false}}}]},"\/wc-analytics\/products\/reviews\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"\u8bc4\u8bba\u6240\u5c5e\u4ea7\u54c1\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"status":{"description":"\u8be5\u8bc4\u4ef7\u7684\u72b6\u6001.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"\u8bc4\u4ef7\u8005\u7684\u79f0\u547c\u3002","type":"string","required":false},"reviewer_email":{"description":"\u8bc4\u4ef7\u4eba\u7684\u90ae\u4ef6\u3002","type":"string","format":"email","required":false},"review":{"description":"\u8bc4\u4ef7\u7684\u5185\u5bb9\u3002","type":"string","required":false},"rating":{"description":"\u8bc4\u4ef7\u7b49\u7ea7 \uff080\u81f35\uff09\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/products\/reviews\/batch"}]}},"\/wc-analytics\/reports":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports"}]}},"\/wc-analytics\/settings\/(?P[\\w-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false}}}]},"\/wc-analytics\/settings\/(?P[\\w-]+)\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"mixed","required":false}}}]},"\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"\u8bbe\u7f6e\u7ec4\u7684ID\u3002","type":"string","required":false},"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"value":{"description":"\u8bbe\u7f6e\u503c\u3002","type":"mixed","required":false}}}]},"\/wc-analytics\/reports\/import":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"days":{"description":"\u8981\u5bfc\u5165\u7684\u5929\u6570\u3002","type":"integer","minimum":0,"required":false},"skip_existing":{"description":"\u8df3\u8fc7\u5bfc\u5165\u73b0\u6709\u8ba2\u5355\u6570\u636e\u3002","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/import\/status"}]}},"\/wc-analytics\/reports\/import\/totals":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"days":{"description":"\u8981\u5bfc\u5165\u7684\u5929\u6570\u3002","type":"integer","minimum":0,"required":false},"skip_existing":{"description":"\u8df3\u8fc7\u5bfc\u5165\u73b0\u6709\u8ba2\u5355\u6570\u636e\u3002","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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":{"description":"\u8981\u4f20\u9012\u7ed9\u6240\u5bfc\u51fa\u62a5\u544a\u7684\u53c2\u6570\u3002","type":"object","required":false},"email":{"description":"\u5982\u679c\u4e3a true\uff0c\u8bf7\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u5411\u63d0\u51fa\u8bf7\u6c42\u7684\u7528\u6237\u53d1\u9001\u7528\u4e8e\u4e0b\u8f7d\u5bfc\u51fa\u5185\u5bb9\u7684\u94fe\u63a5\u3002","type":"boolean","required":false}}}]},"\/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":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","net_revenue","orders_count","items_sold","product_name","variations","sku"],"required":false},"categories":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u7279\u5b9a\u7c7b\u522b\u4e2d\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"match":{"description":"\u8868\u793a\u7ed3\u679c\u96c6\u7684\u6240\u6709\u6761\u4ef6\u662f\u5426\u4e3a true\uff0c\u6216\u8005\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u662f\u5426\u5145\u5206\u3002\u5339\u914d\u7ed3\u679c\u4f1a\u5f71\u54cd\u4ee5\u4e0b\u53c2\u6570\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories","type":"string","default":"all","enum":["all","any"],"required":false},"products":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u4ea7\u54c1 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"extended_info":{"description":"\u5411\u62a5\u544a\u4e2d\u6dfb\u52a0\u5173\u4e8e\u6bcf\u6b3e\u4ea7\u54c1\u7684\u9644\u52a0\u4fe1\u606f\u3002","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/products"}]}},"\/wc-analytics\/reports\/variations":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","net_revenue","orders_count","items_sold","sku"],"required":false},"products":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u4ea7\u54c1 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"variations":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u53d8\u91cf ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"extended_info":{"description":"\u5411\u62a5\u544a\u4e2d\u6dfb\u52a0\u5173\u4e8e\u6bcf\u6b3e\u4ea7\u54c1\u7684\u9644\u52a0\u4fe1\u606f\u3002","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/variations"}]}},"\/wc-analytics\/reports\/products\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","net_revenue","coupons","refunds","shipping","taxes","net_revenue","orders_count","items_sold"],"required":false},"interval":{"description":"\u7528\u4e8e\u5df2\u8fd4\u56de\u7684\u6570\u636e\u4e2d\u7684\u5b58\u50a8\u6876\u7684\u65f6\u95f4\u95f4\u9694\u3002","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"categories":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u7279\u5b9a\u7c7b\u522b\u4e2d\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"products":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u4ea7\u54c1 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"variations":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u53d8\u91cf ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"segmentby":{"description":"\u901a\u8fc7\u9644\u52a0\u7ea6\u675f\u7ec6\u5206\u56de\u590d\u3002","type":"string","enum":["product","category","variation"],"required":false},"fields":{"description":"\u5c06\u7edf\u8ba1\u4fe1\u606f\u5b57\u6bb5\u9650\u5236\u4e3a\u4ec5\u663e\u793a\u6307\u5b9a\u7684\u9879\u76ee\u3002","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/products\/stats"}]}},"\/wc-analytics\/reports\/revenue\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","total_sales","coupons","refunds","shipping","taxes","net_revenue","orders_count","items_sold","gross_sales"],"required":false},"interval":{"description":"\u7528\u4e8e\u5df2\u8fd4\u56de\u7684\u6570\u636e\u4e2d\u7684\u5b58\u50a8\u6876\u7684\u65f6\u95f4\u95f4\u9694\u3002","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"segmentby":{"description":"\u901a\u8fc7\u9644\u52a0\u7ea6\u675f\u7ec6\u5206\u56de\u590d\u3002","type":"string","enum":["product","category","variation","coupon","customer_type"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/revenue\/stats"}]}},"\/wc-analytics\/reports\/orders":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":0,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","num_items_sold","net_total"],"required":false},"product_includes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u4ea7\u54c1\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u6307\u5b9a\u7279\u5b9a\u4ea7\u54c1\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"coupon_includes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u4f18\u60e0\u5238\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"coupon_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u6307\u5b9a\u7279\u5b9a\u4f18\u60e0\u5238\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"tax_rate_includes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u7a0e\u7387\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"tax_rate_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u6307\u5b9a\u7279\u5b9a\u7a0e\u7387\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"status_is":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u6709\u7279\u5b9a\u8ba2\u5355\u72b6\u6001\u7684\u9879\u76ee\u3002","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"status_is_not":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a\u8ba2\u5355\u72b6\u6001\u7684\u9879\u76ee\u3002","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"customer_type":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u56de\u5934\u5ba2\u6216\u65b0\u5ba2\u6237\u3002","type":"string","default":"","enum":["","returning","new"],"required":false},"refunds":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u7279\u5b9a\u9000\u6b3e\u7c7b\u578b\u3002","type":"string","default":"","enum":["","all","partial","full","none"],"required":false},"extended_info":{"description":"\u5411\u62a5\u544a\u4e2d\u6dfb\u52a0\u5173\u4e8e\u6bcf\u5f20\u4f18\u60e0\u5238\u7684\u9644\u52a0\u4fe1\u606f\u3002","type":"boolean","default":false,"required":false},"order_includes":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u6709\u7279\u5b9a\u8ba2\u5355 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"order_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a\u8ba2\u5355 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/orders"}]}},"\/wc-analytics\/reports\/orders\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","net_revenue","orders_count","avg_order_value"],"required":false},"interval":{"description":"\u7528\u4e8e\u5df2\u8fd4\u56de\u7684\u6570\u636e\u4e2d\u7684\u5b58\u50a8\u6876\u7684\u65f6\u95f4\u95f4\u9694\u3002","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"match":{"description":"\u8868\u793a\u7ed3\u679c\u96c6\u7684\u6240\u6709\u6761\u4ef6\u662f\u5426\u4e3a true\uff0c\u6216\u8005\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u662f\u5426\u5145\u5206\u3002\u5339\u914d\u7ed3\u679c\u4f1a\u5f71\u54cd\u4ee5\u4e0b\u53c2\u6570\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories","type":"string","default":"all","enum":["all","any"],"required":false},"status_is":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u6709\u7279\u5b9a\u8ba2\u5355\u72b6\u6001\u7684\u9879\u76ee\u3002","type":"array","default":null,"items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"status_is_not":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a\u8ba2\u5355\u72b6\u6001\u7684\u9879\u76ee\u3002","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"product_includes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u4ea7\u54c1\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u6307\u5b9a\u7279\u5b9a\u4ea7\u54c1\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"coupon_includes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u4f18\u60e0\u5238\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"coupon_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u6307\u5b9a\u7279\u5b9a\u4f18\u60e0\u5238\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"tax_rate_includes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u7a0e\u7387\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"tax_rate_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u6307\u5b9a\u7279\u5b9a\u7a0e\u7387\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"customer":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u6307\u5b9a\u7279\u5b9a\u4f18\u60e0\u5238\u7684\u9879\u76ee\u3002","type":"string","enum":["new","returning"],"required":false},"refunds":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u7279\u5b9a\u9000\u6b3e\u7c7b\u578b\u3002","type":"string","default":"","enum":["","all","partial","full","none"],"required":false},"segmentby":{"description":"\u901a\u8fc7\u9644\u52a0\u7ea6\u675f\u7ec6\u5206\u56de\u590d\u3002","type":"string","enum":["product","category","variation","coupon","customer_type"],"required":false},"fields":{"description":"\u5c06\u7edf\u8ba1\u4fe1\u606f\u5b57\u6bb5\u9650\u5236\u4e3a\u4ec5\u663e\u793a\u6307\u5b9a\u7684\u9879\u76ee\u3002","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/orders\/stats"}]}},"\/wc-analytics\/reports\/categories":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"category_id","enum":["category_id","items_sold","net_revenue","orders_count","products_count","category"],"required":false},"interval":{"description":"\u7528\u4e8e\u5df2\u8fd4\u56de\u7684\u6570\u636e\u4e2d\u7684\u5b58\u50a8\u6876\u7684\u65f6\u95f4\u95f4\u9694\u3002","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"status_is":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u6709\u7279\u5b9a\u8ba2\u5355\u72b6\u6001\u7684\u9879\u76ee\u3002","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"status_is_not":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a\u8ba2\u5355\u72b6\u6001\u7684\u9879\u76ee\u3002","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"categories":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728\u7c7b\u522b\u5206\u7c7b\u4e2d\u6307\u5b9a\u4e86\u7279\u5b9a\u672f\u8bed\u7684\u6240\u6709\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"extended_info":{"description":"\u5411\u62a5\u544a\u4e2d\u6dfb\u52a0\u5173\u4e8e\u6bcf\u4e2a\u7c7b\u522b\u7684\u9644\u52a0\u4fe1\u606f\u3002","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/categories"}]}},"\/wc-analytics\/reports\/taxes":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"tax_rate_id","enum":["name","tax_rate_id","tax_code","rate","order_tax","total_tax","shipping_tax","orders_count"],"required":false},"taxes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u4e00\u4e2a\u6216\u591a\u4e2a\u7a0e\u7387\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/taxes"}]}},"\/wc-analytics\/reports\/taxes\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","items_sold","total_sales","orders_count","products_count"],"required":false},"interval":{"description":"\u7528\u4e8e\u5df2\u8fd4\u56de\u7684\u6570\u636e\u4e2d\u7684\u5b58\u50a8\u6876\u7684\u65f6\u95f4\u95f4\u9694\u3002","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"taxes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728\u7a0e\u52a1\u5206\u7c7b\u4e2d\u6307\u5b9a\u4e86\u7279\u5b9a\u672f\u8bed\u7684\u6240\u6709\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"segmentby":{"description":"\u901a\u8fc7\u9644\u52a0\u7ea6\u675f\u7ec6\u5206\u56de\u590d\u3002","type":"string","enum":["tax_rate_id"],"required":false},"fields":{"description":"\u5c06\u7edf\u8ba1\u4fe1\u606f\u5b57\u6bb5\u9650\u5236\u4e3a\u4ec5\u663e\u793a\u6307\u5b9a\u7684\u9879\u76ee\u3002","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/taxes\/stats"}]}},"\/wc-analytics\/reports\/coupons":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"coupon_id","enum":["coupon_id","code","amount","orders_count"],"required":false},"coupons":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u4f18\u60e0\u5238 ID \u7684\u4f18\u60e0\u5238\u3002","type":"array","items":{"type":"integer"},"required":false},"extended_info":{"description":"\u5411\u62a5\u544a\u4e2d\u6dfb\u52a0\u5173\u4e8e\u6bcf\u5f20\u4f18\u60e0\u5238\u7684\u9644\u52a0\u4fe1\u606f\u3002","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/coupons"}]}},"\/wc-analytics\/reports\/coupons\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","amount","coupons_count","orders_count"],"required":false},"interval":{"description":"\u7528\u4e8e\u5df2\u8fd4\u56de\u7684\u6570\u636e\u4e2d\u7684\u5b58\u50a8\u6876\u7684\u65f6\u95f4\u95f4\u9694\u3002","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"coupons":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u4f18\u60e0\u5238 ID \u7684\u4f18\u60e0\u5238\u3002","type":"array","items":{"type":"integer"},"required":false},"segmentby":{"description":"\u901a\u8fc7\u9644\u52a0\u7ea6\u675f\u7ec6\u5206\u56de\u590d\u3002","type":"string","enum":["product","variation","category","coupon"],"required":false},"fields":{"description":"\u5c06\u7edf\u8ba1\u4fe1\u606f\u5b57\u6bb5\u9650\u5236\u4e3a\u4ec5\u663e\u793a\u6307\u5b9a\u7684\u9879\u76ee\u3002","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/coupons\/stats"}]}},"\/wc-analytics\/reports\/stock":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u4e0d\u5305\u62ec\u7279\u5b9a\u7684IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u7279\u5b9a\u7684IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"stock_status","enum":["stock_status","stock_quantity","date","id","include","title","sku"],"required":false},"parent":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u90e8\u5206\u7236\u7ea7IDs\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u9664\u90e8\u5206\u7236\u7ea7ID\u4e4b\u5916\u7684\u5168\u90e8\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"type":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u5e93\u5b58\u62a5\u544a\u7c7b\u578b\u7684\u9879\u76ee\u3002","type":"string","default":"all","enum":["all","lowstock","instock","outofstock","onbackorder"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/stock"}]}},"\/wc-analytics\/reports\/stock\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/stock\/stats"}]}},"\/wc-analytics\/reports\/downloads":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","product"],"required":false},"match":{"description":"\u8868\u793a\u7ed3\u679c\u96c6\u7684\u6240\u6709\u6761\u4ef6\u662f\u5426\u4e3a true\uff0c\u6216\u8005\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u662f\u5426\u5145\u5206\u3002\u5339\u914d\u7ed3\u679c\u4f1a\u5f71\u54cd\u4ee5\u4e0b\u53c2\u6570\uff1aproducts\u3001orders\u3001username\u3001ip_address\u3002","type":"string","default":"all","enum":["all","any"],"required":false},"product_includes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u4ea7\u54c1\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u6307\u5b9a\u7279\u5b9a\u4ea7\u54c1\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order_includes":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u6709\u7279\u5b9a\u8ba2\u5355 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"order_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a\u8ba2\u5355 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"customer_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6709\u7279\u5b9a\u7528\u6237 ID \u7684\u5bf9\u8c61\u3002","type":"array","items":{"type":"integer"},"required":false},"customer_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a\u7528\u6237 ID \u7684\u5bf9\u8c61\u3002","type":"array","items":{"type":"integer"},"required":false},"ip_address_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6709\u7279\u5b9a IP \u5730\u5740\u7684\u5bf9\u8c61\u3002","type":"array","items":{"type":"string"},"required":false},"ip_address_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a IP \u5730\u5740\u7684\u5bf9\u8c61\u3002","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/downloads"}]}},"\/wc-analytics\/reports\/downloads\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date","enum":["date","download_count"],"required":false},"interval":{"description":"\u7528\u4e8e\u5df2\u8fd4\u56de\u7684\u6570\u636e\u4e2d\u7684\u5b58\u50a8\u6876\u7684\u65f6\u95f4\u95f4\u9694\u3002","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"match":{"description":"\u8868\u793a\u7ed3\u679c\u96c6\u7684\u6240\u6709\u6761\u4ef6\u662f\u5426\u4e3a true\uff0c\u6216\u8005\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u662f\u5426\u5145\u5206\u3002\u5339\u914d\u7ed3\u679c\u4f1a\u5f71\u54cd\u4ee5\u4e0b\u53c2\u6570\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories","type":"string","default":"all","enum":["all","any"],"required":false},"product_includes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5df2\u6307\u5b9a\u7279\u5b9a\u4ea7\u54c1\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u6307\u5b9a\u7279\u5b9a\u4ea7\u54c1\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order_includes":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u6709\u7279\u5b9a\u8ba2\u5355 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"order_excludes":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a\u8ba2\u5355 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"customer_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6709\u7279\u5b9a\u5ba2\u6237 ID \u7684\u5bf9\u8c61\u3002","type":"array","items":{"type":"integer"},"required":false},"customer_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a\u5ba2\u6237 ID \u7684\u5bf9\u8c61\u3002","type":"array","items":{"type":"integer"},"required":false},"ip_address_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6709\u7279\u5b9a IP \u5730\u5740\u7684\u5bf9\u8c61\u3002","type":"array","items":{"type":"string"},"required":false},"ip_address_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ca1\u6709\u7279\u5b9a IP \u5730\u5740\u7684\u5bf9\u8c61\u3002","type":"array","items":{"type":"string"},"required":false},"fields":{"description":"\u5c06\u7edf\u8ba1\u4fe1\u606f\u5b57\u6bb5\u9650\u5236\u4e3a\u4ec5\u663e\u793a\u6307\u5b9a\u7684\u9879\u76ee\u3002","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/downloads\/stats"}]}},"\/wc-analytics\/reports\/customers":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"registered_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ce8\u518c\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"registered_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ce8\u518c\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u5305\u542b\u8ba2\u5355\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u5305\u542b\u8ba2\u5355\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"order":{"description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","type":"string","default":"date_registered","enum":["username","name","country","city","state","postcode","date_registered","date_last_active","orders_count","total_spend","avg_order_value"],"required":false},"match":{"description":"\u8868\u793a\u7ed3\u679c\u96c6\u7684\u6240\u6709\u6761\u4ef6\u662f\u5426\u4e3a true\uff0c\u6216\u8005\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u662f\u5426\u5145\u5206\u3002\u5339\u914d\u7ed3\u679c\u4f1a\u5f71\u54cd\u4ee5\u4e0b\u53c2\u6570\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories","type":"string","default":"all","enum":["all","any"],"required":false},"search":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5e26\u6709\u5305\u542b\u641c\u7d22\u8bcd\u7684\u5ba2\u6237\u5b57\u6bb5\u7684\u5bf9\u8c61\u641c\u7d22\u201csearchby\u201d\u63d0\u4f9b\u7684\u5b57\u6bb5\u3002","type":"string","required":false},"searchby":{"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string","default":"name","enum":["name","username","email"],"required":false},"name_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u540d\u79f0\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"name_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u540d\u79f0\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"username_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u7528\u6237\u540d\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"username_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u7528\u6237\u540d\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"email_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7535\u5b50\u90ae\u4ef6\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"email_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7535\u5b50\u90ae\u4ef6\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"country_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u56fd\u5bb6\/\u5730\u533a\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"country_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u56fd\u5bb6\/\u5730\u533a\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"last_active_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_active_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_active_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u95f4\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"registered_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u95f4\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"orders_count_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6574\u6570\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"integer","required":false},"orders_count_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6574\u6570\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"integer","required":false},"orders_count_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6574\u6570\u4e4b\u95f4\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"total_spend_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u603b\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"total_spend_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u603b\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"total_spend_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6570\u5b57\u4e4b\u95f4\u603b\u8ba1\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"avg_order_value_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"avg_order_value_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"avg_order_value_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6570\u5b57\u4e4b\u95f4\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"last_order_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u53d1\u5e03\u7684\u5305\u542b\u4e0a\u4e00\u4e2a\u8ba2\u5355\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_order_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u53d1\u5e03\u7684\u5305\u542b\u4e0a\u4e00\u4e2a\u8ba2\u5355\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"customers":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u5ba2\u6237 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/customers"}]}},"\/wc-analytics\/reports\/customers\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"registered_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ce8\u518c\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"registered_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u6ce8\u518c\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"match":{"description":"\u8868\u793a\u7ed3\u679c\u96c6\u7684\u6240\u6709\u6761\u4ef6\u662f\u5426\u4e3a true\uff0c\u6216\u8005\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u662f\u5426\u5145\u5206\u3002\u5339\u914d\u7ed3\u679c\u4f1a\u5f71\u54cd\u4ee5\u4e0b\u53c2\u6570\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories","type":"string","default":"all","enum":["all","any"],"required":false},"search":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5e26\u6709\u5305\u542b\u641c\u7d22\u8bcd\u7684\u5ba2\u6237\u5b57\u6bb5\u7684\u5bf9\u8c61\u641c\u7d22\u201csearchby\u201d\u63d0\u4f9b\u7684\u5b57\u6bb5\u3002","type":"string","required":false},"searchby":{"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string","default":"name","enum":["name","username","email"],"required":false},"name_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u540d\u79f0\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"name_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u540d\u79f0\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"username_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u7528\u6237\u540d\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"username_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u7528\u6237\u540d\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"email_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7535\u5b50\u90ae\u4ef6\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"email_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7535\u5b50\u90ae\u4ef6\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"country_includes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u56fd\u5bb6\/\u5730\u533a\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"country_excludes":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0d\u5305\u542b\u7279\u5b9a\u56fd\u5bb6\/\u5730\u533a\u7684\u5bf9\u8c61\u3002","type":"string","required":false},"last_active_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_active_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_active_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u95f4\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"registered_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u4e0a\u6b21\u6d3b\u52a8\u65f6\u95f4\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u95f4\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"orders_count_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6574\u6570\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"integer","required":false},"orders_count_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6574\u6570\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"integer","required":false},"orders_count_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6574\u6570\u4e4b\u95f4\u7684\u8ba2\u5355\u6570\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"total_spend_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u603b\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"total_spend_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u603b\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"total_spend_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6570\u5b57\u4e4b\u95f4\u603b\u8ba1\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"avg_order_value_min":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5927\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"avg_order_value_max":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u5c0f\u4e8e\u6216\u7b49\u4e8e\u7ed9\u5b9a\u6570\u5b57\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"number","required":false},"avg_order_value_between":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5305\u542b\u4ecb\u4e8e\u4e24\u4e2a\u7ed9\u5b9a\u6570\u5b57\u4e4b\u95f4\u7684\u5e73\u5747\u8ba2\u5355\u82b1\u8d39\u7684\u5bf9\u8c61\u3002","type":"array","required":false},"last_order_before":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u524d\uff08\u6216\u5f53\u65f6\uff09\u53d1\u5e03\u7684\u5305\u542b\u4e0a\u4e00\u4e2a\u8ba2\u5355\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"last_order_after":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u5728\u7ed9\u5b9a\u7684 ISO8601 \u517c\u5bb9\u65e5\u671f\u65f6\u95f4\u4e4b\u540e\uff08\u6216\u5f53\u65f6\uff09\u53d1\u5e03\u7684\u5305\u542b\u4e0a\u4e00\u4e2a\u8ba2\u5355\u7684\u5bf9\u8c61\u3002","type":"string","format":"date-time","required":false},"customers":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5305\u542b\u7279\u5b9a\u5ba2\u6237 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"fields":{"description":"\u5c06\u7edf\u8ba1\u4fe1\u606f\u5b57\u6bb5\u9650\u5236\u4e3a\u4ec5\u663e\u793a\u6307\u5b9a\u7684\u9879\u76ee\u3002","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/customers\/stats"}]}},"\/wc-analytics\/taxes":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"\u5408\u96c6\u7684\u5f53\u524d\u9875\u9762\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de\u7684\u7269\u54c1\u6570\u91cf\u6700\u5927\u503c\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"offset":{"description":"\u6309\u7279\u5b9a\u7684\u7269\u54c1\u6570\u91cf\u504f\u79fb\u7ed3\u679c\u96c6\u3002","type":"integer","required":false},"order":{"default":"asc","description":"\u6309\u7167\u5347\u5e8f\u6216\u964d\u5e8f\u53bb\u6392\u5e8f\u53ef\u6392\u5e8f\u7684\u5c5e\u6027\u3002","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"order","description":"\u6309\u7167\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u7ed3\u679c\u3002","enum":["id","order"],"type":"string","required":false},"class":{"description":"\u4ee5\u7a0e\u79cd\u6392\u5217\u3002","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"type":"string","required":false},"search":{"description":"\u6309\u7c7b\u4f3c\u7a0e\u8d39\u4ee3\u7801\u641c\u7d22\u3002","type":"string","required":false},"include":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u5177\u6709\u6307\u5b9a\u91cf ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false}}},{"methods":["POST"],"args":{"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"default":1,"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"default":false,"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"default":true,"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"default":"standard","description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/taxes"}]}},"\/wc-analytics\/taxes\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u8d44\u6e90\u7684\u7edf\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"\u9700\u8981\u4e3atrue\uff0c\u56e0\u4e3a\u8d44\u6e90\u4e0d\u652f\u6301\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wc-analytics\/taxes\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"description":"\u56fd\u5bb6\/\u5730\u533a\u7684 ISO 3166 \u4ee3\u7801\u3002","type":"string","required":false},"state":{"description":"\u5dde\u4ee3\u7801\u3002","type":"string","required":false},"postcode":{"description":"\u90ae\u7f16\u3002","type":"string","required":false},"city":{"description":"\u57ce\u5e02\u540d\u79f0\u3002","type":"string","required":false},"rate":{"description":"\u7a0e\u7387\u3002","type":"string","required":false},"name":{"description":"\u7a0e\u7387\u540d\u79f0\u3002","type":"string","required":false},"priority":{"description":"\u7a0e\u7684\u4f18\u5148\u7b49\u7ea7\u3002","type":"integer","required":false},"compound":{"description":"\u662f\u5426\u662f\u590d\u5408\u8d39\u7387\u3002","type":"boolean","required":false},"shipping":{"description":"\u662f\u5426\u6b64\u7a0e\u7387\u4e5f\u5e94\u7528\u4e8e\u8fd0\u8d39\u4e2d\u3002","type":"boolean","required":false},"order":{"description":"\u6307\u793a\u5c06\u5728\u67e5\u8be2\u4e2d\u51fa\u73b0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"class":{"description":"\u7a0e\u7684\u7c7b\u578b","type":"string","enum":["standard","reduced-rate","zero-rate","%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87","%e9%9b%b6%e7%a8%8e%e7%8e%87"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/taxes\/batch"}]}},"\/wc-admin\/themes":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"pluginzip":{"description":"\u8981\u4e0a\u4f20\u7684\u4e3b\u9898\u7684 zip \u6587\u4ef6\u3002","type":"file","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/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.yanpai.com\/index.php\/wp-json\/wc-admin\/onboarding\/plugins\/connect-square"}]}},"\/wc-analytics\/reports\/performance-indicators":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"stats":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u7279\u5b9a\u62a5\u544a\u7edf\u8ba1\u4fe1\u606f\u3002\u5141\u8bb8\u7684\u503c\uff1a\u52a0\u8f7d\u62a5\u544a\u7aef\u70b9\u65f6\u51fa\u73b0\u95ee\u9898\u3002","type":"array","items":{"type":"string","enum":[]},"default":[],"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/performance-indicators"}]}},"\/wc-analytics\/reports\/performance-indicators\/allowed":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","edit"],"default":"view","required":false},"stats":{"description":"\u5c06\u56de\u590d\u9650\u5236\u4e3a\u7279\u5b9a\u62a5\u544a\u7edf\u8ba1\u4fe1\u606f\u3002\u5141\u8bb8\u7684\u503c\uff1a\u52a0\u8f7d\u62a5\u544a\u7aef\u70b9\u65f6\u51fa\u73b0\u95ee\u9898\u3002","type":"array","items":{"type":"string","enum":[]},"default":[],"required":false},"after":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u9650\u5236\u54cd\u5e94\u4e3a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8d44\u6e90\u3002","type":"string","format":"date-time","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed"}]}},"\/wp\/v2":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp\/v2","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2"}]}},"\/wp\/v2\/posts":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u540e\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"author":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"author_exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9a\u7ed9\u7279\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u524d\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u6587\u7ae0\u5c5e\u6027\u5bf9\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\u3002","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u7279\u5b9a\u522b\u540d\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u72b6\u6001\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"},"required":false},"tax_relation":{"description":"\u57fa\u4e8e\u591a\u4e2a\u5206\u7c7b\u6cd5\u95f4\u7684\u5173\u7cfb\u9650\u5236\u7ed3\u679c\u96c6\u3002","type":"string","enum":["AND","OR"],"required":false},"categories":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728categories\u5206\u7c7b\u6cd5\u4e2d\u6307\u5b9a\u4e86\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]},"include_children":{"description":"\u662f\u5426\u5728\u9650\u5236\u7ed3\u679c\u96c6\u7684\u9879\u76ee\u4e2d\u5305\u542b\u5b50\u9879\u76ee\u3002","type":"boolean","default":false},"operator":{"description":"\u9879\u76ee\u662f\u5426\u5fc5\u987b\u5206\u914d\u6240\u6709\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u672f\u8bed\u3002","type":"string","enum":["AND","OR"],"default":"OR"}},"additionalProperties":false}],"required":false},"categories_exclude":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728categories\u5206\u7c7b\u6cd5\u4e2d\u672a\u6307\u5b9a\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]},"include_children":{"description":"\u662f\u5426\u5728\u9650\u5236\u7ed3\u679c\u96c6\u7684\u9879\u76ee\u4e2d\u5305\u542b\u5b50\u9879\u76ee\u3002","type":"boolean","default":false}},"additionalProperties":false}],"required":false},"tags":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728tags\u5206\u7c7b\u6cd5\u4e2d\u6307\u5b9a\u4e86\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]},"operator":{"description":"\u9879\u76ee\u662f\u5426\u5fc5\u987b\u5206\u914d\u6240\u6709\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u672f\u8bed\u3002","type":"string","enum":["AND","OR"],"default":"OR"}},"additionalProperties":false}],"required":false},"tags_exclude":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728tags\u5206\u7c7b\u6cd5\u4e2d\u672a\u6307\u5b9a\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]}},"additionalProperties":false}],"required":false},"sticky":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u7f6e\u9876\u9879\u76ee\u3002","type":"boolean","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"format":{"description":"\u6587\u7ae0\u7684\u5f62\u5f0f\u3002","type":"string","enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"sticky":{"description":"\u6587\u7ae0\u662f\u5426\u4e3a\u7f6e\u9876\u3002","type":"boolean","required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false},"categories":{"description":"\u5728 category \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"tags":{"description":"\u5728 post_tag \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/posts"}]}},"\/wp\/v2\/posts\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"\u8be5\u6587\u7ae0\u7684\u5bc6\u7801\uff0c\u5982\u6587\u7ae0\u53d7\u5bc6\u7801\u4fdd\u62a4\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"format":{"description":"\u6587\u7ae0\u7684\u5f62\u5f0f\u3002","type":"string","enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"sticky":{"description":"\u6587\u7ae0\u662f\u5426\u4e3a\u7f6e\u9876\u3002","type":"boolean","required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false},"categories":{"description":"\u5728 category \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"tags":{"description":"\u5728 post_tag \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/posts\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/posts\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u4fee\u8ba2\u7248\u672c\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"format":{"description":"\u6587\u7ae0\u7684\u5f62\u5f0f\u3002","type":"string","enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"sticky":{"description":"\u6587\u7ae0\u662f\u5426\u4e3a\u7f6e\u9876\u3002","type":"boolean","required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false},"categories":{"description":"\u5728 category \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"tags":{"description":"\u5728 post_tag \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}}]},"\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"id":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/pages":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u540e\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"author":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"author_exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9a\u7ed9\u7279\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u524d\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"menu_order":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u7279\u5b9amenu_order\u7684\u6587\u7ae0\u3002","type":"integer","required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u6587\u7ae0\u5c5e\u6027\u5bf9\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\u3002","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title","menu_order"],"required":false},"parent":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u7279\u5b9a\u7236 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u9664\u7279\u5b9a\u7236ID\u4e4b\u5916\u7684\u6240\u6709\u9879\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u7279\u5b9a\u522b\u540d\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u72b6\u6001\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"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"parent":{"description":"\u6587\u7ae0\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"menu_order":{"description":"\u6587\u7ae0\u4e0e\u5176\u4ed6\u6587\u7ae0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/pages"}]}},"\/wp\/v2\/pages\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"\u8be5\u6587\u7ae0\u7684\u5bc6\u7801\uff0c\u5982\u6587\u7ae0\u53d7\u5bc6\u7801\u4fdd\u62a4\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"parent":{"description":"\u6587\u7ae0\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"menu_order":{"description":"\u6587\u7ae0\u4e0e\u5176\u4ed6\u6587\u7ae0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/pages\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/pages\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u4fee\u8ba2\u7248\u672c\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"\u6587\u7ae0\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"menu_order":{"description":"\u6587\u7ae0\u4e0e\u5176\u4ed6\u6587\u7ae0\u7684\u987a\u5e8f\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}}]},"\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"id":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/media":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u540e\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"author":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"author_exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9a\u7ed9\u7279\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u524d\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u6587\u7ae0\u5c5e\u6027\u5bf9\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\u3002","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"parent":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u7279\u5b9a\u7236 ID \u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u9664\u7279\u5b9a\u7236ID\u4e4b\u5916\u7684\u6240\u6709\u9879\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u7279\u5b9a\u522b\u540d\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"string"},"required":false},"status":{"default":"inherit","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u72b6\u6001\u7684\u6587\u7ae0\u3002","type":"array","items":{"enum":["inherit","private","trash"],"type":"string"},"required":false},"media_type":{"default":null,"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u67d0\u4e00\u5a92\u4f53\u7c7b\u578b\u7684\u9644\u4ef6\u3002","type":"string","enum":["image","video","text","application","audio"],"required":false},"mime_type":{"default":null,"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u67d0\u4e00MIME\u7c7b\u578b\u7684\u9644\u4ef6\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false},"alt_text":{"description":"\u5728\u9644\u4ef6\u672a\u80fd\u663e\u793a\u65f6\u663e\u793a\u7684\u66ff\u6362\u6587\u672c\u3002","type":"string","required":false},"caption":{"description":"\u9644\u4ef6\u8bf4\u660e\u6587\u5b57\u3002","type":"object","properties":{"raw":{"description":"\u9644\u4ef6\u7684\u8bf4\u660e\u6587\u5b57\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u9644\u4ef6\u7684 HTML \u8bf4\u660e\u6587\u5b57\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"\u9644\u4ef6\u7684\u63cf\u8ff0\u3002","type":"object","properties":{"raw":{"description":"\u9644\u4ef6\u7684\u63cf\u8ff0\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u9644\u4ef6\u7684 HTML \u63cf\u8ff0\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true}},"required":false},"post":{"description":"\u9644\u4ef6\u6240\u5c5e\u6587\u7ae0\u7684ID\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/media"}]}},"\/wp\/v2\/media\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false},"alt_text":{"description":"\u5728\u9644\u4ef6\u672a\u80fd\u663e\u793a\u65f6\u663e\u793a\u7684\u66ff\u6362\u6587\u672c\u3002","type":"string","required":false},"caption":{"description":"\u9644\u4ef6\u8bf4\u660e\u6587\u5b57\u3002","type":"object","properties":{"raw":{"description":"\u9644\u4ef6\u7684\u8bf4\u660e\u6587\u5b57\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u9644\u4ef6\u7684 HTML \u8bf4\u660e\u6587\u5b57\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"\u9644\u4ef6\u7684\u63cf\u8ff0\u3002","type":"object","properties":{"raw":{"description":"\u9644\u4ef6\u7684\u63cf\u8ff0\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u9644\u4ef6\u7684 HTML \u63cf\u8ff0\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true}},"required":false},"post":{"description":"\u9644\u4ef6\u6240\u5c5e\u6587\u7ae0\u7684ID\u3002","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/media\/(?P[\\d]+)\/post-process":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"description":"\u9644\u4ef6\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"action":{"type":"string","enum":["create-image-subsizes"],"required":true}}}]},"\/wp\/v2\/media\/(?P[\\d]+)\/edit":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"src":{"description":"\u5df2\u7ecf\u7f16\u8f91\u7684\u56fe\u7247\u6587\u4ef6 \u7684URL\u3002","type":"string","format":"uri","required":true},"modifiers":{"description":"\u56fe\u7247\u7f16\u8f91\u6570\u7ec4\u3002","type":"array","minItems":1,"items":{"description":"\u56fe\u7247\u7f16\u8f91","type":"object","required":["type","args"],"oneOf":[{"title":"\u65cb\u8f6c","properties":{"type":{"description":"\u65cb\u8f6c\u7c7b\u578b\u3002","type":"string","enum":["rotate"]},"args":{"description":"\u65cb\u8f6c\u53c2\u6570\u3002","type":"object","required":["angle"],"properties":{"angle":{"description":"\u987a\u65f6\u9488\u65cb\u8f6c\u7684\u89d2\u5ea6\u3002","type":"number"}}}}},{"title":"\u88c1\u526a","properties":{"type":{"description":"\u88c1\u526a\u65b9\u5f0f\u3002","type":"string","enum":["crop"]},"args":{"description":"\u88c1\u526a\u53c2\u6570\u3002","type":"object","required":["left","top","width","height"],"properties":{"left":{"description":"\u4ece\u5de6\u8fb9\u5f00\u59cb\u88c1\u526a\u7684\u6c34\u5e73\u4f4d\u7f6e\u4ee5\u5360\u7528\u56fe\u7247\u5bbd\u5ea6\u7684\u767e\u5206\u6bd4\u8ba1\u7b97\u3002","type":"number"},"top":{"description":"\u4ece\u9876\u90e8\u5f00\u59cb\u88c1\u526a\u7684\u5782\u76f4\u4f4d\u7f6e\u4ee5\u5360\u7528\u56fe\u7247\u9ad8\u5ea6\u7684\u767e\u5206\u6bd4\u8ba1\u7b97\u3002","type":"number"},"width":{"description":"\u88c1\u526a\u5bbd\u5ea6\u4ee5\u5360\u7528\u56fe\u7247\u5bbd\u5ea6\u7684\u767e\u5206\u6bd4\u8ba1\u7b97\u3002","type":"number"},"height":{"description":"\u88c1\u526a\u7684\u9ad8\u5ea6\u4ee5\u5360\u7528\u56fe\u7247\u9ad8\u5ea6\u7684\u767e\u5206\u6bd4\u8ba1\u7b97\u3002","type":"number"}}}}}]},"required":false},"rotation":{"description":"\u987a\u65f6\u9488\u65cb\u8f6c\u7684\u89d2\u5ea6\u91cf\u3002\u5df2\u5f03\u7528\uff1a\u8bf7\u6539\u4e3a\u4f7f\u7528`modifiers`\u53c2\u6570\u3002","type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":360,"exclusiveMaximum":true,"required":false},"x":{"description":"\u4ece X \u8f74\u5f00\u59cb\u88c1\u526a\u7684\u4f4d\u7f6e\u4ee5\u5360\u7528\u56fe\u7247\u7684\u767e\u5206\u6bd4\u8ba1\u7b97\u3002\u5df2\u5f03\u7528\u3002\u4f7f\u7528`modifiers`\u4ee3\u66ff\u3002","type":"number","minimum":0,"maximum":100,"required":false},"y":{"description":"\u4ece Y \u8f74\u5f00\u59cb\u88c1\u526a\u7684\u4f4d\u7f6e\u4ee5\u5360\u7528\u56fe\u7247\u7684\u767e\u5206\u6bd4\u8ba1\u7b97\u3002\u5df2\u5f03\u7528\u3002\u4f7f\u7528`modifiers`\u4ee3\u66ff\u3002","type":"number","minimum":0,"maximum":100,"required":false},"width":{"description":"\u88c1\u526a\u5bbd\u5ea6\u4ee5\u56fe\u7247\u6240\u5360\u7528\u7684\u767e\u5206\u6bd4\u8ba1\u7b97\u3002\u5df2\u5f03\u7528\u3002\u4f7f\u7528`modifiers`\u4ee3\u66ff\u3002","type":"number","minimum":0,"maximum":100,"required":false},"height":{"description":"\u88c1\u526a\u9ad8\u5ea6\u4ee5\u56fe\u7247\u6240\u7ad9\u7528\u7684\u767e\u5206\u6bd4\u8ba1\u7b97\u3002\u5df2\u5f03\u7528\u3002\u4f7f\u7528`modifiers`\u4ee3\u66ff\u3002","type":"number","minimum":0,"maximum":100,"required":false}}}]},"\/wp\/v2\/menu-items":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":100,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u540e\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u524d\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"menu_order","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title","menu_order"],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u7279\u5b9a\u522b\u540d\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u72b6\u6001\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"},"required":false},"tax_relation":{"description":"\u57fa\u4e8e\u591a\u4e2a\u5206\u7c7b\u6cd5\u95f4\u7684\u5173\u7cfb\u9650\u5236\u7ed3\u679c\u96c6\u3002","type":"string","enum":["AND","OR"],"required":false},"menus":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728menus\u5206\u7c7b\u6cd5\u4e2d\u6307\u5b9a\u4e86\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]},"operator":{"description":"\u9879\u76ee\u662f\u5426\u5fc5\u987b\u5206\u914d\u6240\u6709\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u672f\u8bed\u3002","type":"string","enum":["AND","OR"],"default":"OR"}},"additionalProperties":false}],"required":false},"menus_exclude":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728menus\u5206\u7c7b\u6cd5\u4e2d\u672a\u6307\u5b9a\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]}},"additionalProperties":false}],"required":false},"menu_order":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u7279\u5b9amenu_order\u7684\u6587\u7ae0\u3002","type":"integer","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"title":{"description":"\u5bf9\u8c61\u7684\u6807\u9898\u3002","type":["string","object"],"properties":{"raw":{"description":"\u5bf9\u8c61\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u5bf9\u8c61\u7684HTML\u6807\u9898\uff0c\u8f6c\u6362\u540e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"type":{"default":"custom","description":"\u539f\u59cb\u8868\u793a\u7684\u5bf9\u8c61\u7ec4\uff0c\u5982 \"post_type \"\u6216 \"taxonomy\"\u3002","type":"string","enum":["taxonomy","post_type","post_type_archive","custom"],"required":false},"status":{"default":"publish","description":"\u5bf9\u8c61\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"parent":{"default":0,"description":"\u5bf9\u8c61\u7684\u7236\u5bf9\u8c61ID\u3002","type":"integer","minimum":0,"required":false},"attr_title":{"description":"\u6b64\u83dc\u5355\u9879\u7684link\u5143\u7d20\u7684title\u5c5e\u6027\u7684\u6587\u672c\u3002","type":"string","required":false},"classes":{"description":"\u6b64\u83dc\u5355\u9879\u7684\u94fe\u63a5\u5143\u7d20\u7684\u7c7b\u540d\u79f0\u3002","type":"array","items":{"type":"string"},"required":false},"description":{"description":"\u6b64\u83dc\u5355\u9879\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"default":1,"description":"\u5bfc\u822a\u83dc\u5355\u9879\u7684nav_menu_item\u7684DB ID\uff08\u5982\u679c\u6709\uff09\uff0c\u5426\u5219\u4e3a0\u3002","type":"integer","minimum":1,"required":false},"object":{"description":"\u5bf9\u8c61\u521d\u59cb\u7684\u8868\u793a\u7c7b\u578b\uff0c\u5982 \u201c\u5206\u7c7b\u201d\u3001\u201c\u6587\u7ae0\u201d\u548c\u201c\u9644\u4ef6\u201d\u3002","type":"string","required":false},"object_id":{"default":0,"description":"\u6b64\u83dc\u5355\u9879\u8868\u793a\u7684\u539f\u59cb\u5bf9\u8c61\u7684\u6570\u636e\u5e93 ID\uff0c\u4f8b\u5982\u6587\u7ae0\u7684 ID \u6216\u5206\u7c7b\u7684 term_id\u3002","type":"integer","minimum":0,"required":false},"target":{"description":"\u6b64\u83dc\u5355\u9879\u7684\u94fe\u63a5\u5143\u7d20\u7684target\u5c5e\u6027\u3002","type":"string","enum":["_blank",""],"required":false},"url":{"description":"\u8be5\u83dc\u5355\u9879\u6307\u5411\u7684URL\u3002","type":"string","format":"uri","required":false},"xfn":{"description":"\u8be5\u83dc\u5355\u9879\u7684\u94fe\u63a5\u4e2d\u8868\u793a\u7684XFN\u5173\u7cfb\u3002","type":"array","items":{"type":"string"},"required":false},"menus":{"description":"\u6b64\u5bf9\u8c61\u5728nav_menu\u5206\u7c7b\u6cd5\u4e2d\u6307\u5b9a\u7684\u9879\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/menu-items"}]}},"\/wp\/v2\/menu-items\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"title":{"description":"\u5bf9\u8c61\u7684\u6807\u9898\u3002","type":["string","object"],"properties":{"raw":{"description":"\u5bf9\u8c61\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u5bf9\u8c61\u7684HTML\u6807\u9898\uff0c\u8f6c\u6362\u540e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"type":{"description":"\u539f\u59cb\u8868\u793a\u7684\u5bf9\u8c61\u7ec4\uff0c\u5982 \"post_type \"\u6216 \"taxonomy\"\u3002","type":"string","enum":["taxonomy","post_type","post_type_archive","custom"],"required":false},"status":{"description":"\u5bf9\u8c61\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"parent":{"description":"\u5bf9\u8c61\u7684\u7236\u5bf9\u8c61ID\u3002","type":"integer","minimum":0,"required":false},"attr_title":{"description":"\u6b64\u83dc\u5355\u9879\u7684link\u5143\u7d20\u7684title\u5c5e\u6027\u7684\u6587\u672c\u3002","type":"string","required":false},"classes":{"description":"\u6b64\u83dc\u5355\u9879\u7684\u94fe\u63a5\u5143\u7d20\u7684\u7c7b\u540d\u79f0\u3002","type":"array","items":{"type":"string"},"required":false},"description":{"description":"\u6b64\u83dc\u5355\u9879\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u5bfc\u822a\u83dc\u5355\u9879\u7684nav_menu_item\u7684DB ID\uff08\u5982\u679c\u6709\uff09\uff0c\u5426\u5219\u4e3a0\u3002","type":"integer","minimum":1,"required":false},"object":{"description":"\u5bf9\u8c61\u521d\u59cb\u7684\u8868\u793a\u7c7b\u578b\uff0c\u5982 \u201c\u5206\u7c7b\u201d\u3001\u201c\u6587\u7ae0\u201d\u548c\u201c\u9644\u4ef6\u201d\u3002","type":"string","required":false},"object_id":{"description":"\u6b64\u83dc\u5355\u9879\u8868\u793a\u7684\u539f\u59cb\u5bf9\u8c61\u7684\u6570\u636e\u5e93 ID\uff0c\u4f8b\u5982\u6587\u7ae0\u7684 ID \u6216\u5206\u7c7b\u7684 term_id\u3002","type":"integer","minimum":0,"required":false},"target":{"description":"\u6b64\u83dc\u5355\u9879\u7684\u94fe\u63a5\u5143\u7d20\u7684target\u5c5e\u6027\u3002","type":"string","enum":["_blank",""],"required":false},"url":{"description":"\u8be5\u83dc\u5355\u9879\u6307\u5411\u7684URL\u3002","type":"string","format":"uri","required":false},"xfn":{"description":"\u8be5\u83dc\u5355\u9879\u7684\u94fe\u63a5\u4e2d\u8868\u793a\u7684XFN\u5173\u7cfb\u3002","type":"array","items":{"type":"string"},"required":false},"menus":{"description":"\u6b64\u5bf9\u8c61\u5728nav_menu\u5206\u7c7b\u6cd5\u4e2d\u6307\u5b9a\u7684\u9879\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"\u5bf9\u8c61\u7684\u7236\u5bf9\u8c61ID\u3002","type":"integer","minimum":0,"required":false},"title":{"description":"\u5bf9\u8c61\u7684\u6807\u9898\u3002","type":["string","object"],"properties":{"raw":{"description":"\u5bf9\u8c61\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u5bf9\u8c61\u7684HTML\u6807\u9898\uff0c\u8f6c\u6362\u540e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"type":{"description":"\u539f\u59cb\u8868\u793a\u7684\u5bf9\u8c61\u7ec4\uff0c\u5982 \"post_type \"\u6216 \"taxonomy\"\u3002","type":"string","enum":["taxonomy","post_type","post_type_archive","custom"],"required":false},"status":{"description":"\u5bf9\u8c61\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"attr_title":{"description":"\u6b64\u83dc\u5355\u9879\u7684link\u5143\u7d20\u7684title\u5c5e\u6027\u7684\u6587\u672c\u3002","type":"string","required":false},"classes":{"description":"\u6b64\u83dc\u5355\u9879\u7684\u94fe\u63a5\u5143\u7d20\u7684\u7c7b\u540d\u79f0\u3002","type":"array","items":{"type":"string"},"required":false},"description":{"description":"\u6b64\u83dc\u5355\u9879\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"menu_order":{"description":"\u5bfc\u822a\u83dc\u5355\u9879\u7684nav_menu_item\u7684DB ID\uff08\u5982\u679c\u6709\uff09\uff0c\u5426\u5219\u4e3a0\u3002","type":"integer","minimum":1,"required":false},"object":{"description":"\u5bf9\u8c61\u521d\u59cb\u7684\u8868\u793a\u7c7b\u578b\uff0c\u5982 \u201c\u5206\u7c7b\u201d\u3001\u201c\u6587\u7ae0\u201d\u548c\u201c\u9644\u4ef6\u201d\u3002","type":"string","required":false},"object_id":{"description":"\u6b64\u83dc\u5355\u9879\u8868\u793a\u7684\u539f\u59cb\u5bf9\u8c61\u7684\u6570\u636e\u5e93 ID\uff0c\u4f8b\u5982\u6587\u7ae0\u7684 ID \u6216\u5206\u7c7b\u7684 term_id\u3002","type":"integer","minimum":0,"required":false},"target":{"description":"\u6b64\u83dc\u5355\u9879\u7684\u94fe\u63a5\u5143\u7d20\u7684target\u5c5e\u6027\u3002","type":"string","enum":["_blank",""],"required":false},"url":{"description":"\u8be5\u83dc\u5355\u9879\u6307\u5411\u7684URL\u3002","type":"string","format":"uri","required":false},"xfn":{"description":"\u8be5\u83dc\u5355\u9879\u7684\u94fe\u63a5\u4e2d\u8868\u793a\u7684XFN\u5173\u7cfb\u3002","type":"array","items":{"type":"string"},"required":false},"menus":{"description":"\u6b64\u5bf9\u8c61\u5728nav_menu\u5206\u7c7b\u6cd5\u4e2d\u6307\u5b9a\u7684\u9879\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}}]},"\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"id":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/blocks":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u540e\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u524d\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u6587\u7ae0\u5c5e\u6027\u5bf9\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\u3002","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u7279\u5b9a\u522b\u540d\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u72b6\u6001\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"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/blocks"}]}},"\/wp\/v2\/blocks\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"\u8be5\u6587\u7ae0\u7684\u5bc6\u7801\uff0c\u5982\u6587\u7ae0\u53d7\u5bc6\u7801\u4fdd\u62a4\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u4fee\u8ba2\u7248\u672c\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}}]},"\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"id":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/templates":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"wp_id":{"description":"\u9650\u5236\u4e3a\u6307\u5b9a\u7684\u6587\u7ae0 id\u3002","type":"integer","required":false},"area":{"description":"\u9650\u5236\u4e3a\u6307\u5b9a\u7684\u6a21\u677f\u7ec4\u4ef6\u533a\u3002","type":"string","required":false},"post_type":{"description":"\u8981\u83b7\u53d6\u6a21\u677f\u7684\u6587\u7ae0\u7c7b\u578b\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"slug":{"description":"\u6807\u8bc6\u6a21\u677f\u7684\u552f\u4e00\u522b\u540d\u3002","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\-]+","required":true},"theme":{"description":"\u6a21\u677f\u7684\u4e3b\u9898\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u6a21\u677f\u7684\u7c7b\u578b\u3002","type":"string","required":false},"content":{"default":"","description":"\u6a21\u677f\u7684\u5185\u5bb9\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]},"block_version":{"description":"\u6a21\u677f\u4f7f\u7528\u7684\u5185\u5bb9\u5757\u683c\u5f0f\u7684\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"default":"","description":"\u6a21\u677f\u7684\u6807\u9898\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u6807\u9898\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit","embed"]},"rendered":{"description":"\u6a21\u677f\u7684 HTML \u6807\u9898\uff0c\u5df2\u8f6c\u6362\u4ee5\u4f9b\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"default":"","description":"\u6a21\u677f\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"status":{"default":"publish","description":"\u6a21\u677f\u7684\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"author":{"description":"\u6a21\u677f\u4f5c\u8005\u7684 ID\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/templates"}]}},"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u6a21\u677f\u7684ID","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u6a21\u677f\u7684ID","type":"string","required":false},"slug":{"description":"\u6807\u8bc6\u6a21\u677f\u7684\u552f\u4e00\u522b\u540d\u3002","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\-]+","required":false},"theme":{"description":"\u6a21\u677f\u7684\u4e3b\u9898\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u6a21\u677f\u7684\u7c7b\u578b\u3002","type":"string","required":false},"content":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]},"block_version":{"description":"\u6a21\u677f\u4f7f\u7528\u7684\u5185\u5bb9\u5757\u683c\u5f0f\u7684\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"description":"\u6a21\u677f\u7684\u6807\u9898\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u6807\u9898\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit","embed"]},"rendered":{"description":"\u6a21\u677f\u7684 HTML \u6807\u9898\uff0c\u5df2\u8f6c\u6362\u4ee5\u4f9b\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"\u6a21\u677f\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"status":{"description":"\u6a21\u677f\u7684\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"author":{"description":"\u6a21\u677f\u4f5c\u8005\u7684 ID\u3002","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u6a21\u677f\u7684ID","type":"string","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/templates\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/templates\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u4fee\u8ba2\u7248\u672c\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/templates\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"slug":{"description":"\u6807\u8bc6\u6a21\u677f\u7684\u552f\u4e00\u522b\u540d\u3002","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\-]+","required":false},"theme":{"description":"\u6a21\u677f\u7684\u4e3b\u9898\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u6a21\u677f\u7684\u7c7b\u578b\u3002","type":"string","required":false},"content":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]},"block_version":{"description":"\u6a21\u677f\u4f7f\u7528\u7684\u5185\u5bb9\u5757\u683c\u5f0f\u7684\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"description":"\u6a21\u677f\u7684\u6807\u9898\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u6807\u9898\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit","embed"]},"rendered":{"description":"\u6a21\u677f\u7684 HTML \u6807\u9898\uff0c\u5df2\u8f6c\u6362\u4ee5\u4f9b\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"\u6a21\u677f\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"status":{"description":"\u6a21\u677f\u7684\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"author":{"description":"\u6a21\u677f\u4f5c\u8005\u7684 ID\u3002","type":"integer","required":false}}}]},"\/wp\/v2\/templates\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"id":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/template-parts":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"wp_id":{"description":"\u9650\u5236\u4e3a\u6307\u5b9a\u7684\u6587\u7ae0 id\u3002","type":"integer","required":false},"area":{"description":"\u9650\u5236\u4e3a\u6307\u5b9a\u7684\u6a21\u677f\u7ec4\u4ef6\u533a\u3002","type":"string","required":false},"post_type":{"description":"\u8981\u83b7\u53d6\u6a21\u677f\u7684\u6587\u7ae0\u7c7b\u578b\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"slug":{"description":"\u6807\u8bc6\u6a21\u677f\u7684\u552f\u4e00\u522b\u540d\u3002","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\-]+","required":true},"theme":{"description":"\u6a21\u677f\u7684\u4e3b\u9898\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u6a21\u677f\u7684\u7c7b\u578b\u3002","type":"string","required":false},"content":{"default":"","description":"\u6a21\u677f\u7684\u5185\u5bb9\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]},"block_version":{"description":"\u6a21\u677f\u4f7f\u7528\u7684\u5185\u5bb9\u5757\u683c\u5f0f\u7684\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"default":"","description":"\u6a21\u677f\u7684\u6807\u9898\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u6807\u9898\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit","embed"]},"rendered":{"description":"\u6a21\u677f\u7684 HTML \u6807\u9898\uff0c\u5df2\u8f6c\u6362\u4ee5\u4f9b\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"default":"","description":"\u6a21\u677f\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"status":{"default":"publish","description":"\u6a21\u677f\u7684\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"author":{"description":"\u6a21\u677f\u4f5c\u8005\u7684 ID\u3002","type":"integer","required":false},"area":{"description":"\u6a21\u677f\u7ec4\u4ef6\u7528\u9014\uff08\u9875\u7709\u3001\u9875\u811a\u7b49\uff09\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/template-parts"}]}},"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u6a21\u677f\u7684ID","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8be5\u6a21\u677f\u7684ID","type":"string","required":false},"slug":{"description":"\u6807\u8bc6\u6a21\u677f\u7684\u552f\u4e00\u522b\u540d\u3002","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\-]+","required":false},"theme":{"description":"\u6a21\u677f\u7684\u4e3b\u9898\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u6a21\u677f\u7684\u7c7b\u578b\u3002","type":"string","required":false},"content":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]},"block_version":{"description":"\u6a21\u677f\u4f7f\u7528\u7684\u5185\u5bb9\u5757\u683c\u5f0f\u7684\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"description":"\u6a21\u677f\u7684\u6807\u9898\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u6807\u9898\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit","embed"]},"rendered":{"description":"\u6a21\u677f\u7684 HTML \u6807\u9898\uff0c\u5df2\u8f6c\u6362\u4ee5\u4f9b\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"\u6a21\u677f\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"status":{"description":"\u6a21\u677f\u7684\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"author":{"description":"\u6a21\u677f\u4f5c\u8005\u7684 ID\u3002","type":"integer","required":false},"area":{"description":"\u6a21\u677f\u7ec4\u4ef6\u7528\u9014\uff08\u9875\u7709\u3001\u9875\u811a\u7b49\uff09\u3002","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8be5\u6a21\u677f\u7684ID","type":"string","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/template-parts\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/template-parts\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u4fee\u8ba2\u7248\u672c\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/template-parts\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"slug":{"description":"\u6807\u8bc6\u6a21\u677f\u7684\u552f\u4e00\u522b\u540d\u3002","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\-]+","required":false},"theme":{"description":"\u6a21\u677f\u7684\u4e3b\u9898\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"type":{"description":"\u6a21\u677f\u7684\u7c7b\u578b\u3002","type":"string","required":false},"content":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u5185\u5bb9\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit"]},"block_version":{"description":"\u6a21\u677f\u4f7f\u7528\u7684\u5185\u5bb9\u5757\u683c\u5f0f\u7684\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"description":"\u6a21\u677f\u7684\u6807\u9898\u3002","type":["object","string"],"properties":{"raw":{"description":"\u6a21\u677f\u7684\u6807\u9898\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit","embed"]},"rendered":{"description":"\u6a21\u677f\u7684 HTML \u6807\u9898\uff0c\u5df2\u8f6c\u6362\u4ee5\u4f9b\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"\u6a21\u677f\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"status":{"description":"\u6a21\u677f\u7684\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"author":{"description":"\u6a21\u677f\u4f5c\u8005\u7684 ID\u3002","type":"integer","required":false},"area":{"description":"\u6a21\u677f\u7ec4\u4ef6\u7528\u9014\uff08\u9875\u7709\u3001\u9875\u811a\u7b49\uff09\u3002","type":"string","required":false}}}]},"\/wp\/v2\/template-parts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"id":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/navigation":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u540e\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u524d\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u6587\u7ae0\u5c5e\u6027\u5bf9\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\u3002","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u7279\u5b9a\u522b\u540d\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u72b6\u6001\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"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/navigation"}]}},"\/wp\/v2\/navigation\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"\u8be5\u6587\u7ae0\u7684\u5bc6\u7801\uff0c\u5982\u6587\u7ae0\u53d7\u5bc6\u7801\u4fdd\u62a4\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u5bf9\u8c61\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"\u4fee\u8ba2\u7248\u7684\u7236\u7ea7 ID\u3002","type":"integer","required":false},"id":{"description":"\u4fee\u8ba2\u7248\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u4fee\u8ba2\u7248\u672c\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}}]},"\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"id":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/portfolio":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u540e\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"author":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"author_exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9a\u7ed9\u7279\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u524d\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u6587\u7ae0\u5c5e\u6027\u5bf9\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\u3002","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u7279\u5b9a\u522b\u540d\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u72b6\u6001\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"},"required":false},"tax_relation":{"description":"\u57fa\u4e8e\u591a\u4e2a\u5206\u7c7b\u6cd5\u95f4\u7684\u5173\u7cfb\u9650\u5236\u7ed3\u679c\u96c6\u3002","type":"string","enum":["AND","OR"],"required":false},"portfolio_cat":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728portfolio_cat\u5206\u7c7b\u6cd5\u4e2d\u6307\u5b9a\u4e86\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]},"include_children":{"description":"\u662f\u5426\u5728\u9650\u5236\u7ed3\u679c\u96c6\u7684\u9879\u76ee\u4e2d\u5305\u542b\u5b50\u9879\u76ee\u3002","type":"boolean","default":false},"operator":{"description":"\u9879\u76ee\u662f\u5426\u5fc5\u987b\u5206\u914d\u6240\u6709\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u672f\u8bed\u3002","type":"string","enum":["AND","OR"],"default":"OR"}},"additionalProperties":false}],"required":false},"portfolio_cat_exclude":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728portfolio_cat\u5206\u7c7b\u6cd5\u4e2d\u672a\u6307\u5b9a\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]},"include_children":{"description":"\u662f\u5426\u5728\u9650\u5236\u7ed3\u679c\u96c6\u7684\u9879\u76ee\u4e2d\u5305\u542b\u5b50\u9879\u76ee\u3002","type":"boolean","default":false}},"additionalProperties":false}],"required":false},"portfolio_tags":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728portfolio_tags\u5206\u7c7b\u6cd5\u4e2d\u6307\u5b9a\u4e86\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]},"operator":{"description":"\u9879\u76ee\u662f\u5426\u5fc5\u987b\u5206\u914d\u6240\u6709\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u672f\u8bed\u3002","type":"string","enum":["AND","OR"],"default":"OR"}},"additionalProperties":false}],"required":false},"portfolio_tags_exclude":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5728portfolio_tags\u5206\u7c7b\u6cd5\u4e2d\u672a\u6307\u5b9a\u7279\u5b9a\u9879\u76ee\u7684\u9879\u76ee\u3002","type":["object","array"],"oneOf":[{"title":"\u9879\u76eeID\u5217\u8868","description":"\u5c06\u9879\u76ee\u4e0e\u5217\u51fa\u7684ID\u76f8\u5339\u914d\u3002","type":"array","items":{"type":"integer"}},{"title":"\u9879\u76eeID\u5206\u7c7b\u6cd5\u67e5\u8be2\u3002","description":"\u8fdb\u884c\u4e00\u9879\u9ad8\u7ea7\u9879\u76ee\u67e5\u8be2\u3002","type":"object","properties":{"terms":{"description":"\u9879\u76eeID\u3002","type":"array","items":{"type":"integer"},"default":[]}},"additionalProperties":false}],"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"format":{"description":"\u6587\u7ae0\u7684\u5f62\u5f0f\u3002","type":"string","enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false},"portfolio_cat":{"description":"\u5728 portfolio_cat \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"portfolio_tags":{"description":"\u5728 portfolio_tags \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/portfolio"}]}},"\/wp\/v2\/portfolio\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"\u8be5\u6587\u7ae0\u7684\u5bc6\u7801\uff0c\u5982\u6587\u7ae0\u53d7\u5bc6\u7801\u4fdd\u62a4\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"format":{"description":"\u6587\u7ae0\u7684\u5f62\u5f0f\u3002","type":"string","enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false},"portfolio_cat":{"description":"\u5728 portfolio_cat \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"portfolio_tags":{"description":"\u5728 portfolio_tags \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/portfolio\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"\u6587\u7ae0\u4f5c\u8005\u7684ID\u3002","type":"integer","required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"format":{"description":"\u6587\u7ae0\u7684\u5f62\u5f0f\u3002","type":"string","enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false},"portfolio_cat":{"description":"\u5728 portfolio_cat \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false},"portfolio_tags":{"description":"\u5728 portfolio_tags \u5206\u7c7b\u6cd5\u4e2d\u5206\u914d\u7ed9\u8be5\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"array","items":{"type":"integer"},"required":false}}}]},"\/wp\/v2\/portfolio\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"id":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/product":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u540e\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"modified_before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u4e3a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u65e5\u671f\uff08ISO 8601\u517c\u5bb9\u683c\u5f0f\uff09\u4e4b\u524d\u4fee\u6539\u8fc7\u7684\u6587\u7ae0\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u6587\u7ae0\u5c5e\u6027\u5bf9\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\u3002","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u7279\u5b9a\u522b\u540d\u7684\u6587\u7ae0\u3002","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u72b6\u6001\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"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/product"}]}},"\/wp\/v2\/product\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"\u8be5\u6587\u7ae0\u7684\u5bc6\u7801\uff0c\u5982\u6587\u7ae0\u53d7\u5bc6\u7801\u4fdd\u62a4\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u6587\u7ae0\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false}}}]},"\/wp\/v2\/product\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"date":{"description":"\u6587\u7ae0\u53d1\u5e03\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"\u8be5\u6587\u7ae0\u53d1\u5e03\u7684 GMT \u65e5\u671f\u3002","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"\u6587\u7ae0\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\uff0c\u5176\u7c7b\u578b\u662f\u552f\u4e00\u7684\u3002","type":"string","required":false},"status":{"description":"\u6587\u7ae0\u7684\u547d\u540d\u72b6\u6001\u3002","type":"string","enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"required":false},"password":{"description":"\u7528\u6765\u4fdd\u62a4\u5185\u5bb9\u548c\u6458\u8981\u7684\u5bc6\u7801\u3002","type":"string","required":false},"title":{"description":"\u6587\u7ae0\u7684\u6807\u9898\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6807\u9898\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"\u8be5\u6587\u7ae0\u6240\u4f7f\u7528\u7684\u5185\u5bb9\u533a\u5757\u683c\u5f0f\u7248\u672c\u3002","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"\u5185\u5bb9\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"excerpt":{"description":"\u8be5\u7bc7\u6587\u7ae0\u7684\u6458\u8981\u3002","type":"object","properties":{"raw":{"description":"\u6587\u7ae0\u7684\u6458\u8981\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6458\u8981\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"\u6458\u8981\u662f\u5426\u53d7\u5230\u5bc6\u7801\u4fdd\u62a4\u3002","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"\u6587\u7ae0\u7684\u7279\u8272\u5a92\u4f53 ID\u3002","type":"integer","required":false},"comment_status":{"description":"\u6587\u7ae0\u662f\u5426\u5f00\u653e\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"\u6587\u7ae0\u662f\u5426\u63a5\u53d7ping\u3002","type":"string","enum":["open","closed"],"required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"template":{"description":"\u7528\u4e8e\u663e\u793a\u6587\u7ae0\u7684\u4e3b\u9898\u6587\u4ef6\u3002","type":"string","required":false}}}]},"\/wp\/v2\/product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"id":{"description":"\u81ea\u52a8\u4fdd\u5b58\u7684 ID\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/types":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/types"}]}},"\/wp\/v2\/types\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"type":{"description":"\u6587\u7ae0\u7c7b\u578b\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/statuses":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/statuses"}]}},"\/wp\/v2\/statuses\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"status":{"description":"\u72b6\u6001\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/taxonomies":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"type":{"description":"\u9650\u5236\u7ed3\u679c\u4e3a\u5173\u8054\u5230\u7279\u5b9a\u6587\u7ae0\u7c7b\u578b\u7684\u5206\u7c7b\u6cd5\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/taxonomies"}]}},"\/wp\/v2\/taxonomies\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"taxonomy":{"description":"\u5206\u7c7b\u6cd5\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/categories":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u9879\u76ee\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u672a\u88ab\u6307\u5b9a\u5230\u4efb\u4f55\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u7236\u9879\u76ee\u7684\u9879\u76ee\u3002","type":"integer","required":false},"post":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u522b\u540d\u7684\u5206\u7c7b\u6cd5\u9879\u76ee\u3002","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":true},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u7236\u9879\u76eeID\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/categories"}]}},"\/wp\/v2\/categories\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":false},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u7236\u9879\u76eeID\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u9879\u76ee\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/tags":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u9879\u76ee\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u672a\u88ab\u6307\u5b9a\u5230\u4efb\u4f55\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"boolean","default":false,"required":false},"post":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u522b\u540d\u7684\u5206\u7c7b\u6cd5\u9879\u76ee\u3002","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":true},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/tags"}]}},"\/wp\/v2\/tags\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":false},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u9879\u76ee\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/menus":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u9879\u76ee\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u672a\u88ab\u6307\u5b9a\u5230\u4efb\u4f55\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"boolean","default":false,"required":false},"post":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u522b\u540d\u7684\u5206\u7c7b\u6cd5\u9879\u76ee\u3002","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":true},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"locations":{"description":"\u5206\u914d\u7ed9\u83dc\u5355\u7684\u4f4d\u7f6e\u3002","type":"array","items":{"type":"string"},"required":false},"auto_add":{"description":"\u662f\u5426\u81ea\u52a8\u6dfb\u52a0\u9876\u7ea7\u9875\u9762\u5230\u6b64\u83dc\u5355\u3002","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/menus"}]}},"\/wp\/v2\/menus\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":false},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false},"locations":{"description":"\u5206\u914d\u7ed9\u83dc\u5355\u7684\u4f4d\u7f6e\u3002","type":"array","items":{"type":"string"},"required":false},"auto_add":{"description":"\u662f\u5426\u81ea\u52a8\u6dfb\u52a0\u9876\u7ea7\u9875\u9762\u5230\u6b64\u83dc\u5355\u3002","type":"boolean","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u9879\u76ee\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/portfolio_cat":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u9879\u76ee\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u672a\u88ab\u6307\u5b9a\u5230\u4efb\u4f55\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"boolean","default":false,"required":false},"parent":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u7236\u9879\u76ee\u7684\u9879\u76ee\u3002","type":"integer","required":false},"post":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u522b\u540d\u7684\u5206\u7c7b\u6cd5\u9879\u76ee\u3002","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":true},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u7236\u9879\u76eeID\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/portfolio_cat"}]}},"\/wp\/v2\/portfolio_cat\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":false},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"parent":{"description":"\u7236\u9879\u76eeID\u3002","type":"integer","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u9879\u76ee\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/portfolio_tags":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u9879\u76ee\u5c5e\u6027\u6392\u5e8f\u96c6\u5408\u3002","type":"string","default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"required":false},"hide_empty":{"description":"\u662f\u5426\u9690\u85cf\u672a\u88ab\u6307\u5b9a\u5230\u4efb\u4f55\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"boolean","default":false,"required":false},"post":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u6587\u7ae0\u7684\u9879\u76ee\u3002","type":"integer","default":null,"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u522b\u540d\u7684\u5206\u7c7b\u6cd5\u9879\u76ee\u3002","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":true},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/portfolio_tags"}]}},"\/wp\/v2\/portfolio_tags\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"description":{"description":"\u9879\u76ee\u7684HTML\u63cf\u8ff0\u3002","type":"string","required":false},"name":{"description":"\u9879\u76ee\u7684HTML\u6807\u9898\u3002","type":"string","required":false},"slug":{"description":"\u9879\u76ee\u7c7b\u578b\u800c\u8a00\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u9879\u76ee\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u9879\u76ee\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false}}}]},"\/wp\/v2\/users":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"default":"asc","description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"name","description":"\u6309\u7528\u6237\u5c5e\u6027\u5bf9\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\u3002","enum":["id","include","name","registered_date","slug","include_slugs","email","url"],"type":"string","required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5177\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u522b\u540d\u7684\u7528\u6237\u3002","type":"array","items":{"type":"string"},"required":false},"roles":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5339\u914d\u81f3\u5c11\u4e00\u4e2a\u89d2\u8272\u7684\u7528\u6237\uff0c\u63a5\u53d7.csv\u683c\u5f0f\u5217\u8868\u6216\u5355\u4e2a\u89d2\u8272\u3002","type":"array","items":{"type":"string"},"required":false},"capabilities":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5339\u914d\u81f3\u5c11\u4e00\u9879\u63d0\u4f9b\u7684\u7279\u5b9a\u529f\u80fd\u7684\u7528\u6237\u3002\u63a5\u53d7 csv \u5217\u8868\u6216\u5355\u4e2a\u529f\u80fd\u3002","type":"array","items":{"type":"string"},"required":false},"who":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u7528\u6237\u4e2d\u7684\u6240\u6709\u4f5c\u8005\u3002","type":"string","enum":["authors"],"required":false},"has_published_posts":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e8e\u5df2\u53d1\u5e03\u6587\u7ae0\u7684\u7528\u6237\u3002","type":["boolean","array"],"items":{"type":"string","enum":{"post":"post","page":"page","attachment":"attachment","nav_menu_item":"nav_menu_item","wp_block":"wp_block","wp_template":"wp_template","wp_template_part":"wp_template_part","wp_navigation":"wp_navigation","portfolio":"portfolio","product":"product"}},"required":false}}},{"methods":["POST"],"args":{"username":{"description":"\u7528\u6237\u7684\u767b\u5f55\u540d\u3002","type":"string","required":true},"name":{"description":"\u7528\u6237\u7684\u663e\u793a\u540d\u3002","type":"string","required":false},"first_name":{"description":"\u7528\u6237\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u7528\u6237\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"email":{"description":"\u7528\u6237\u7684\u7535\u5b50\u90ae\u7bb1\u5730\u5740\u3002","type":"string","format":"email","required":true},"url":{"description":"\u7528\u6237\u7684URL\u3002","type":"string","format":"uri","required":false},"description":{"description":"\u7528\u6237\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"locale":{"description":"\u7528\u6237\u7684\u5730\u533a\u8bed\u8a00\u3002","type":"string","enum":["","en_US","zh_CN"],"required":false},"nickname":{"description":"\u7528\u6237\u7684\u6635\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u7528\u6237\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"roles":{"description":"\u7528\u6237\u88ab\u8d4b\u4e88\u7684\u89d2\u8272\u3002","type":"array","items":{"type":"string"},"required":false},"password":{"description":"\u7528\u6237\u7684\u5bc6\u7801\uff08\u4ece\u4e0d\u88ab\u5305\u542b\uff09\u3002","type":"string","required":true},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/users"}]}},"\/wp\/v2\/users\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u7528\u6237\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u7528\u6237\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"username":{"description":"\u7528\u6237\u7684\u767b\u5f55\u540d\u3002","type":"string","required":false},"name":{"description":"\u7528\u6237\u7684\u663e\u793a\u540d\u3002","type":"string","required":false},"first_name":{"description":"\u7528\u6237\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u7528\u6237\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"email":{"description":"\u7528\u6237\u7684\u7535\u5b50\u90ae\u7bb1\u5730\u5740\u3002","type":"string","format":"email","required":false},"url":{"description":"\u7528\u6237\u7684URL\u3002","type":"string","format":"uri","required":false},"description":{"description":"\u7528\u6237\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"locale":{"description":"\u7528\u6237\u7684\u5730\u533a\u8bed\u8a00\u3002","type":"string","enum":["","en_US","zh_CN"],"required":false},"nickname":{"description":"\u7528\u6237\u7684\u6635\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u7528\u6237\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"roles":{"description":"\u7528\u6237\u88ab\u8d4b\u4e88\u7684\u89d2\u8272\u3002","type":"array","items":{"type":"string"},"required":false},"password":{"description":"\u7528\u6237\u7684\u5bc6\u7801\uff08\u4ece\u4e0d\u88ab\u5305\u542b\uff09\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u7528\u6237\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u7528\u6237\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false},"reassign":{"type":"integer","description":"\u5c06\u88ab\u5220\u9664\u7528\u6237\u7684\u6587\u7ae0\u548c\u94fe\u63a5\u91cd\u65b0\u6307\u5b9a\u5230\u6b64\u7528\u6237ID\u3002","required":true}}}]},"\/wp\/v2\/users\/me":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"username":{"description":"\u7528\u6237\u7684\u767b\u5f55\u540d\u3002","type":"string","required":false},"name":{"description":"\u7528\u6237\u7684\u663e\u793a\u540d\u3002","type":"string","required":false},"first_name":{"description":"\u7528\u6237\u7684\u540d\u5b57\u3002","type":"string","required":false},"last_name":{"description":"\u7528\u6237\u7684\u59d3\u6c0f\u3002","type":"string","required":false},"email":{"description":"\u7528\u6237\u7684\u7535\u5b50\u90ae\u7bb1\u5730\u5740\u3002","type":"string","format":"email","required":false},"url":{"description":"\u7528\u6237\u7684URL\u3002","type":"string","format":"uri","required":false},"description":{"description":"\u7528\u6237\u7684\u63cf\u8ff0\u3002","type":"string","required":false},"locale":{"description":"\u7528\u6237\u7684\u5730\u533a\u8bed\u8a00\u3002","type":"string","enum":["","en_US","zh_CN"],"required":false},"nickname":{"description":"\u7528\u6237\u7684\u6635\u79f0\u3002","type":"string","required":false},"slug":{"description":"\u7528\u6237\u7684\u82f1\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"roles":{"description":"\u7528\u6237\u88ab\u8d4b\u4e88\u7684\u89d2\u8272\u3002","type":"array","items":{"type":"string"},"required":false},"password":{"description":"\u7528\u6237\u7684\u5bc6\u7801\uff08\u4ece\u4e0d\u88ab\u5305\u542b\uff09\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"args":{"force":{"type":"boolean","default":false,"description":"\u8981\u6c42\u4e3atrue\uff0c\u56e0\u4e3a\u7528\u6237\u4e0d\u80fd\u88ab\u79fb\u52a8\u5230\u56de\u6536\u7ad9\u3002","required":false},"reassign":{"type":"integer","description":"\u5c06\u88ab\u5220\u9664\u7528\u6237\u7684\u6587\u7ae0\u548c\u94fe\u63a5\u91cd\u65b0\u6307\u5b9a\u5230\u6b64\u7528\u6237ID\u3002","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/users\/me"}]}},"\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords":{"namespace":"wp\/v2","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"app_id":{"description":"\u7531\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u7684\u7528\u4e8e\u552f\u4e00\u8bc6\u522b\u7684 UUID\u3002\u5efa\u8bae\u4f7f\u7528\u542b\u6709 URL \u6216 DNS \u547d\u540d\u7a7a\u95f4\u7684 UUID v5\u3002","type":"string","format":"uuid","required":false},"name":{"description":"\u5e94\u7528\u7a0b\u5e8f\u5bc6\u7801\u540d\u79f0\u3002","type":"string","minLength":1,"pattern":".*\\S.*","required":true}}},{"methods":["DELETE"],"args":[]}]},"\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/introspect":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/(?P[\\w\\-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"app_id":{"description":"\u7531\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u7684\u7528\u4e8e\u552f\u4e00\u8bc6\u522b\u7684 UUID\u3002\u5efa\u8bae\u4f7f\u7528\u542b\u6709 URL \u6216 DNS \u547d\u540d\u7a7a\u95f4\u7684 UUID v5\u3002","type":"string","format":"uuid","required":false},"name":{"description":"\u5e94\u7528\u7a0b\u5e8f\u5bc6\u7801\u540d\u79f0\u3002","type":"string","minLength":1,"pattern":".*\\S.*","required":false}}},{"methods":["DELETE"],"args":[]}]},"\/wp\/v2\/comments":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"after":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u540e\u53d1\u5e03\u7684\u8bc4\u8bba\u3002","type":"string","format":"date-time","required":false},"author":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7ed9\u7279\u5b9a\u7528\u6237ID\u7684\u8bc4\u8bba\uff0c\u9700\u8981\u6388\u6743\u3002","type":"array","items":{"type":"integer"},"required":false},"author_exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9a\u7ed9\u7279\u5b9a\u7528\u6237ID\u7684\u8bc4\u8bba\uff0c\u9700\u8981\u6388\u6743\u3002","type":"array","items":{"type":"integer"},"required":false},"author_email":{"default":null,"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u4f5c\u8005\u7684\u7535\u5b50\u90ae\u7bb1\u5730\u5740\uff0c\u9700\u8981\u6388\u6743\u3002","format":"email","type":"string","required":false},"before":{"description":"\u5c06\u56de\u5e94\u9650\u5236\u5728\u4e00\u4e2a\u7ed9\u5b9a\u7684ISO8601\u517c\u5bb9\u65e5\u671f\u4e4b\u524d\u53d1\u5e03\u7684\u8bc4\u8bba\u3002","type":"string","format":"date-time","required":false},"exclude":{"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9aID\u3002","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"\u5c06\u7ed3\u679c\u96c6\u79fb\u4f4d\u7279\u5b9a\u6570\u91cf\u3002","type":"integer","required":false},"order":{"description":"\u8bbe\u7f6e\u6392\u5e8f\u5b57\u6bb5\u5347\u5e8f\u6216\u964d\u5e8f\u3002","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"\u6309\u8bc4\u8bba\u5c5e\u6027\u5bf9\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\u3002","type":"string","default":"date_gmt","enum":["date","date_gmt","id","include","post","parent","type"],"required":false},"parent":{"default":[],"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u7236ID\u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"parent_exclude":{"default":[],"description":"\u786e\u4fdd\u7ed3\u679c\u96c6\u6392\u9664\u6307\u5b9a\u7236ID\u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"post":{"default":[],"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5173\u8054\u5230\u6307\u5b9a\u6587\u7ae0ID\u7684\u8bc4\u8bba\u3002","type":"array","items":{"type":"integer"},"required":false},"status":{"default":"approve","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u8bbe\u7f6e\u7279\u5b9a\u72b6\u6001\u7684\u8bc4\u8bba\uff0c\u9700\u8981\u6388\u6743\u3002","type":"string","required":false},"type":{"default":"comment","description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u8bbe\u7f6e\u7279\u5b9a\u7c7b\u578b\u7684\u8bc4\u8bba\uff0c\u9700\u8981\u6388\u6743\u3002","type":"string","required":false},"password":{"description":"\u8be5\u6587\u7ae0\u7684\u5bc6\u7801\uff0c\u5982\u6587\u7ae0\u53d7\u5bc6\u7801\u4fdd\u62a4\u3002","type":"string","required":false}}},{"methods":["POST"],"args":{"author":{"description":"\u7528\u6237\u5bf9\u8c61\u7684ID\uff0c\u5982\u679c\u4f5c\u8005\u662f\u7528\u6237\u3002","type":"integer","required":false},"author_email":{"description":"\u8bc4\u8bba\u8005\u7684\u7535\u5b50\u90ae\u7bb1\u5730\u5740\u3002","type":"string","format":"email","required":false},"author_ip":{"description":"\u8bc4\u8bba\u8005\u7684IP\u5730\u5740\u3002","type":"string","format":"ip","required":false},"author_name":{"description":"\u8bc4\u8bba\u8005\u7684\u663e\u793a\u540d\u3002","type":"string","required":false},"author_url":{"description":"\u8bc4\u8bba\u8005\u7684\u7f51\u5740\u3002","type":"string","format":"uri","required":false},"author_user_agent":{"description":"\u8bc4\u8bba\u8005\u7684 User agent\u3002","type":"string","required":false},"content":{"description":"\u8bc4\u8bba\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u8bc4\u8bba\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u8bc4\u8bba\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"date":{"description":"\u8bc4\u8bba\u53d1\u8868\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":"string","format":"date-time","required":false},"date_gmt":{"description":"\u8bc4\u8bba\u53d1\u8868\u7684 GMT \u65e5\u671f\u3002","type":"string","format":"date-time","required":false},"parent":{"default":0,"description":"\u8bc4\u8bba\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"post":{"default":0,"description":"\u5173\u8054\u6587\u7ae0\u5bf9\u8c61\u7684ID\u3002","type":"integer","required":false},"status":{"description":"\u8bc4\u8bba\u7684\u72b6\u6001\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/comments"}]}},"\/wp\/v2\/comments\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8bc4\u8bba\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"\u8bc4\u8bba\u6240\u5c5e\u6587\u7ae0\u7684\u5bc6\u7801\uff08\u5982\u679c\u8be5\u6587\u7ae0\u88ab\u5bc6\u7801\u4fdd\u62a4\uff09\u3002","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"\u8bc4\u8bba\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"author":{"description":"\u7528\u6237\u5bf9\u8c61\u7684ID\uff0c\u5982\u679c\u4f5c\u8005\u662f\u7528\u6237\u3002","type":"integer","required":false},"author_email":{"description":"\u8bc4\u8bba\u8005\u7684\u7535\u5b50\u90ae\u7bb1\u5730\u5740\u3002","type":"string","format":"email","required":false},"author_ip":{"description":"\u8bc4\u8bba\u8005\u7684IP\u5730\u5740\u3002","type":"string","format":"ip","required":false},"author_name":{"description":"\u8bc4\u8bba\u8005\u7684\u663e\u793a\u540d\u3002","type":"string","required":false},"author_url":{"description":"\u8bc4\u8bba\u8005\u7684\u7f51\u5740\u3002","type":"string","format":"uri","required":false},"author_user_agent":{"description":"\u8bc4\u8bba\u8005\u7684 User agent\u3002","type":"string","required":false},"content":{"description":"\u8bc4\u8bba\u7684\u5185\u5bb9\u3002","type":"object","properties":{"raw":{"description":"\u8bc4\u8bba\u7684\u5185\u5bb9\uff0c\u5b58\u653e\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["edit"]},"rendered":{"description":"\u8bc4\u8bba\u7684 HTML \u5185\u5bb9\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"date":{"description":"\u8bc4\u8bba\u53d1\u8868\u7684\u65e5\u671f\uff08\u7ad9\u70b9\u65f6\u533a\uff09\u3002","type":"string","format":"date-time","required":false},"date_gmt":{"description":"\u8bc4\u8bba\u53d1\u8868\u7684 GMT \u65e5\u671f\u3002","type":"string","format":"date-time","required":false},"parent":{"description":"\u8bc4\u8bba\u7684\u7236\u7ea7ID\u3002","type":"integer","required":false},"post":{"description":"\u5173\u8054\u6587\u7ae0\u5bf9\u8c61\u7684ID\u3002","type":"integer","required":false},"status":{"description":"\u8bc4\u8bba\u7684\u72b6\u6001\u3002","type":"string","required":false},"meta":{"description":"\u5143\u5b57\u6bb5\u3002","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"\u8bc4\u8bba\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"\u662f\u5426\u7ed5\u8fc7\u56de\u6536\u7ad9\u5e76\u5f3a\u884c\u5220\u9664\u3002","required":false},"password":{"description":"\u8bc4\u8bba\u6240\u5c5e\u6587\u7ae0\u7684\u5bc6\u7801\uff08\u5982\u679c\u8be5\u6587\u7ae0\u88ab\u5bc6\u7801\u4fdd\u62a4\uff09\u3002","type":"string","required":false}}}]},"\/wp\/v2\/search":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"type":{"default":"post","description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e00\u79cd\u5bf9\u8c61\u7c7b\u578b\u3002","type":"string","enum":["post","term","post-format"],"required":false},"subtype":{"default":"any","description":"\u9650\u5236\u7ed3\u679c\u4e3a\u4e00\u79cd\u6216\u591a\u79cd\u5bf9\u8c61\u5b50\u7c7b\u578b\u3002","type":"array","items":{"enum":["post","page","portfolio","product","category","post_tag","portfolio_cat","portfolio_tags","any"],"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/search"}]}},"\/wp\/v2\/block-renderer\/(?P[a-z0-9-]+\/[a-z0-9-]+)":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET","POST"],"args":{"name":{"description":"\u6b64\u533a\u5757\u7684\u552f\u4e00\u6ce8\u518c\u540d\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["edit"],"default":"view","required":false},"attributes":{"description":"\u6b64\u533a\u5757\u7684\u5c5e\u6027\u3002","type":"object","default":[],"required":false},"post_id":{"description":"\u6587\u7ae0\u4e0a\u4e0b\u6587\u7684ID\u3002","type":"integer","required":false}}}]},"\/wp\/v2\/block-types":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"namespace":{"description":"\u533a\u5757\u547d\u540d\u7a7a\u95f4\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/block-types"}]}},"\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"namespace":{"description":"\u533a\u5757\u547d\u540d\u7a7a\u95f4\u3002","type":"string","required":false}}}]},"\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)\/(?P[a-zA-Z0-9_-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"name":{"description":"\u533a\u5757\u540d\u79f0","type":"string","required":false},"namespace":{"description":"\u533a\u5757\u547d\u540d\u7a7a\u95f4\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/global-styles\/themes\/(?P[\\\/\\s%\\w\\.\\(\\)\\[\\]\\@_\\-]+)\/variations":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"stylesheet":{"description":"\u4e3b\u9898\u6807\u8bc6\u7b26","type":"string","required":false}}}]},"\/wp\/v2\/global-styles\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"stylesheet":{"description":"\u4e3b\u9898\u6807\u8bc6\u7b26","type":"string","required":false}}}]},"\/wp\/v2\/global-styles\/(?P[\\\/\\w-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u8be5\u6a21\u677f\u7684ID","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"styles":{"description":"\u5168\u5c40\u6837\u5f0f\u3002","type":["object"],"required":false},"settings":{"description":"\u5168\u5c40\u8bbe\u7f6e\u3002","type":["object"],"required":false},"title":{"description":"\u5168\u5c40\u6837\u5f0f\u53d8\u4f53\u7684\u6807\u9898\u3002","type":["object","string"],"properties":{"raw":{"description":"\u5168\u5c40\u6837\u5f0f\u53d8\u4f53\u7684\u6807\u9898\uff0c\u56e0\u4e3a\u5b83\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\u3002","type":"string","context":["view","edit","embed"]},"rendered":{"description":"\u6587\u7ae0\u7684 HTML \u6807\u9898\uff0c\u7ecf\u8f6c\u6362\u540e\u7528\u4e8e\u663e\u793a\u3002","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false}}}]},"\/wp\/v2\/settings":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"title":{"description":"\u7ad9\u70b9\u6807\u9898\u3002","type":"string","required":false},"description":{"description":"\u7ad9\u70b9\u526f\u6807\u9898\u3002","type":"string","required":false},"url":{"description":"\u7ad9\u70b9URL\u3002","type":"string","format":"uri","required":false},"email":{"description":"\u6b64\u5730\u5740\u88ab\u7528\u4f5c\u7ba1\u7406\u7528\u9014\uff0c\u5982\u65b0\u7528\u6237\u901a\u77e5\u3002","type":"string","format":"email","required":false},"timezone":{"description":"\u548c\u60a8\u5728\u540c\u4e00\u4e2a\u65f6\u533a\u7684\u57ce\u5e02\u3002","type":"string","required":false},"date_format":{"description":"\u5bf9\u6240\u6709\u65e5\u671f\u5b57\u7b26\u4e32\u9002\u7528\u7684\u65e5\u671f\u683c\u5f0f\u3002","type":"string","required":false},"time_format":{"description":"\u5bf9\u6240\u6709\u65f6\u95f4\u5b57\u7b26\u4e32\u9002\u7528\u7684\u65f6\u95f4\u683c\u5f0f\u3002","type":"string","required":false},"start_of_week":{"description":"\u4e00\u5468\u4ece\u5468\u51e0\u5f00\u59cb\u3002","type":"integer","required":false},"language":{"description":"WordPress\u5730\u533a\u8bed\u8a00\u4ee3\u7801\u3002","type":"string","required":false},"use_smilies":{"description":"\u5c06\u8868\u60c5\u7b26\u53f7\u5982:-)\u548c:-P\u8f6c\u6362\u4e3a\u56fe\u7247\u663e\u793a\u3002","type":"boolean","required":false},"default_category":{"description":"\u9ed8\u8ba4\u6587\u7ae0\u5206\u7c7b\u3002","type":"integer","required":false},"default_post_format":{"description":"\u9ed8\u8ba4\u6587\u7ae0\u5f62\u5f0f\u3002","type":"string","required":false},"posts_per_page":{"description":"\u6700\u591a\u663e\u793a\u7684\u535a\u5ba2\u9875\u9762\u6570\u91cf\u3002","type":"integer","required":false},"show_on_front":{"description":"\u9700\u8981\u5728\u9996\u9875\u4e0a\u663e\u793a\u7684\u9879\u76ee","type":"string","required":false},"page_on_front":{"description":"\u9700\u8981\u5728\u9996\u9875\u4e0a\u663e\u793a\u7684\u9875\u9762 ID","type":"integer","required":false},"page_for_posts":{"description":"\u9700\u8981\u663e\u793a\u6700\u65b0\u6587\u7ae0\u7684\u9875\u9762 ID","type":"integer","required":false},"default_ping_status":{"description":"\u5141\u8bb8\u5176\u4ed6\u535a\u5ba2\u53d1\u9001\u94fe\u63a5\u901a\u77e5\uff08pingback\u548ctrackback\uff09\u5230\u65b0\u6587\u7ae0\u3002","type":"string","enum":["open","closed"],"required":false},"default_comment_status":{"description":"\u5141\u8bb8\u4ed6\u4eba\u5728\u65b0\u6587\u7ae0\u4e0a\u53d1\u8868\u8bc4\u8bba\u3002","type":"string","enum":["open","closed"],"required":false},"site_logo":{"description":"\u7ad9\u70b9 logo","type":"integer","required":false},"site_icon":{"description":"\u7ad9\u70b9\u56fe\u6807\u3002","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/settings"}]}},"\/wp\/v2\/themes":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"status":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u6307\u5b9a\u4e86\u4e00\u4e2a\u6216\u591a\u4e2a\u72b6\u6001\u7684\u4e3b\u9898\u3002","type":"array","items":{"enum":["active","inactive"],"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/themes"}]}},"\/wp\/v2\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"stylesheet":{"description":"\u4e3b\u9898\u7684\u6837\u5f0f\u8868\u3002\u8fd9\u662f\u4e3b\u9898\u7684\u552f\u4e00\u6807\u8bc6\u3002","type":"string","required":false}}}]},"\/wp\/v2\/plugins":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","required":false},"status":{"description":"\u9650\u5236\u7ed3\u679c\u96c6\u4e3a\u5177\u6709\u7ed9\u5b9a\u72b6\u6001\u7684\u63d2\u4ef6\u3002","type":"array","items":{"type":"string","enum":["inactive","active"]},"required":false}}},{"methods":["POST"],"args":{"slug":{"type":"string","description":"WordPress.org\u63d2\u4ef6\u76ee\u5f55\u522b\u540d\u3002","pattern":"[\\w\\-]+","required":true},"status":{"description":"\u63d2\u4ef6\u542f\u7528\u72b6\u6001\u3002","type":"string","enum":["inactive","active"],"default":"inactive","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/plugins"}]}},"\/wp\/v2\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"plugin":{"type":"string","pattern":"[^.\\\/]+(?:\\\/[^.\\\/]+)?","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"plugin":{"type":"string","pattern":"[^.\\\/]+(?:\\\/[^.\\\/]+)?","required":false},"status":{"description":"\u63d2\u4ef6\u542f\u7528\u72b6\u6001\u3002","type":"string","enum":["inactive","active"],"required":false}}},{"methods":["DELETE"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"plugin":{"type":"string","pattern":"[^.\\\/]+(?:\\\/[^.\\\/]+)?","required":false}}}]},"\/wp\/v2\/sidebars":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/sidebars"}]}},"\/wp\/v2\/sidebars\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u5df2\u6ce8\u518c\u7684\u8fb9\u680fID","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"widgets":{"description":"\u5d4c\u5957\u5c0f\u5de5\u5177\u3002","type":"array","items":{"type":["object","string"]},"required":false}}}]},"\/wp\/v2\/widget-types":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/widget-types"}]}},"\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"\u5c0f\u5de5\u5177\u7c7b\u578bid\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/encode":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"description":"\u5c0f\u5de5\u5177\u7c7b\u578bid\u3002","type":"string","required":true},"instance":{"description":"\u5c0f\u5de5\u5177\u7684\u5f53\u524d\u8bbe\u7f6e\u5b9e\u4f8b\u3002","type":"object","required":false},"form_data":{"description":"\u5e8f\u5217\u5316\u5c0f\u5de5\u5177\u8868\u5355\u6570\u636e\uff0c\u4ee5\u7f16\u7801\u4e3a\u8bbe\u7f6e\u5b9e\u4f8b\u3002","type":"string","required":false}}}]},"\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/render":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"description":"\u5c0f\u5de5\u5177\u7c7b\u578bid\u3002","type":"string","required":true},"instance":{"description":"\u5c0f\u5de5\u5177\u7684\u5f53\u524d\u8bbe\u7f6e\u5b9e\u4f8b\u3002","type":"object","required":false}}}]},"\/wp\/v2\/widgets":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"sidebar":{"description":"\u8fd4\u56de\u5c0f\u5de5\u5177\u7684\u4fa7\u8fb9\u680f\u3002","type":"string","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u5c0f\u5de5\u5177\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"id_base":{"description":"\u5c0f\u5de5\u5177\u7684\u7c7b\u578b\u3002\u5bf9\u5e94\u4e8e widget-types \u7aef\u70b9\u7684 ID\u3002","type":"string","required":false},"sidebar":{"default":"wp_inactive_widgets","description":"\u5c0f\u5de5\u5177\u6240\u5c5e\u7684\u4fa7\u8fb9\u680f\u3002","type":"string","required":true},"instance":{"description":"\u5c0f\u5de5\u5177\u7684\u5b9e\u4f8b\u8bbe\u7f6e\uff08\u5982\u679c\u652f\u6301\uff09\u3002","type":"object","properties":{"encoded":{"description":"\u5b9e\u4f8b\u8bbe\u7f6e\u7684 Base64 \u7f16\u7801\u8868\u793a\u3002","type":"string","context":["edit"]},"hash":{"description":"\u5b9e\u4f8b\u8bbe\u7f6e\u7684\u52a0\u5bc6\u54c8\u5e0c\u503c\u3002","type":"string","context":["edit"]},"raw":{"description":"\u672a\u7f16\u7801\u7684\u5b9e\u4f8b\u8bbe\u7f6e\uff08\u5982\u679c\u652f\u6301\uff09\u3002","type":"object","context":["edit"]}},"required":false},"form_data":{"description":"\u6765\u81ea\u5c0f\u5de5\u5177\u7ba1\u7406\u8868\u5355\u7684 URL \u7f16\u7801\u8868\u5355\u6570\u636e\u3002\u7528\u4e8e\u66f4\u65b0\u4e0d\u652f\u6301\u5b9e\u4f8b\u7684\u5c0f\u5de5\u5177\uff08\u6307\u5199\uff09\u3002","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/widgets"}]}},"\/wp\/v2\/widgets\/(?P[\\w\\-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"\u5c0f\u5de5\u5177\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"id_base":{"description":"\u5c0f\u5de5\u5177\u7684\u7c7b\u578b\u3002\u5bf9\u5e94\u4e8e widget-types \u7aef\u70b9\u7684 ID\u3002","type":"string","required":false},"sidebar":{"description":"\u5c0f\u5de5\u5177\u6240\u5c5e\u7684\u4fa7\u8fb9\u680f\u3002","type":"string","required":false},"instance":{"description":"\u5c0f\u5de5\u5177\u7684\u5b9e\u4f8b\u8bbe\u7f6e\uff08\u5982\u679c\u652f\u6301\uff09\u3002","type":"object","properties":{"encoded":{"description":"\u5b9e\u4f8b\u8bbe\u7f6e\u7684 Base64 \u7f16\u7801\u8868\u793a\u3002","type":"string","context":["edit"]},"hash":{"description":"\u5b9e\u4f8b\u8bbe\u7f6e\u7684\u52a0\u5bc6\u54c8\u5e0c\u503c\u3002","type":"string","context":["edit"]},"raw":{"description":"\u672a\u7f16\u7801\u7684\u5b9e\u4f8b\u8bbe\u7f6e\uff08\u5982\u679c\u652f\u6301\uff09\u3002","type":"object","context":["edit"]}},"required":false},"form_data":{"description":"\u6765\u81ea\u5c0f\u5de5\u5177\u7ba1\u7406\u8868\u5355\u7684 URL \u7f16\u7801\u8868\u5355\u6570\u636e\u3002\u7528\u4e8e\u66f4\u65b0\u4e0d\u652f\u6301\u5b9e\u4f8b\u7684\u5c0f\u5de5\u5177\uff08\u6307\u5199\uff09\u3002","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"force":{"description":"\u5f3a\u884c\u79fb\u9664\u5c0f\u5de5\u5177\uff0c\u8d27\u5c06\u5176\u79fb\u52a8\u5230\u672a\u542f\u7528\u7684\u5c0f\u5de5\u5177\u4fa7\u8fb9\u680f\u3002","type":"boolean","required":false}}}]},"\/wp\/v2\/block-directory\/search":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view"],"default":"view","required":false},"page":{"description":"\u96c6\u5408\u7684\u5f53\u524d\u9875\u3002","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"\u7ed3\u679c\u96c6\u5305\u542b\u7684\u6700\u5927\u9879\u76ee\u6570\u91cf\u3002","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"term":{"description":"\u5c06\u7ed3\u679c\u96c6\u9650\u5236\u4e3a\u5339\u914d\u641c\u7d22\u8bcd\u7684\u533a\u5757\u3002","type":"string","minLength":1,"required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/block-directory\/search"}]}},"\/wp\/v2\/pattern-directory\/patterns":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"search":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u5339\u914d\u5b57\u7b26\u4e32\u7684\u3002","type":"string","minLength":1,"required":false},"category":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u4e0e\u5206\u7c7bID\u5339\u914d\u7684\u7ed3\u679c\u3002","type":"integer","minimum":1,"required":false},"keyword":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u4e0e\u5173\u952e\u5b57ID\u5339\u914d\u7684\u7ed3\u679c\u3002","type":"integer","minimum":1,"required":false},"slug":{"description":"\u5c06\u7ed3\u679c\u9650\u5236\u4e3a\u4e0e\u6837\u677f\uff08\u522b\u540d\uff09\u5339\u914d\u7684\u7ed3\u679c\u3002","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/pattern-directory\/patterns"}]}},"\/wp\/v2\/block-patterns\/patterns":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/block-patterns\/patterns"}]}},"\/wp\/v2\/block-patterns\/categories":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/block-patterns\/categories"}]}},"\/wp-site-health\/v1":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp-site-health\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-site-health\/v1"}]}},"\/wp-site-health\/v1\/tests\/background-updates":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/background-updates"}]}},"\/wp-site-health\/v1\/tests\/loopback-requests":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/loopback-requests"}]}},"\/wp-site-health\/v1\/tests\/https-status":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/https-status"}]}},"\/wp-site-health\/v1\/tests\/dotorg-communication":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/dotorg-communication"}]}},"\/wp-site-health\/v1\/tests\/authorization-header":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/authorization-header"}]}},"\/wp-site-health\/v1\/directory-sizes":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-site-health\/v1\/directory-sizes"}]}},"\/wp-block-editor\/v1":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp-block-editor\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-block-editor\/v1"}]}},"\/wp-block-editor\/v1\/url-details":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"\u8981\u5904\u7406\u7684URL\u3002","type":"string","format":"uri","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-block-editor\/v1\/url-details"}]}},"\/wp\/v2\/menu-locations":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/menu-locations"}]}},"\/wp\/v2\/menu-locations\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"description":"\u83dc\u5355\u4f4d\u7f6e\u7684\u5b57\u6bcd\u6570\u5b57\u6807\u8bc6\u7b26\u3002","type":"string","required":false},"context":{"description":"\u8bf7\u6c42\u63d0\u51fa\u7684\u8303\u56f4\uff0c\u7528\u4e8e\u51b3\u5b9a\u56de\u5e94\u5305\u542b\u7684\u5b57\u6bb5\u3002","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp-block-editor\/v1\/export":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp-block-editor\/v1\/export"}]}}},"site_logo":0,"site_icon":1335,"_links":{"help":[{"href":"https:\/\/developer.wordpress.org\/rest-api\/"}],"wp:featuredmedia":[{"embeddable":true,"type":"site_icon","href":"https:\/\/www.yanpai.com\/index.php\/wp-json\/wp\/v2\/media\/1335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}