VC零售采购模式创建VC货件,怎么传设置箱标相关信息

发布于 2026-01-13 16:22:17

调用Retail Procurement Shipments的/vendor/shipping/v1/shipments接口,对应在VC后台创建shipment并且设置箱标功能;但是调用完后,在后台显示shipment创建成功,但仍然显示需要设置箱标,我这边已传相关箱规信息,请求参数如下:
{

"shipments": [
    {
        "collectFreightPickupDetails": {
            "requestedPickUp": "2026-01-14T12:00:00.000Z",
            "scheduledPickUp": "2026-01-14T12:00:00.000Z"
        },
        "containers": [
            {
                "containerIdentifiers": [
                    {
                        "containerIdentificationNumber": "00005920333997",
                        "containerIdentificationType": "AMZNCC"
                    }
                ],
                "containerSequenceNumber": "1",
                "containerType": "carton",
                "dimensions": {
                    "height": 10,
                    "length": 10,
                    "unitOfMeasure": "In",
                    "width": 10
                },
                "packedItems": [
                    {
                        "buyerProductIdentifier": "B07837W5NX",
                        "itemDetails": {
                            "purchaseOrderNumber": "8TWTXM8G"
                        },
                        "itemSequenceNumber": 1,
                        "packedQuantity": {
                            "amount": 1,
                            "unitOfMeasure": "Cases"
                        },
                        "vendorProductIdentifier": "B07837W5NX"
                    }
                ],
                "weight": {
                    "unitOfMeasure": "Lb",
                    "value": 1
                }
            }
        ],
        "purchaseOrders": [
            {
                "items": [
                    {
                        "buyerProductIdentifier": "B07837W5NX",
                        "itemSequenceNumber": "001",
                        "shippedQuantity": {
                            "amount": 1,
                            "unitOfMeasure": "Eaches",
                            "unitSize": 1
                        },
                        "vendorProductIdentifier": "B07837W5NX"
                    }
                ],
                "purchaseOrderDate": "2026-01-12T00:00:00.000Z",
                "purchaseOrderNumber": "8TWTXM8G",
                "shipWindow": "2026-01-12T00:00:00.000Z--2026-01-29T00:00:00.000Z"
            }
        ],
        "sellingParty": {
            "partyId": "UH681"
        },
        "shipFromParty": {
            "address": {
                "addressLine1": "14650 Meyer Canyon Drive",
                "name": "LinkW Technology Logistics Inc."
            },
            "partyId": "0-188422721"
        },
        "shipmentFreightTerm": "Collect",
        "shipmentMeasurements": {
            "shipmentVolume": {
                "unitOfMeasure": "CuFt",
                "value": "2.682"
            },
            "shipmentWeight": {
                "unitOfMeasure": "Lb",
                "value": 3.6
            },
            "totalCartonCount": 1,
            "totalPalletNonStackable": 0,
            "totalPalletStackable": 0
        },
        "shipToParty": {
            "partyId": "GEU5"
        },
        "transactionDate": "2026-01-20T12:00:00.000Z",
        "transactionType": "Cancel",
        "transportationDetails": {
            "shipMode": "SmallParcel"
        },
        "vendorShipmentIdentifier": "AMAZON-SHIP20260113121254-000026"
    }
]

}
是参数哪里不对,导致没有成功设置箱标信息呢

查看更多

关注者
0
被浏览
119
1 个回答
Alex
Alex 2026-01-13
10年跨境老兵(微信:sfgoods),熟悉主流平台(Amazon Ebay 速卖通 Shopee Lazada),欢迎交流~

有几个地方的原因,你可以试试:
"transactionType": "Cancel"
这个操作是在取消货件吗?

另外你需要确认好,你是用AMZNCC 还是SSCC ,两个不太一样。

修正了一下你的参数,你参考一下

{
  "shipments": [{
    "vendorShipmentIdentifier": "AMAZON-SHIP20260113121254-000026",
    "transactionType": "Original",  // 改为Original
    "transactionDate": "2026-01-20T12:00:00.000Z",
    
    "sellingParty": {
      "partyId": "UH681"
    },
    "shipFromParty": {
      "partyId": "0-188422721",
      "address": {
        "name": "LinkW Technology Logistics Inc.",
        "addressLine1": "14650 Meyer Canyon Drive"
      }
    },
    "shipToParty": {
      "partyId": "GEU5"
    },
    
    "shipmentFreightTerm": "Collect",
    "transportationDetails": {
      "shipMode": "SmallParcel"
    },
    
    "collectFreightPickupDetails": {
      "requestedPickUp": "2026-01-14T12:00:00.000Z",
      "scheduledPickUp": "2026-01-14T12:00:00.000Z"
    },
    
    "shipmentMeasurements": {
      "totalCartonCount": 1,
      "totalPalletStackable": 0,
      "totalPalletNonStackable": 0,
      "shipmentWeight": {
        "unitOfMeasure": "Lb",
        "value": 3.6
      },
      "shipmentVolume": {
        "unitOfMeasure": "CuFt",
        "value": "2.682"
      }
    },
    
    "purchaseOrders": [{
      "purchaseOrderNumber": "8TWTXM8G",
      "purchaseOrderDate": "2026-01-12T00:00:00.000Z",
      "shipWindow": "2026-01-12T00:00:00.000Z--2026-01-29T00:00:00.000Z",
      "items": [{
        "itemSequenceNumber": "001",  // 保持字符串格式
        "buyerProductIdentifier": "B07837W5NX",
        "vendorProductIdentifier": "B07837W5NX",
        "shippedQuantity": {
          "amount": 1,
          "unitOfMeasure": "Eaches",
          "unitSize": 1
        }
      }]
    }],
    
    "containers": [{
      "containerSequenceNumber": "1",
      "containerType": "Carton",
      
      // 方案1: 提供正确的18位SSCC
      "containerIdentifiers": [{
        "containerIdentificationType": "SSCC",
        "containerIdentificationNumber": "000059203339970001"  // 18位
      }],
      
      // 或者 方案2: Small Parcel可以不提供,让Amazon生成
      // "containerIdentifiers": [],
      
      "dimensions": {
        "length": 10,
        "width": 10,
        "height": 10,
        "unitOfMeasure": "In"
      },
      "weight": {
        "unitOfMeasure": "Lb",
        "value": 1
      },
      
      "packedItems": [{
        "itemSequenceNumber": "001",  // 与PO中保持一致
        "buyerProductIdentifier": "B07837W5NX",
        "vendorProductIdentifier": "B07837W5NX",
        "itemDetails": {
          "purchaseOrderNumber": "8TWTXM8G"
        },
        "packedQuantity": {
          "amount": 1,
          "unitOfMeasure": "Eaches"  // 改为Eaches保持一致
        }
      }]
    }]
  }]
}

你试试,
重新提交 SubmitShipments
等待承运商分配
轮询查询: GET /vendor/shipping/v1/shipments

然后下载标签

   GET vendor/shipping/v1/transportLabels

撰写答案

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

发布
问题

公众
平台

最新资讯发布

分享
好友