Hi @freelancing4all
To create a WooCommerce product using data from your Ninja Forms webhook, you will need to send the data to your WooCommerce REST API endpoint, which is typically your site’s URL followed by ‘/wp-json/wc/v3/products’.
To create a product from the data, you would need to structure the data sent by Ninja Forms to match the format expected by the WooCommerce REST API. This would include fields such as name
, type
, regular_price
, etc.
We recommend checking out the WooCommerce REST API documentation, which provides more detailed information on creating a product: https://woocommerce.github.io/woocommerce-rest-api-docs/#create-a-product
For reference, this particular forum is meant for general support with the core functionality of WooCommerce itself. For development and custom coding questions, it’s best to ask for insight related to those on either the WooCommerce Advanced Facebook group or the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:
I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.