【发布时间】:2019-03-26 23:00:05
【问题描述】:
我目前正在使用WooCommerce Dynamic Pricing plugin 并试图找到一种通过 API 添加一些基本定价组的方法。我无法找到有关 API 的任何信息,所以我希望某个地方可以引导我朝着正确的方向前进。
目前尝试在元键中添加值,但似乎没有添加任何内容。
我想做的只是为产品创建一个基本定价组,但一直在尝试查找 API 的任何信息,更不用说如何应用它了
非常感谢任何提示
{
"data": {
"name": "Test Product",
"type": "simple",
"backorders_allowed": "true",
"managing_stock": "true",
"stock_quantity": " 0",
"in_stock": "true",
"sku": " #992875",
"weight": " 0.16",
"height": " ",
"width": " ",
"depth": " ",
"regular_price": " 137.35",
"sale_price": " ",
"description": "A short Description of the item",
"short_description": "Long Description of the item",
"meta": [
{
"key":"pricing_rules",
"value":"unauthenticated"
}
],
"categories": [
{
"name": "Equipment"
}
],
"variations": []
}
}
【问题讨论】:
标签: wordpress rest woocommerce