• Resolved ahmadallouch

    (@ahmadallouch)


    Hi!
    I am creating an Ecommerce site for a client and they are dealing with a dropshipping company. The company allows you to download a CSV of all the products and their stock.
    I am afraid that we can’t always just update the stock because that will take too long (Example: If someone from a different company makes an order and the item goes out of stock, we won’t get an update unless we re-upload the CSV)
    The company offers an API that would update things automatically. How can I use the API to update the stock live? (If possible)
    Thanks

    The credentials of the API are in this form
    API Link: https://example.com/api
    Secret: ofhw0otrqhfowqeht0eohrofhweo224h2ohdsogerh

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @ahmadallouch ,

    If the products are in WooCommerce and you are getting the order in WooCommerce then the stock will be updated accordingly. On the other hand, if the requirement is to update a new stock with an API request you can use WooCommerce’s REST API to update a product. You can find the API documentation here – https://woocommerce.github.io/woocommerce-rest-api-docs/#update-a-product

    The integration might require extensive customization so please consult with an expert of this field.

    Thank you ??

    Thread Starter ahmadallouch

    (@ahmadallouch)

    Hi Rashed,
    Thanks so much for your reply. The products are from scentsworld.com. It has an API for real-time product updates and the API is not WooCommerce. What do you think is the easiest way to integrate the API into WooCommerce?

    Hello @ahmadallouch ,

    It has an API for real-time product updates and the API is not WooCommerce.

    You can use the REST API to connect with your Dropshipping service.

    I looked for a ready-made solution but it looks like there is no plugin or solution available that you can use.

    What do you think is the easiest way to integrate the API into WooCommerce?

    Integrating API calls from a third party solution will require an extensive amount of development. Experts of both WooCommerce and the service you are integrating with will be required.

    Here is a good article on how to use WooCommerce’s API -https://sgwebpartners.com/how-to-use-woocommerce-api/

    If you need an expert’s help to make this, you can consider taking help from our recommended services – https://woocommerce.com/customizations/

    Thank you ??

    Hi there,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Thank you ??

    Thread Starter ahmadallouch

    (@ahmadallouch)

    I just switched suppliers because it was too tedious to do all of it for the return.
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dropshipping API’ is closed to new replies.