Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Suriya Prakash
    @suriya2_gitlab

    Ok, We have removed all keys and applications and started fresh, generated new keys, uploaded new keys and still are getting "Public Key not found for Consumer id : xxxx"
    We have reached out several times to support at IO Support iosupport@wal-mart.com and have received no response? Any help would be greatly appreciated.

    When you got this error message, then you don't need to do anything more. Just wait for some time for them to approve your account.

    Meanwhile check with this code, I hope it will be helpful for you,

    <?php

    $consumer_id = 'Your Consumer ID';
    $sec_key_version = '1'; // Here comes you key version
    $private_key_file = 'PrivateKeyFileName.pem';
    $url = 'https://developer.api.walmart.com/api-proxy/service/affil/product/v2/items?ids=103753728,147820904';

    $timestamp = time()*1000;
    $message = $consumer_id."\n".$timestamp."\n".$sec_key_version."\n";
    $pkeyid = openssl_pkey_get_private("file://".$private_key_file, 'Glocom-WL');
    openssl_sign($message, $signature, $pkeyid, OPENSSL_ALGO_SHA256);
    $signature = base64_encode($signature);
    openssl_free_key($pkeyid);

    $curl = curl_init();

    curl_setopt_array($curl, array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 0,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_HTTPHEADER => array(
    'WM_SEC.KEY_VERSION: '.$sec_key_version,
    'WM_CONSUMER.ID: '.$consumer_id,
    'WM_CONSUMER.INTIMESTAMP: '.$timestamp,
    'WM_SEC.AUTH_SIGNATURE: '.$signature
    ),
    ));

    $responseObj = curl_exec($curl);
    echo "<pre>"; print_r($responseObj);

    curl_close($curl);

    David V...
    @davidv902_twitter
    I think we found the problem... Both Item to Product Mapping (ITPM) & Online Pickup and Delivery (OPD) both created on 05/27/2021 are still in pending status. I would assume that the APIs will not work till that is resolved. How long does that normally take?
    7 replies
    Also, We have sent emails to support (starting about 2 moths ago) and never received a single response.
    David V...
    @davidv902_twitter
    Any idea how long the wait time is to get approval? We started this process about 3 months ago on another account and it's still sitting in pending. They need a better solution... All other APIs we use get approved within hours... not months. Maybe a different solution is what we need.
    iosupport-walmart
    @iosupport-walmart

    Hi David,
    you might be received communication from the business team regarding your subscriptions. once everything goes well, you will get approval soon.

    Thanks,

    Ade
    @adiefatlady_twitter
    getting "Public Key not found for Consumer id : 64d9cba2-da65-4551-be75-744049fa20f1" for newly created app
    That is the prod value we have for consumer id
    Ade
    @adiefatlady_twitter
    Cancel that. its ok
    Devon Wasson
    @devonwasson

    @iosupport-walmart I'm trying to use the Catalog Product API (paginated-items):

    https://www.walmart.io/docs/affiliate/paginated-items#

    But whenever I specify a category_id, the results are not what I expect. For example, I've been using category ID 4171_4172_4294413

    The items that category ID return on walmart's main page can be found here:

    https://www.walmart.com/browse/4171_4172_4294413

    None of those items are found in ANY of the paginated pages I am returning through the Catalog Product API.

    Do you have any idea why that might be the case?

    6 replies
    furkandev-code
    @furkandev-code
    hi. I will develop website for my customer who has furniture store and he is selling walmart products. Which API shoul I use? Can sb help me?
    2 replies
    Gregory Smetanka
    @sourgregory
    @iosupport-walmart, hello! It seems that there is an issue in "Product Lookup" api. Docs say that when product has variants, field "parentItemId" is present in response, and, also, field "variants" (which has product ids of variant items) should be present. But I see only "parentItemId" in such products without any "variants" field. Need your help!
    Aks Whisper's
    @aks_whispers_twitter
    @iosupport-walmart : I have created an application on Walmart.io for access to the API, Its been more than 14 days but no update. Can you please tell me how to get access to the API
    12 replies
    David V...
    @davidv902_twitter
    @iosupport-walmart We have returned the document that Walmart required and still haven't heard anything. Any ideas what is going on with this new system? We have been using the old API and have been trying, without success, to set up the new one since the change... It's been months without the API. Please advise.
    1 reply
    潘民益
    @a5864004a_twitter
    Does walmart.ca have related similar walmart IO api?
    Aks Whisper's
    @aks_whispers_twitter

    @iosupport-walmart

    I am now getting an error "Could not authenticate in-request, auth signature : Signature verification failed: affil-product, version: 2.0.0, env: prod","wm_svc.version":"2.0.0","wm_svc.name":"affil-product","wm_svc.env":"prod"

    The php code for my application:

    <?php

    $consumer_id = '080ece23-73fd-40a2-9e60-a845b6864f7a';
    $sec_key_version = '1'; // Here comes you key version
    $private_key_file = 'WM_IO_private_key.pem';

    $url = 'https://developer.api.walmart.com/api-proxy/service/affil/product/v2/taxonomy';

    $timestamp = time()*1000;

    $message = $consumer_id."\n".$timestamp."\n".$sec_key_version."\n";
    $pkeyid = openssl_pkey_get_private(str_replace("\r", "", file_get_contents($private_key_file)), 'Glocom-WL');
    openssl_sign($message, $signature, $pkeyid, OPENSSL_ALGO_SHA256);
    $signature = base64_encode($signature);
    $signature = str_replace("\r", "", $signature);
    openssl_free_key($pkeyid);

    $curl = curl_init();
    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt_array($curl, array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 0,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_HTTPHEADER => array(
    'WM_SEC.KEY_VERSION: '.$sec_key_version,
    'WM_CONSUMER.ID: '.$consumer_id,
    'WM_CONSUMER.INTIMESTAMP: '.$timestamp,
    'WM_SEC.AUTH_SIGNATURE: '.$signature
    ),
    ));

    $responseObj = curl_exec($curl);
    if(curl_exec($curl) === false)
    {
    echo 'Curl error: ' . curl_error($curl);
    }
    else
    {
    echo 'Operation completed without any errors, you have the response';
    }

    echo "<pre>"; print_r($responseObj);

    curl_close($curl);

    Can you please suggest what could be the issue?

    arsandov
    @arsandov
    Hey @Arcalise08 thanks! Your script was the only code that I was able to use to get an answer from the API. I had some small issues while trying to run it, but it was better than the example in the documentation.
    Hey there! Do you know if there is a limit around the number of calls in parallel or the amount by second that you can do to the search API?
    arsandov
    @arsandov

    @aks_whispers_twitter You can verify that you are creating the same signature than the Java example that is provided by Walmart at https://walmart.io/docs/affiliate/onboarding-guide. I had some issues while trying to run that example because of the base64 encoder and replaced it with

    import java.util.Base64;
    import java.util.Base64.Encoder;
    import java.util.Base64.Decoder;

    Also, keep in mind that the version of the rsa key is defined by how many you have updated, you can check in your application screen. Also, the rsa key used, isn't a generic, verify that you generated it following the process in https://walmart.io/key-tutorial

    Gregory Smetanka
    @sourgregory
    @iosupport-walmart, hello! It seems that there is an issue in "Product Lookup" api. Docs say that when product has variants, field "parentItemId" is present in response, and, also, field "variants" (which has product ids of variant items) should be present. But I see only "parentItemId" in such products without any "variants" field. Need your help!
    Aks Whisper's
    @aks_whispers_twitter
    @iosupport-walmart : Hello Team, I am trying to get data from Canada website, what should I use to get trending items in Canada and product details from Canada website??
    Jelle Van de Vliet
    @jellevdvliet
    Hi guys, it took me a while to get the affiliate api working with nodejs, but I finally managed to do it. I wrote a guide here: https://vandevliet.me/guide-how-to-use-the-walmart-affiliate-api-with-nodejs/ and there's a github gist here: https://gist.github.com/jellevdvliet/2a5b2dd08fb1af722490e79fcc81995b
    Sam Rubenstein
    @srubenstein_gitlab
    @iosupport-walmart We just need some additional info in order to set up the API. Where can we find the following? WM_SEC.KEY_VERSION
    WM_CONSUMER.ID
    WM_CONSUMER.INTIMESTAMP
    WM_SEC.AUTH_SIGNATURE
    Or does anybody know where I can find the following info for setting up the Walmart API?WM_SEC.KEY_VERSION
    WM_CONSUMER.ID
    WM_CONSUMER.INTIMESTAMP
    WM_SEC.AUTH_SIGNATURE
    egquantr
    @egquantr_twitter
    Hi team! How many products can be retrieved from a paginated catalog in a single API call?
    Vatsban
    @Vatsban
    @srubenstein_gitlab Thanks for reaching out to us. You can Follow the below instructions to generate the Additional headers as mentioned above in your chat.

    @srubenstein_gitlab WM_SEC.KEY_VERSION - Version of the private key generated using the link https://walmart.io/key-tutorial

    WM_CONSUMER.ID - Consumer ID that gets generated post uploading the public key in Walmart.io dashboard. Follow the link https://walmart.io/onboarding

    WM_CONSUMER.INTIMESTAMP - The current time stamp of the generated CONSUMERID

    WM_SEC.AUTH_SIGNATURE - To generate Auth Signature, follow the documentation in the link https://walmart.io/docs/affiliate/onboarding-guide

    Vatsban
    @Vatsban
    @srubenstein_gitlab Thanks, Vatsala Bangera (IO Support)
    arsandov
    @arsandov
    I'm using the search API https://developer.api.walmart.com/api-proxy/service/affil/product/v2/search and filtering the items using the facet brand = Walmart.com, however, I don't see the same results that I see on https://www.walmart.com/search. For example while looking for 'charmin' (toilet paper) I get around 9 results on the API and around 18 on the website. Do you know how to get the same results than the website?
    4 replies
    Sam Rubenstein
    @srubenstein_gitlab

    @srubenstein_gitlab Thanks, Vatsala Bangera (IO Support)

    @Vatsban Do we generate our own Application's Name and Description etc? I'm playing the difficult role of middleman between our developers and the API support. Not sure if it is possible to connect Walmart with our developers so they can ask a few questions and be done with this

    @iosupport-walmart Do we generate our own Application's Name and Description etc? I'm playing the difficult role of middleman between our developers and the API support. Not sure if it is possible to connect Walmart with our developers so they can ask a few questions and be done with this
    Vatsban
    @Vatsban
    @srubenstein_gitlab Thanks for your response. Your company will be having an application, which you would like to integrate with walmart.io platform so that you can use the offerings of walmart.io platform via API calls. Please check with the developers about the application name. Enter the company details and application details in "Create Your Application" form in walmart.io Dashboard. Yes, Developers can connect with us as they understand better and it will be easy for interaction with walmart.io service APIs. You can ask developers to connect with us and let us know your company's requirement.
    Sam Rubenstein
    @srubenstein_gitlab
    @Vatsban Thank you so much again, when I get back in the office next week I'll share these details. -Sam
    iosupport-walmart
    @iosupport-walmart
    image.png
    1 reply
    Camilo Dominguez
    @camiloa17
    Hi, I hope you are doing well, I got a question regarding the api, is it possible to use it for Walmart mexico?
    1 reply
    Dany Javier Bautista
    @danyjavierb
    Hello all, api products filtering by availability in the staging environment always tells me that there is no stock when I try to prepare an order. So how can I test order preparation in staging and do you have a list of items to test? Thanks for your help, Im desperate now
    5 replies
    sevket yavuz
    @sevkonline_twitter
    hi, how can i use this api with postman. I entered the necessary headers, but I get an error like this
    2 replies
    The timestamp 1629023920006 passed for the signature has expired",
    Stacey Gammon
    @stacey-gammon
    Does the Catalog Product API support sorting?
    2 replies
    Stacey Gammon
    @stacey-gammon
    The Catalog Product API returns some very strange results. For instance, a Stevie Wonder audio book under the category of Toys -> RC Cars & Vehicles.
    1 reply
    Vatsban
    @Vatsban

    @stacey-gammon Thanks for reaching out to us.

    Yes, Catalog Product API supports sorting. Refer to https://walmart.io/docs/affiliate/search for documentation.

    Reach out to us if any queries.

    Thanks,
    Vatsala Bangera
    IO Support

    2 replies
    Vatsban
    @Vatsban

    @stacey-gammon
    Could you please provide us below information?

    • Snapshot of API testing that includes Request URL (including the complete link with query parameters), Headers, and Authorization
    • Snapshot including the complete response with error code.

    Thanks,
    Vatsala Bangera
    IO Support

    2 replies
    Stacey Gammon
    @stacey-gammon

    I have another bug to report. Prices from the product lookup are different from those being returned by the catalog API. Hitting "https://developer.api.walmart.com/api-proxy/service/affil/product/v2/items?upc=778988240199" returns:

    {
    "itemId": 2287909,
    "parentItemId": 904362314,
    "name": "Monster Jam, Official Megalodon Monster Truck, Die-Cast Vehicle, 1:24 Scale",
    "msrp": 12.73,
    "salePrice": 38.88,
    "upc": "778988240199",
    "categoryPath": "Home Page/Toys/Cars, RC, Drones & Trains/Monster Trucks",
    ...
    }

    But hitting the result from the Catalog product is:

    {{
    "itemId": 2287909,
    "parentItemId": 904362314,
    "name": "Monster Jam, Official Megalodon Monster Truck, Die-Cast Vehicle, 1:24 Scale",
    "salePrice": 12.73,
    "upc": "778988240199",
    "categoryPath": "Home Page/Toys/Cars, RC, Drones & Trains/Monster Trucks",
    ...
    }

    The salePrice and the MSRP seem to be mixed up.

    Abel Amadou
    @abel-ibotta
    Where can I find complete list of errors response codes, such as error code 4023 and 4035? the list shown here https://walmart.io/docs/affiliate/http-response-codes does not look complete
    6 replies
    Stacey Gammon
    @stacey-gammon
    Does anyone on here use the Catalog Product API in a production environment? Are these APIs beta only? I've stopped hearing back from support.
    1 reply
    arsandov
    @arsandov
    Has anyone being able to create a Add to Cart / Buy Now button on https://walmart.io/docs/buynow/for-web-apps? Everytime I try to use the resulting orange button it just doesn't work.
    4 replies
    BWManiac
    @BWManiac
    Hey all! Is there anyway to get more detailed purchase information off of the receipt barcode?
    6 replies
    Chirag Gohel
    @chiraggohel
    Does the Reviews API support sorting?
    1 reply
    Stacey Gammon
    @stacey-gammon
    How long does a response for an Affiliate application usually take? I submitted mine about a month ago, and a follow up a few days ago and have not heard anything back. On https://affiliates.walmart.com it says approval is in "24 hours".
    5 replies
    Jelle Van de Vliet
    @jellevdvliet
    Does anyone know the rate limit for the affiliate API endpoints?
    jevo1994
    @jevo1994

    Hi, do you problem search to products?

    impact updated you api but walmart-develop api it seems no