0

我尝试通过 Walmart API 批量购买商品,但出现错误:设置此产品时发生意外错误。请尝试重新摄取此项目。

我使用 PHP,这是我的 json:

  {
    "MPItemFeedHeader": {
        "version": "3.2",
        "requestId": "1606485958",
        "requestBatchId": "1606485958"
    },
    "MPItem": [{
        "processMode": "REPLACE_ALL",
        "feedDate": "2020-11-27T14:05:58Z",
        "sku": "2663d9467e64a0a94ab0eeeccd9f37dd",
        "productIdentifiers": [{
            "productIdType": "UPC",
            "productId": "3212971916"
        }],
        "MPProduct": {
            "productName": "3x Micro USB Fast Charging Charger Cable Cords For Samsung Galaxy S4 S7",
            "category": {
                "Electronics": {
                    "ElectronicsAccessories": {
                        "shortDescription": "Store category\r\n...",
                        "mainImageUrl": "https:\/\/i.ebayimg.com\/images\/g\/UGUAAOSwU8hY7awi\/s-l1600.jpg",
                        "brand": "Unbranded"
                    }
                }
            }
        },
        "MPOffer": {
            "price": 31.68
        }
    }]
}

哪里出错了?发生了什么?

4

0 回答 0