e-commerce - Walmart API Error: WM_CONSUMER.CHANNEL.TYPE set null or invalid
问题描述
My client has a Walmart marketplace store and we are trying figure out how to successfully make the Walmart API's Multiple Item Inventory for All Ship Nodes API call
.
The API production URL is :
https://marketplace.walmartapis.com/v3/inventories
The purpose of this call is getting the inventory of the store using the API.
Unfortunately, we are stuck because we don't know what value to put for WM_CONSUMER.CHANNEL.TYPE
.
As a result, the API response is unsuccessful and gives this error:
{
"error": [
{
"code": "INVALID_REQUEST_HEADER.GMP_GATEWAY_API",
"field": "WM_CONSUMER.CHANNEL.TYPE",
"description": "WM_CONSUMER.CHANNEL.TYPE set null or invalid",
"info": "One or more request headers are invalid.",
"severity": "ERROR",
"category": "DATA",
"causes": [],
"errorIdentifiers": {}
}
]
}
Where can the value of WM_CONSUMER.CHANNEL.TYPE be found?
解决方案
我有同样的问题。我必须在支持下打开一张票才能获得WM_CONSUMER.CHANNEL.TYPE
.
仅供参考,这并没有解决问题,因为他们给我们的值仍然导致 API 返回相同的错误代码。
推荐阅读
- java - 在 Android 中使用 SMS Retriever API 自动检测 OTP
- typescript - 尽管@ts-ignore 与 Google Apps Script 强制打印脚本一致,但 TypeScript“预期表达式”错误
- amazon-web-services - AWS 单点登录:限制同时登录
- django - Django:从链接表返回数据
- dependency-injection - 服务堆栈 IOC。AutoWire(this) 尝试注入未在 Container 中注册的公共属性
- bash - “语法错误:预期的操作数......”在正常工作的脚本中
- awk - 基于公共键在awk中合并3个文件
- python - 如何使用 pandas 读取并推送到 SQL 数据库中的文件不断获取数据
- python - Beautiful Soup - 在没有嵌套跨度的情况下获得顶部 div 标签
- json - 如何使用 vbscript 从 JSON 文件中获取值到变量中