【问题标题】:Walmart DVS API not returning products沃尔玛 DVS API 不返回产品
【发布时间】:2017-12-04 14:30:58
【问题描述】:

我一直在使用面向市场的 walmart API,并且一切正常。现在在 DVS 上它对我不起作用。我正在获得身份验证和所有内容,但是当我尝试提取当前列表的列表时,它告诉我没有找到任何东西。对市场的相同调用工作正常。 有什么想法可能会丢失吗?

我在 PHP 中使用 curl:

$curl = curl_init();
curl_setopt($curl, CURLOPT_HTTPHEADER, $apiheaders);
curl_setopt($curl, CURLOPT_URL,$url);
curl_setopt($curl, CURLOPT_VERBOSE, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 0);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($curl);

获取网址:https://api-gateway.walmart.com/v3/items?limit=10

标题:

    [0] => WM_SVC.NAME: Drop Ship Vendor Services
    [1] => WM_QOS.CORRELATION_ID: xxxxxx
    [2] => WM_SEC.TIMESTAMP:xxxxxx
    [3] => WM_SEC.AUTH_SIGNATURE:xxxxxx
    [4] => WM_CONSUMER.CHANNEL.TYPE: xxxxxxx
    [5] => WM_CONSUMER.ID: xxxxxxxx
    [6] => Accept: application/xml

我回来了:

[error] => SimpleXMLElement Object
        (
            [code] => CONTENT_NOT_FOUND.GMP_ITEM_QUERY_API
            [description] => No item found
            [info] => Requested content could not be found.
            [severity] => INFO
            [category] => APPLICATION
        )

【问题讨论】:

    标签: php api curl


    【解决方案1】:

    我联系了沃尔玛的支持人员,显然 V3 项目 AP/I 还没有启动。 他们的回复:

    感谢您的来信,很遗憾目前 GET Item API 无法使用,因此您收到 Content Not Found 响应。

    我们将很快更新开发者门户并更新 API 详细信息

    【讨论】:

    • 嗨,你有任何回应吗?我仍然遇到同样的错误
    猜你喜欢
    • 1970-01-01
    • 2021-10-21
    • 1970-01-01
    • 1970-01-01
    • 2021-11-27
    • 1970-01-01
    • 2021-02-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多