• Hi

    I am creating a website and one of my suppliers dropships, they have added the facility to create and update products using web hooks (dropship intergration in the form of ERPS)

    I need to

    Create an endpoint in your project
    Endpoint should accept POST method
    JSON Response will be sent on the endpoint in POST method
    JSON response will contain the product information

    What is the best way to go about this?

    best regards

    mark

    • This topic was modified 2 years, 6 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ironikus

    (@ironikus)

    Hey @whenwebsiteswork – Thank you very much for your message, as well as for your interest in our plugin.
    Could you please let me know what plugins you use for “Products”?
    Depending on that, the setup might differ. Do you also use Integromat/Zapier for connecting those calls?

    Thread Starter whenwebsiteswork

    (@whenwebsiteswork)

    Hi

    Thanks for the reply, i am using woocommerce with Oxygen as page builder, ive got a bit of custom code to add some extra tabs but no other product plugins, site being built can be found at [ see the link field, link moved there ]

    best regards

    Mark

    • This reply was modified 2 years, 6 months ago by Jan Dembowski.
    Plugin Author Ironikus

    (@ironikus)

    Hey @whenwebsiteswork – Thanks for the details.
    If you want to add the product via the webhook, you can check out either our woocommerce_api endpoint, or our custom_action endpoint.
    While the woocommerce_endpoint uses the Woocommerce API to do certain actions, the custom_action endpoint accepts custom PHP data that you can then run through a WordPress filter.
    For the second option, you’d need to have some basic understanding of PHP and WordPress hooks.
    I hope this helps you so far. Feel free to reach out again in case you have any further questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update and create products using webhhoks’ is closed to new replies.