• Resolved kwilcox1985

    (@kwilcox1985)


    Hello,

    When I update an a product’s description in Vend, when the Vend WordPress plugin runs, the import updates the product’s inventory to out of stock in Woocommerce. I have confirmed inventory in Vend for the products that are effected .

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author sujith222

    (@sujith222)

    Hi @kwilcox1985

    We checked this and are working on the fix. Will update you as soon as possible.

    Thanks,
    Sujith

    Thread Starter kwilcox1985

    (@kwilcox1985)

    Hi @sujith222

    I actually figured out what the issue is. In the import.php file, I had to replace:

    vwi_api_request( “https://{$subdomain}.vendhq.com/api/1.0/product/{$id}”, ‘GET’, $api_key, $args );

    to

    vwi_api_request( “https://{$subdomain}.vendhq.com/api/products/{$id}”, ‘GET’, $api_key, $args );

    Looks like the previous endpoint has been deprecated. Not sure if the other endpoints need to be updated but this fixed my issue.

    Plugin Author sujith222

    (@sujith222)

    Hi @kwilcox1985

    We used https://{$subdomain}.vendhq.com/api/2.0/products/{$id}/inventory instead. Most probably your method will be better as it doesn’t specify a version explicitly. However since it doesn’t seem to be documented we are going with version 2.0.

    Thanks for the info. 🙂

    Also, the plugin is updated.

    Thanks,
    Sujith

    Thread Starter kwilcox1985

    (@kwilcox1985)

    Do you mind sending me the premium version update?

    Plugin Author sujith222

    (@sujith222)

    Hi @kwilcox1985

    Both the premium and free versions have the same update. You can copy that from the free version. I will also send the patch via email if that is easier for you.

    Note that the premium version has a bunch of other updates which are not included in the patch. Since your support period is over you will need to purchase the support for the latest updates but I think you are better with the patch alone since it is already working fine for you.

    Thanks,
    Sujith

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Inventory Update Issue’ is closed to new replies.