Hi,
I cant create DYnamic Rules using REST / Postman. I'm trying to send this JSON:
{
"status": "publish",
"type": "b2bking_rule",
"slug": "36_11892_auto",
"meta":
{
"b2bking_rule_what": [
"fixed_price"
],
"b2bking_rule_howmuch": [
"333.22"
],
"b2bking_rule_applies": [
"product_11892"
],
"b2bking_rule_who": [
"user_36"
],
"b2bking_rule_quantity_value": [
"quantity"
],
"b2bking_rule_requires": [
"nothing"
]
}
}
But I get the following result:
{
"code": "rest_cannot_create",
"message": "Du har desværre ikke tilladelse til at oprette indlæg som denne bruger.",
"data": {
"status": 401
}
}
Translation of message: "You have no rights to create posts as this user".
My API is hooked up to my administrator account in Woo, so I guess rights isn't the issue :)

