Ebay bulkCreateOrReplaceInventoryItem
api给出以下响应:
"responses": [
{
"statusCode": 201,
"sku": "EDTOYB00000IRP",
"locale": "en_US",
"warnings": [],
"errors": []
}
]
样本文档具有相同的代码,但是库存没有将任何列表上载到Ebay。我的json是:
{
"requests": [{
"sku": "EDTOYB00000IRP",
"locale": "en_US",
"condition": "NEW",
"product": {
"title": "aaaa",
"aspects": {
"Country\/Region of Manufacture": ["United States"]
},
"description": "Jigsaw Puzzle game for family vacation by Aimee stewart",
"brand": "FunKo"
},
"packageWeightAndSize": {
"dimensions": {
"length": 21.5,
"width": 15,
"height": 12,
"unit": "INCH"
},
"packageType": "BULKY_GOODS",
"weight": {
"unit": "OUNCE",
"value": "1.00"
}
},
"availability": {
"pickupAtLocationAvailability": [{
"availabilityType": "IN_STOCK",
"fulfillmentTime": {
"unit": "DAY",
"value": 2
},
"merchantLocationKey": "SHIP_TO_STORE",
"quantity": 1
}],
"shipToLocationAvailability": {
"quantity": 1
}
}
}]
}
标题为:
Content-Type:application / json
授权:承载令牌
接受:application / json
我不明白这里出了什么问题。