we have version 1.5.9 and what we need is just add fixed price to user role (client group, if you prefer), and, maybe in the future, have fixed price or redution for specific user. if i get the product by API, i get this meta_data:
{
“id”: 67191,
“key”: “_role_base_price_centro”,
“value”: “a:5:{s:13:\”discount_type\”;s:11:\”fixed_price\”;s:14:\”discount_value\”;s:9:\”28.150000\”;s:7:\”min_qty\”;s:0:\”\”;s:7:\”max_qty\”;s:0:\”\”;s:21:\”replace_orignal_price\”;s:3:\”yes\”;}”
}
two questions:
1- Can be done by API this two things? if yes, give me some information or documentation.
2- This version have this avalible or have to update to nearly version?
Currently, you can get the role based pricing via API call but setting a new role based price via API isn’t available at the moment. We do plan to add it in future but unfortunately we can’t share any timeline at the moment.
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.
Hello, any updates on this?
Hi,
The read-only API was included in version 1.6.1. The write function that you are looking for is yet to be added.
Thank you,
Thanks for the quick answer.
we have version 1.5.9 and what we need is just add fixed price to user role (client group, if you prefer), and, maybe in the future, have fixed price or redution for specific user. if i get the product by API, i get this meta_data:
{
“id”: 67191,
“key”: “_role_base_price_centro”,
“value”: “a:5:{s:13:\”discount_type\”;s:11:\”fixed_price\”;s:14:\”discount_value\”;s:9:\”28.150000\”;s:7:\”min_qty\”;s:0:\”\”;s:7:\”max_qty\”;s:0:\”\”;s:21:\”replace_orignal_price\”;s:3:\”yes\”;}”
}
two questions:
1- Can be done by API this two things? if yes, give me some information or documentation.
2- This version have this avalible or have to update to nearly version?
Thanks in advance, again.
Hi,
Currently, you can get the role based pricing via API call but setting a new role based price via API isn’t available at the moment. We do plan to add it in future but unfortunately we can’t share any timeline at the moment.
Thanks,