• Resolved spantelis97

    (@spantelis97)


    Hello. we are creating a new woocommerce store. our supplier gave us a short documentation about and api they use that list the products in json format. every while a new product is added. so basically want we want is:

    – Import the products with category mapping(with price +20-30%)
    – Update stock
    – Import new products when they arrive
    – Have the option to disable price update on specific products.

    Is this achievable? where do i start? Can someone do this and how much it gonna cost?

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @spantelis97,

    To get and post data into WooCommerce from an external API you could look at integrating that with the WooCommerce REST API.

    With regards to the WooCommerce REST API, access codes for that can be set from inside your WooCommerce site by following this documentation.

    https://docs.woocommerce.com/document/woocommerce-rest-api/

    For the developer level documentation, you can find located on this site below and this covers authentication and all of the endpoints and parameters which can be accessed via the REST API.

    https://woocommerce.github.io/woocommerce-rest-api-docs/#introduction

    With regards to testing API calls, we have some information on testing API calls using an App called Postman and I’ve referenced that for you below too.

    https://github.com/woocommerce/woocommerce/wiki/Getting-started-with-the-REST-API

    It may be possible to have a developer write some custom code which could achieve this API integration. If you would like to investigate that possibility further, you could reach out to one of the official WooCommerce development partners.

    https://woocommerce.com/customizations/

    Thread Starter spantelis97

    (@spantelis97)

    I will take a look even though for a begginer developer this seems really hard

    Thread Starter spantelis97

    (@spantelis97)

    The problem here is that the vendor has provided a small documentation with some api keys to connect to its api. so do i really need the woocommerce api here? or just a php file that will connect to vendor with the api keys and import the products?

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @spantelis97,

    From what you’ve described you would need to custom develop a software integration between your vendors API and the WooCommerce REST API.

    The Vendor API would provide you with the data to be imported which you would then format for WooCommerce. By then using the WooCommerce REST API that would allow you to insert that data into WooCommerce.

    It may be possible to have a developer write some custom code which could achieve this integration if you require some assistance developing that. If you would like to investigate that possibility further, you could reach out to some of the development partners which work with WooCommerce from this page below.

    https://woocommerce.com/customizations/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Import and update products from external api’ is closed to new replies.