使用JSON备货时间修改问题

发布于 2025-08-18 10:52:18

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也不行 这是什么问题?如何解决?

查看更多

关注者
0
被浏览
220
Alex
Alex 2025-08-18
10年跨境老兵(微信:sfgoods),熟悉主流平台(Amazon Ebay 速卖通 Shopee Lazada),欢迎交流~

不确定你这个商品是否是做了FBA和FBM还是只有FBM? 在这个不知道的前提下有几个场景你试试:

  1. 如果有FBA和FBM同时,那修改时候把FBA和FBM的都加上

比如:

{
  "fulfillmentAvailability": [
    {
      "fulfillmentChannelCode": "DEFAULT",   // 自发货
      "quantity": 10,
      "leadTimeToShipMinDays": 2,
      "leadTimeToShipMaxDays": 4
    },
    {
      "fulfillmentChannelCode": "AMAZON_NA"  // FBA 北美
      // 这里不要放 lead_time_to_ship / leadTimeToShip* / quantity
    }
  ]
}

或者不用PATCH使用MERGE

  1. 如果是单纯的FBM,你加上市场ID看看
{
    "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(没记错的话)应该都可以修改

1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

公众
平台

最新资讯发布

分享
好友