Public Ticket #2546849

API

Closed
Comments
1 Ticket
Juho started the conversation 6 years ago on September 22, 2020 at 10:07am

Hi, we are creating a woocommerce page that gets products through Pim via API and prices from Microsoft BC and sends all data back to Microsoft BC. Can we get API connection to your plugin?

2,762
KingsPlugins replied 6 years ago on September 23, 2020 at 8:24pm

Hi Juho,

Sorry for the late reply, it's a very busy week and we're struggling with time.


B2BKing uses metadata for almost everything, so yes, you can get/set that through APIs. For example prices are meta fields for each product/variation. If you wanted to set B2B/group pricing, you would set these 2 meta fields for a product, for each group id:

b2bking_regular_product_price_group_GROUPID
b2bking_sale_product_price_group_GROUPID  

Reference: updating product metadata through rest api: https://stackoverflow.com/questions/45306350/update-product-meta-data-in-woocommerce-rest-api


Kind Regards,

Stefan

Sign In