I am currently considering implementing your WordPress plugin and have a question regarding its integration capabilities. Specifically, after configuring the plugin and adding custom fields such as a wholesale price, will this field be accessible via the API (e.g., REST API or other methods)?
We plan to integrate this data with our external systems and want to ensure that wholesale pricing information can be programmatically retrieved.
Thank you in advance for your clarification.
Looking forward to your response.
Yes, the wholesale prices set through B2BKing are fully accessible via both the WordPress REST API and WooCommerce API. The wholesale prices are stored as product meta data.
Hello,
I hope this message finds you well.
I am currently considering implementing your WordPress plugin and have a question regarding its integration capabilities. Specifically, after configuring the plugin and adding custom fields such as a wholesale price, will this field be accessible via the API (e.g., REST API or other methods)?
We plan to integrate this data with our external systems and want to ensure that wholesale pricing information can be programmatically retrieved.
Thank you in advance for your clarification.
Looking forward to your response.
Best regards,
Mateusz Bielecki
Hi Mateusz,
Thanks for getting in touch,
Yes, the wholesale prices set through B2BKing are fully accessible via both the WordPress REST API and WooCommerce API. The wholesale prices are stored as product meta data.
You can find all the specific meta keys used by B2BKing for wholesale pricing in our documentation here:
https://woocommerce-b2b-plugin.com/docs/release-1-8-0-price-lists-csv-import-export-pricing-in-the-product-page/#0-toc-title
This means you'll be able to programmatically get, set, edit or delete wholesale prices through the API.
Let me know if you have any questions or anything I can do,
Kind regards,
Stefan