fulfillment_availability json-schema
使用 JSON_LISTINGS_FEED 修改lead_time_to_ship_max_days时提交了
{
"header": {
"sellerId": "AD9DK5IXXXXXX",
"version": "2.0"
},
"messages": [
{
"messageId": 1,
"sku": "0DdVfJBkkSQYQkx8152",
"operationType": "PATCH",
"productType": "SPORTING_GOODS",
"patches": [
{
"op": "replace",
"path": "/attributes/fulfillment_availability",
"value": [
{
"fulfillment_channel_code": "DEFAULT",
"lead_time_to_ship_max_days": 20
}
]
}
]
},
{
"messageId": 2,
"sku": "0DdVfJBkkSQYQkx8153",
"operationType": "PATCH",
"productType": "SPORTING_GOODS",
"patches": [
{
"op": "replace",
"path": "/attributes/fulfillment_availability",
"value": [
{
"fulfillment_channel_code": "DEFAULT",
"lead_time_to_ship_max_days": 20
}
]
}
]
},
{
"messageId": 3,
"sku": "0E64ZfHsCtXxXbWI7834",
"operationType": "PATCH",
"productType": "SPORTING_GOODS",
"patches": [
{
"op": "replace",
"path": "/attributes/fulfillment_availability",
"value": [
{
"fulfillment_channel_code": "DEFAULT",
"lead_time_to_ship_max_days": 20
}
]
}
]
},
{
"messageId": 4,
"sku": "0E64ZfHsCtXxXbWI7835",
"operationType": "PATCH",
"productType": "SPORTING_GOODS",
"patches": [
{
"op": "replace",
"path": "/attributes/fulfillment_availability",
"value": [
{
"fulfillment_channel_code": "DEFAULT",
"lead_time_to_ship_max_days": 20
}
]
}
]
},
{
"messageId": 5,
"sku": "0ROA0XgrW3cSOD0Q",
"operationType": "PATCH",
"productType": "SPORTING_GOODS",
"patches": [
{
"op": "replace",
"path": "/attributes/fulfillment_availability",
"value": [
{
"fulfillment_channel_code": "DEFAULT",
"lead_time_to_ship_max_days": 20
}
]
}
]
}
],
"report": {
"includedData": [
"summaries",
"issues"
],
"apiVersion": "2021-08-01"
}
}
结果提示
{
"header" : {
"sellerId" : "AD9DK5IXXXXXX",
"version" : "2.0",
"feedId" : "53071020318"
},
"issues" : [ {
"messageId" : 4,
"code" : "90248",
"severity" : "ERROR",
"message" : "Based on the data from '[fulfillment_channel_availability#?.inventory#?.inventory_type]', the field '\"lead_time_to_ship\"' for the attribute 'Fulfillment Availability' is not allowed. Expected at most '0' of field '\"lead_time_to_ship\"' for attribute 'Fulfillment Availability'.",
"attributeName" : "fulfillment_availability"
}, {
"messageId" : 1,
"code" : "90248",
"severity" : "ERROR",
"message" : "Based on the data from '[fulfillment_channel_availability#?.inventory#?.inventory_type]', the field '\"lead_time_to_ship\"' for the attribute 'Fulfillment Availability' is not allowed. Expected at most '0' of field '\"lead_time_to_ship\"' for attribute 'Fulfillment Availability'.",
"attributeName" : "fulfillment_availability"
}, {
"messageId" : 2,
"code" : "90248",
"severity" : "ERROR",
"message" : "Based on the data from '[fulfillment_channel_availability#?.inventory#?.inventory_type]', the field '\"lead_time_to_ship\"' for the attribute 'Fulfillment Availability' is not allowed. Expected at most '0' of field '\"lead_time_to_ship\"' for attribute 'Fulfillment Availability'.",
"attributeName" : "fulfillment_availability"
}, {
"messageId" : 5,
"code" : "90248",
"severity" : "ERROR",
"message" : "Based on the data from '[fulfillment_channel_availability#?.inventory#?.inventory_type]', the field '\"lead_time_to_ship\"' for the attribute 'Fulfillment Availability' is not allowed. Expected at most '0' of field '\"lead_time_to_ship\"' for attribute 'Fulfillment Availability'.",
"attributeName" : "fulfillment_availability"
}, {
"messageId" : 3,
"code" : "90248",
"severity" : "ERROR",
"message" : "Based on the data from '[fulfillment_channel_availability#?.inventory#?.inventory_type]', the field '\"lead_time_to_ship\"' for the attribute 'Fulfillment Availability' is not allowed. Expected at most '0' of field '\"lead_time_to_ship\"' for attribute 'Fulfillment Availability'.",
"attributeName" : "fulfillment_availability"
} ],
"summary" : {
"errors" : 5,
"warnings" : 0,
"messagesProcessed" : 5,
"messagesAccepted" : 0,
"messagesInvalid" : 5
}
}
配送方式是MFN 更换过PT也不行 这是什么问题?如何解决?
不确定你这个商品是否是做了FBA和FBM还是只有FBM? 在这个不知道的前提下有几个场景你试试:
比如:
{
"fulfillmentAvailability": [
{
"fulfillmentChannelCode": "DEFAULT", // 自发货
"quantity": 10,
"leadTimeToShipMinDays": 2,
"leadTimeToShipMaxDays": 4
},
{
"fulfillmentChannelCode": "AMAZON_NA" // FBA 北美
// 这里不要放 lead_time_to_ship / leadTimeToShip* / quantity
}
]
}
或者不用PATCH使用MERGE
{
"productType": "PRODUCT",
"patches": [
{
"op": "replace",
"path": "/attributes/fulfillment_availability",
"value": [
{
"marketplace_id": "ABCDE",
"fulfillment_channel_code": "DEFAULT",
"lead_time_to_ship_max_days": 4,
"quantity": 543
}
]
}
]
}
这个修改和PT没关系。这个属性是通用属性,用PRODUCT
或者不传PT(没记错的话)应该都可以修改
感谢 已经解决 昨天从网上搜了一下 发现有同样的问题的 解决方法其实和您的是一样的
BUG SP-API Unable to change handling time #2743