You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

调用Walmart Shipment API遇Internal Server Error问题求助

Walmart Shipment API 调用时遭遇系统内部错误

我在对接Walmart Shipment API时碰到了系统内部错误。已经确认所有请求头配置无误——生成的token在getOrders API中能正常使用,但调用shipment API时却失效了。

请求详情

API URL

https://sandbox.walmartapis.com/v3/orders/{PurchaseOrderId}/ship

请求头

  • Authorization: Basic Base64编码(clientId:clientSecret)
  • WM_SEC.ACCESS_TOKEN: <walmart_access_token>
  • WM_QOS.CORRELATION_ID: 唯一标识ID
  • WM_SVC.NAME: Walmart Marketplace
  • WM_MARKET: mx
  • WM_CONSUMER.CHANNEL.TYPE: Walmart
  • grant_type: test

请求体

{
  "shipments": [
    {
      "shipmentLines": [
        {
          "primeLineNo": "2",
          "shipmentLineNo": "2",
          "quantity": {
            "unitOfMeasurement": "EACH",
            "amount": "2"
          }
        }
      ],
      "trackingNumber": "1234556",
      "trackingURL": "http://www.otherCarrier.com",
      "carrier": "Other"
    }
  ]
}

响应结果

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:errors xmlns:ns2="http://walmart.com/">
    <ns2:error>
        <ns2:code>SYSTEM_ERROR.GMP_GATEWAY_API</ns2:code>
        <ns2:field>InternalServerError</ns2:field>
        <ns2:description>Internal Server Error</ns2:description>
        <ns2:info>System encountered some internal error.</ns2:info>
        <ns2:severity>ERROR</ns2:severity>
        <ns2:category>SYSTEM</ns2:category>
        <ns2:causes/>
        <ns2:errorIdentifiers/>
    </ns2:error>
</ns2:errors>

内容的提问来源于stack exchange,提问作者Amitkumar solanki

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.19 10:52:50