• Resolved freelancing4all

    (@freelancing4all)


    We created a webhook in ninja forms that sucessfully sends the form field information to the test site. Our question is what is the url we should send the data to in order to create a woocommerce product and how do we create a product from the data sent by the ninja forms webhook.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shameem a11n

    (@shameemreza)

    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.

    Plugin Support Shameem a11n

    (@shameemreza)

    Hi @freelancing4all

    I’m marking this topic as “resolved” due to recent inactivity. If more assistance is needed, feel free to post back here or open a new topic.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.