供应商零售采购 API v1 用例指南
如何通过网络服务集成以编程方式帮助供应商管理其零售业务的运作。
零售供应商的销售伙伴 API 通过网络服务集成,帮助供应商以编程方式管理其零售业务的运作。与亚马逊的自动集成可以帮助供应商大规模改善和保持绩效,并与亚马逊一同发展业务。
Vendors in the direct fulfillment program should refer to the Vendor Direct Fulfillment APIs v1 Use Case Guide to learn about APIs specific to direct fulfillment.
供应商可以使用这些 API 来构建应用程序,以提高运营效率、减少工作量、减少错误和提高性能。
For authentication and authorization information, refer to Authorizing Selling Partner API applications.
您可以使用供应商零售采购 API 来完成的业务流程
You can use the Vendor Orders API to manage purchase orders, the Vendor Shipments API to send shipment confirmations, the Vendor Invoices API to submit invoices, and the Vendor Transaction Status API to determine the status of your order acknowledgements and shipment confirmations.
业务流程 | 用例 | 操作 |
采购订单管理 | ||
更改或取消采购订单 |
getPurchaseOrders Returns a list of purchase orders created or changed during the time frame that you specify. |
|
检查采购订单状态 |
getPurchaseOrdersStatus Returns purchase order statuses based on the filters that you specify. |
|
提交采购订单确认 |
submitAcknowledgement Submits acknowledgements for one or more purchase orders. |
|
查看订单确认交易状态 |
getTransaction Returns the status of the transaction that you specify. |
|
出货量 | ||
提交发货请求 |
SubmitShipments Submits one or more shipment request for vendor Orders. |
|
获取货件状态或货件/运输标签 |
GetShipmentDetails Returns the Details about Shipment, Carrier Details, status of the shipment, container details and other details related to shipment based on the filter parameters value that you specify. |
|
提交或更新提前发货通知 (ASN) /发货确认 |
SubmitShipmentConfirmations Submits one or more shipment confirmations for vendor orders. |
|
查看发货确认交易状态 |
getTransaction Returns the status of the transaction that you specify. |
|
获取货件标签 |
GetShipmentLabels Returns small parcel shipment labels based on the filters that you specify. |
|
发票和信用票据 | ||
提交供应商发票 |
submitInvoices Submit new invoices to Amazon. |
什么是供应商订单 API?
You can use the Vendor Orders API (Orders API) to receive purchase orders and to send order acknowledgements to accept or reject order fulfillment.
供应商订单 API 包括以下操作:
操作 | HTTP 方法 | Path | 描述 |
---|---|---|---|
getPurchaseOrders |
GET | /vendor/orders/v1/purchaseOrders |
返回在您指定的时间范围内创建或更改的采购订单的列表。从最初的 POST 调用发出之日起,最多可以检索六个月以来的数据。 |
getPurchaseOrder |
GET | /vendor/orders/v1/purchaseOrders /{purchaseOrderNumber} |
根据以下条件返回采购订单 (PO) purchaseOrderNumber 您指定的值。从最初发出 POST 呼叫之日起,最多可以在六个月的时间内进行数据检索。 |
submitAcknowledgement |
POST | /vendor/orders/v1/acknowledgements |
确认(接受或拒绝)一个或多个采购订单。 |
getPurchaseOrdersStatus |
GET | /vendor/orders/v1/purchaseOrdersStatus |
根据您指定的筛选条件返回采购订单状态。从最初的 POST 调用发出之日起,最多可以检索六个月以来的数据。 |
You can use the getPurchaseOrders
operation to access orders created or changed during a specified time period (within a rolling window of the last six months, after June 2020). To optimize response time, we recommend that you limit the time range to no more than seven days.
You can use the getPurchaseOrder
operation to get detailed order information for a specific order. You can then use the submitAcknowledgement
operation to accept or reject the order.
After you accept or reject your orders, you can use the getPurchaseOrdersStatus
operation to return the acknowledgement status of one or more purchase orders.
注意
您可以通过致电返回完整的采购订单详细信息
getPurchaseOrders
操作,或者仅返回带有includeDetails
过滤。此参数的默认值为 true,因此,如果您不包括此查询参数,则将返回采购订单的完整详细信息。如果你使用includeDetails=false
,答复将仅包括采购订单编号清单和每份采购订单的当前状态。
下图显示了使用供应商订单 API 的工作流程。
getPurchaseOrders
getPurchaseOrders
The getPurchaseOrders
operation returns either a list of order references (purchase order numbers and status) or complete order details, for all orders that meet the criteria specified in the request. If you are returning only order references, they can be used later with the getPurchaseOrder
operation to get order details for a specific order.
您应该使用此 API 来获取可供您配送的采购订单。亚马逊建议供应商在办公时间内每小时至少检查一次订单。根据您的业务量,您可以选择更频繁地进行检查。在一次 API 调用中,您最多可以获得 100 个订单。如果订单超过 100 个,则可以使用 nextToken
以获取下一组订单。
订单变更和取消
您可以使用 getPurchaseOrders
操作返回订单变更和取消的订单。
订单变更:有时,由于需求变更,亚马逊会在订单创建后更改采购订单数据。供应商可以使用 getPurchaseOrders
API 以获取更新后得订单。如果亚马逊更改了一个采购订单,则该订单将有一个 purchaseOrderChangedDate
字段,这是亚马逊更新订单的时间戳。如果此字段不存在,则表示订单自创建以来未发生变化。
注意
在您确认采购订单后,亚马逊也可以更改订单。
供应商可以通过使用 changedAfter
和 changedBefore
查询参数,获取在指定日期范围内发生变化的订单列表。这将返回亚马逊在该日期范围内更改的订单,并且供应商必须配送更新的采购订单。或者,供应商可以使用 isPOChanged=true
进行筛选以获取所有更改的采购订单。
亚马逊建议每天进行几次单独的API调用,更改日期范围,以获取一天的更改订单。例如,您可以每天四次调用 “获取采购订单” 操作来更改过去六小时内的订单。
以下是可能导致订单变更的变更列表。要进行这些更改,您必须提取更改后的订单并配送正确的采购订单:
- 更改配送或配送窗口
- PO 商品更新,例如数量更改、商品取消、商品成本变更
- PO 中添加了新商品
- 订购单已取消/未取消
- PO 类型已更改
- 订货单配送目的地(配送中心)变更
- PO 运费信息已更改
物品取消: 您也可以使用带有筛选器的供应商订单 API poItemState=Cancelled
,用于退回包含一件或多件已取消商品的订单。这将返回在创建采购订单后亚马逊取消一件或多件商品的所有订单。这将帮助您仅获得已取消商品的订单(订购数量为零),并有助于确保您不配送已取消的商品。
注意
商品取消符合订单变更条件,因此您还将退回这些订单以及更改后的订单清单。
采购订单状态和供应商代码: 采购订单架构包括当前的采购订单状态和状态更新时间。你可以使用过滤器 purchaseOrderState
根据当前状态筛选订单。
例如,供应商可以使用 purchaseOrderState=New
获取所有尚未确认或配送的采购订单。
供应商还可以通过在筛选条件 orderingVendorCode
中提供一个授权供应商代码以获取特定供应商代码的采购订单。此筛选条件将仅返回针对筛选条件中提及的供应商代码提出的采购订单。
For details about all the available filters, refer to the Vendor Orders API Reference.
下图显示了检索采购订单时的集成工作流程:
getPurchaseOrder
getPurchaseOrder
The getPurchaseOrder
operation uses the purchase order number to return information you specify about the purchase order. The response includes complete purchase order information, including line item details, quantity, and cost.
使用此操作可获取退回的特定订单的详细信息 getPurchaseOrders
操作。
下图显示了检索特定采购订单时的集成工作流程:
业务需求
-
基于重量的订购
对于包含按重量出售的商品的订单,
unitOfMeasure
字段(下方listPrice
和netCost
) 反映了实际重量的计量单位。计量值的重量单位包括POUNDS
,OUNCES
,GRAMS
,以及KILOGRAMS
。 -
发货窗口或交货窗口的使用情况
For vendor paid freights, the delivery window information should be used. Dates are represented in date time interval format in accordance with ISO 8601. The format is the start and end date separated by double hyphen (--). The start date field represents the earliest date that Amazon expects the freight to be delivered to the Amazon fulfillment center listed on the purchase order. The end date field represents the latest date that Amazon expects the freight to be delivered to the Amazon fulfillment center listed on the purchase order.
Use the ship window information for Amazon-paid freights. The date is represented in date/time interval format according to ISO 8601. The format is start and end date separated by double hyphen (--). The start date field represents the earliest date that Amazon expects to pick up the freight. The end date represents the latest date that Amazon expects to pick up the freight. If the same date is listed in the start date and end date fields, then read that date as the date that Amazon expects to pick up the freight.
-
行项目可以延期交付吗?
您需要读取
isBackOrderAllowed
字段中的值。如果为 true,则该订单可以作为延期交付订单处理。如果为 false,则不允许延期交付。 -
交易代码
交易代码是该订单的
dealCode
字段中报告的促销代码。与促销代码、特别折扣或定价相关的任何信息都将显示在此字段中。 -
延期交付订单取消政策
您的亚马逊业务代表决定延期交货政策。与您的供应商经理讨论细节。
注意
订单中不得提交延期订单取消日期。您需要在账户层面设置延期交货政策。
-
使用 API 更改订单
目前无法使用 API 提交订单变更。下单后,通过供应商中心手动更改订单。
特定国家的业务要求
功能 | 印度 | 欧洲 | 北美 |
---|---|---|---|
净成本 | 有条件。净成本或标价均可。 | 有条件。净成本或标价均可。 | 有条件。净成本或标价均可。 |
标价 | 有条件。净成本或标价均可。 | 有条件。净成本或标价均可。 | 有条件。净成本或标价均可。 |
延期交付 | 不适用 | 支持的 | 支持的 |
购买方 | 亚马逊购买实体的地址 | 为购买方分配的交易方编号 | 不适用 |
卖方 | 分配给供应商的亚马逊供应商代码 | 分配给供应商的亚马逊供应商代码 | 分配给供应商的亚马逊供应商代码 |
配送至对应方 | 收货方实体的地址 | 为收货方分配的交易方编号 | 不适用 |
收单方 | 收单实体的地址 | 收单实体的地址 | 不适用 |
submitAcknowledgement
submitAcknowledgement
You can use the submitAcknowledgement
operation to accept or reject a purchase order for fulfillment. Amazon expects a complete acknowledgement, including all purchase order line items for the purchase order. If you do not provide all line items for the purchase order in the acknowledgement, Amazon will implicitly reject the missing line items.
亚马逊希望您尽快提交确认;最迟在 24 小时内。确认书应准确反映实际装运数量和日期。
对于数量、价格、发货日期或配送日期的任何变更,亚马逊希望在 48 小时内更新供应商提交的确认。供应商可以提交完整的确认更新,也可以仅更新特定的行项目。亚马逊始终将此更新视为该行项目较早确认的更替。48 小时后,我们预计只会收到发货日期或配送日期的更新。
如果特定订单项目的第一个确认码是 rejected
,不允许你在更新到任何一处时更改此设置 accepted
要么 backordered
。
对成功提交的订单确认的验证
You can verify the status of the original or updated version of the order acknowledgement using Vendor Central or using the Transaction Status API. If the original or updated version doesn't appear after 30 minutes, submit a support case in Vendor Central by navigating to Vendor Central > Support > Contact Us > API Integration.
下图显示了确认订单时的集成工作流程。
业务需求
-
供应商在确认订单时能否增加在采购订单中提交的原始数量?
不可以,您在确认信中发送的数量不能高于采购订单中提交的数量。
-
是否要求为每个采购订单发送订单确认?
Yes, in order to update the status of an order in the Amazon system correctly, Amazon requires PO confirmation using the API or Vendor Central. If you are unable to meet our order acknowledgement requirements using the API, you must confirm your purchase orders using Vendor Central. Contact your Amazon business representative if you do not have a Vendor Central account.
-
是否要求在相应的订单确认中提供每个 PO 行项目?
是的,这样亚马逊就可以正确地更新订单状态。
-
如果某个行项目被列入延期交付订单,是否需要在订单确认中提供数量?
是的,这样亚马逊系统就可以正确地更新行项目的状态。
-
如何使用订单确认来报告订单上的无效或过时商品?
不要处理或配送订单上带有无效商品编号的商品。在确认信中返回无效的商品编号并确认其为
invalid
。以下确认码表示rejected
由于该商品已过时:拒绝:亚马逊的解释是,此代码中注明的数量不会作为该采购订单的一部分交付给亚马逊。您应将相应的拒绝理由发送为
obsolete
在致谢中。这表明由于该商品已过时,不应再订购该商品。亚马逊对此的命名是 “硬拒绝”,这意味着不应重新订购该商品。如果同一项目连续两次收到此代码(间隔至少 48 小时),则不会对该商品进行重新排序。
注意
Amazon expects an acknowledgement even if all the line items on the purchase order were invalid and did not produce an order or invoice. If a corresponding acknowledgement cannot be sent for a purchase order, Amazon requires manual notification of invalid items. You can notify your buying team through the Vendor Central Contact Us link.
-
我是否需要在订单交易中收到的确认中返回相同的商品标识符?
确认返回的商品标识符必须与采购订单中发送的商品标识符完全相同。
-
是否需要在确认中提供价格?
是的,供应商需要在确认中返回单位成本价。成本价应与将要开具发票的单位成本价格相匹配。图书供应商需要提供标价和折扣乘数。
-
能否在确认上直接返回采购订单中的价格?
不能。无论在采购订单上提交的价格如何,亚马逊都要求在确认中提供成本价。确认时提交的成本价应与发票中提交的成本价相匹配。亚马逊支付系统将比较两者,如果其不匹配,可能会延迟付款。
-
如果在传送初始确认后价格和/或供货情况发生变化,Amazon.com 会要求什么?
在传送初始确认后,请提供有关亚马逊订单任何变更的手动通知。您的 Amazon.com 业务代表可以建议何时、如何以及向谁发送通知。
-
是否需要为延期交付订单上的商品提供价格数据?
是的,这是必填项,这样亚马逊才能正确更新订单状态。如果省略价格,这将导致确认被拒绝。
-
我如何知道是否允许延期交付?
你需要读取中的值
isBackOrderAllowed
采购订单中的字段。值为 true 表示允许延期交货。值为 false 表示不允许延期交货。 -
无论状态如何,是否都需要为所有行项目提供确认码?
是的,这是必填项,这样我们才能正确更新订单的状态。如果省略确认码,则确认将被拒绝。
-
亚马逊关于部分发货的政策是什么?提交订单确认时应如何报告部分发货?
如果采购订单允许延期交货,则允许分批发货(当
isBackOrderAllowed
是true
)。亚马逊建议您使用该代码指定一个确认循环accepted
使用相应的日期,然后使用该代码进行另一个确认循环backordered
以及相应的日期。Accepted:适用于可以立即配送的商品。
Backordered:针对无法立即配送的剩余数量。剩余数量(已订购数量减去所有已确认数量)将在稍后交付(延期交付)。
-
我应该什么时候使用
listPrice
部分?只有当供应商以标价出售书籍时才需要
listPrice
部分。
特定国家的业务要求
功能 | 印度 | 欧洲 | 北美 |
---|---|---|---|
计划的发货日期 | 有条件。取决于货运条款以及与供应商的当前业务安排。 | 可选 | 可选 |
计划的配送日期 | 有条件。取决于货运条款以及与供应商的当前业务安排。 | 可选 | 可选 |
标价 | 仅图书供应商需要 | 支持的 | 仅图书供应商需要 |
获取采购订单状态
The getPurchaseOrdersStatus
operation returns the status for the list of purchase orders that meet the criteria specified in the request. You can use this operation to get the acknowledgement status of the items in purchase orders available to you for fulfillment. This operation returns the history for ordered quantity and acknowledgements of an item. You can view details of all the acknowledgements processed for an item in a purchase order. We have provided a wide range of query parameters to filter the list of POs as per your requirement.
在一次 API 调用中,您最多可以返回 100 个订单。如果订单超过 100 个,则可以使用 nextToken
以获取下一组订单。
以下是一些如何通过不同的查询参数使用 getPurchaseOrdersStatus
操作的示例:
-
您可以使用 PO 创建日期 (
createdBefore
和createdAfter
) 或 PO 更新日期 (updatedBefore
和updatedAfter
) 以及purchaseOrderStatus=OPEN
来获取指定日期范围内所有未完成采购订单的状态。 -
你可以使用
getPurchaseOrdersStatus
用于筛选 PoS 状态的操作。例如,如果itemConfirmationStatus=REJECTED
,回复将返回所有一件或多件商品状态为 “已拒绝” 的订单。 -
您可以通过在
purchaseOrderNumber
查询参数中提供 PO 编号来检查特定 PO 的状态。 -
您可以通过在
orderingVendorCode
中提供供应商代码值并包括purchaseOrderStatus=OPEN
以获取针对特定供应商代码提出的所有未完成 PO 的状态。 -
您可以通过提供
shipToPartyId
中的运营中心 (FC) 代码以及createdBefore
和createdAfter
中的时间段范围,获得在某个时间范围内创建的需要配送到特定亚马逊运营中心的所有 PO 的状态。
采购订单和确认用例
采购订单中无效的行项目
如果您在采购订单中收到无效的产品标识符,则应使用确认码拒绝该商品 Rejected
还有 rejectionReason
如同 InvalidProductIdentifier
:
采购订单
{
"order": {
"purchaseOrderNumber": " L8266355",
"purchaseOrderState": "New",
"orderDetails": {
"purchaseOrderDate": "2019-07-16T19:17:34.304Z",
"purchaseOrderStateChangedDate": "2019-07-16T19:17:34.304Z",
"purchaseOrderType": "RegularOrder",
"paymentMethod": "Invoice",
"buyingParty": {
"partyId": "NAG1"
},
"sellingParty": {
"partyId": "999US"
},
"shipToParty": {
"partyId": "NAG1"
},
"billToParty": {
"partyId": "NAG1"
},
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": " ABC123434",
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": "10",
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"isBackOrderAllowed": false,
"netCost": {
"amount": "10.2",
"currencyCode": "USD"
},
"listPrice": {
"amount": "10.2",
"currencyCode": "USD"
}
}
]
}
}
}
采购订单确认
{
"acknowledgements": [
{
"purchaseOrderNumber": "L8266355",
"sellingParty": {
"partyId": "999US"
},
"acknowledgementDate": "2019-07-17T19:17:34.304Z",
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": " ABC123434",
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"netCost": {
"currencyCode": "USD",
"amount": "10.2"
},
"itemAcknowledgements": [
{
"acknowledgementCode": "Rejected",
"acknowledgedQuantity": {
"amount": 10
},
"rejectionReason": "InvalidProductIdentifier"
}
]
}
]
}
]
}
采购订单状态
{
"payload": {
"ordersStatus": [
{
"purchaseOrderNumber": "L8266355",
"purchaseOrderStatus": "CLOSED",
"purchaseOrderDate": "2019-07-16T19:17:34.304Z",
"lastUpdatedDate": "2019-07-17T19:17:34.304Z",
"sellingParty": {
"partyId": "999US"
},
"shipToParty": {
"partyId": "NAG1"
},
"itemStatus": [
{
"itemSequenceNumber": "1",
"buyerProductIdentifier": "ABC123434",
"vendorProductIdentifier": "028877454078",
"netCost": {
"amount": "10.2",
"currencyCode": "USD"
},
"listPrice": {
"amount": "10.2",
"currencyCode": "USD"
},
"orderedQuantity": {
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"orderedQuantityDetails": [
{
"updatedDate": "2019-07-16T19:17:34.304Z",
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 5
}
}
]
},
"acknowledgementStatus": {
"confirmationStatus": "REJECTED",
"acceptedQuantity": {
"amount": 0,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"rejectedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"acknowledgementStatusDetails": [
{
"acknowledgementDate": "2019-07-17T19:17:34.304Z",
"acceptedQuantity": {
"amount": 0,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"rejectedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 5
}
}
]
}
}
]
}
]
}
}
采购订单中过时的行项目
如果您在采购订单中收到过时的产品,则应使用确认码拒绝该商品 Rejected
还有 rejectionReason
如同 ObsoleteProduct
。
采购订单
{
"order": {
"purchaseOrderNumber": " L8266355",
"purchaseOrderState": "New",
"orderDetails": {
"purchaseOrderDate": "2019-07-16T19:17:34.304Z",
"purchaseOrderStateChangedDate": "2019-07-16T19:17:34.304Z",
"purchaseOrderType": "RegularOrder",
"paymentMethod": "Invoice",
"buyingParty": {
"partyId": "NAG1"
},
"sellingParty": {
"partyId": "999US"
},
"shipToParty": {
"partyId": "NAG1"
},
"billToParty": {
"partyId": "NAG1"
},
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": " ABC123434",
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": "10",
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"isBackOrderAllowed": false,
"netCost": {
"amount": "10.2",
"currencyCode": "USD"
}
}
]
}
}
}
采购订单确认
{
"acknowledgements": [
{
"purchaseOrderNumber": "L8266356",
"sellingParty": {
"partyId": "999US"
},
"acknowledgementDate": "2019-07-17T19:17:34.304Z",
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": "ABC123438",
"vendorProductIdentifier": "028877454079",
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"netCost": {
"currencyCode": "IN",
"amount": "100.20"
},
"itemAcknowledgements": [
{
"acknowledgementCode": "Rejected",
"acknowledgedQuantity": {
"amount": 10
},
"rejectionReason": " ObsoleteProduct"
}
]
}
]
}
]
}
确认部分商品数量并延期交付其余数量的商品
亚马逊订购了 10 件商品。供应商计划拆分装运,因此发送 Accepted
商品数量为 6 和 a BackOrdered
商品数量为四表示第一次配送时将配送六件商品,第二次配送时配送四件商品。
采购订单 -(进口采购订单)
{
"order": {
"purchaseOrderNumber": " L8266357",
"purchaseOrderState": "Acknowledged",
"orderDetails": {
"purchaseOrderDate": "2019-07-16T19:17:34.304Z",
"purchaseOrderChangedDate": "2019-07-18T16:05:00Z",
"purchaseOrderStateChangedDate": "2019-07-17T10:00:34.304Z",
"purchaseOrderType": "RegularOrder",
"importDetails": {
"importContainers": "2-20'HC,1-45',1-45'HC",
"internationalCommercialTerms": "FreeOnBoard",
"methodOfPayment": "PrepaidBySeller",
"portOfDelivery": "USA",
"shippingInstructions": "PREFERENCE IS PALLET-LOAD, BUT IF CONTAINERS ARE FLOOR-LOADED"
},
"paymentMethod": "Invoice",
"buyingParty": {
"partyId": "XYZ1"
},
"sellingParty": {
"partyId": "999US"
},
"shipToParty": {
"partyId": "XYZ1"
},
"billToParty": {
"partyId": "XYZ1",
"taxInfo": {
"taxRegistrationNumber": "12AAXYZ4259Z123",
"taxRegistrationType": "VAT"
}
},
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": " ABC123434",
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": "10",
"unitOfMeasure": "Eaches"
},
"isBackOrderAllowed": true,
"netCost": {
"amount": "10.2",
"currencyCode": "USD"
},
"listPrice": {
"amount": "10.2",
"currencyCode": "USD"
}
}
]
}
}
}
采购订单确认
{
"acknowledgements": [
{
"purchaseOrderNumber": "L8266355",
"sellingParty": {
"partyId": "999US"
},
"acknowledgementDate": "2019-07-17T19:17:34.304Z",
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": " ABC123434",
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Eaches"
},
"netCost": {
"currencyCode": "USD",
"amount": "10.2"
},
"itemAcknowledgements": [
{
"acknowledgementCode": "Accepted",
"acknowledgedQuantity": {
"amount": 6
},
"scheduledShipDate": "2019-07-17T19:17:34.304Z"
},
{
"acknowledgementCode": "Backordered",
"acknowledgedQuantity": {
"amount": 4
},
"scheduledShipDate": "2019-07-25T19:17:34.304Z"
}
]
}
]
}
]
}
在配送完订单的第一部分后,供应商会使用 scheduledShipDate
向亚马逊提供更准确的第二批货件配送日期,以便配送延期交付的商品。请注意,供应商应始终发送包含单个行项目总订购量的完整更新信息。全面更新可提供明确的数量可见性。
采购订单状态
{
"payload": {
"ordersStatus": [
{
"purchaseOrderNumber": "L8266355",
"purchaseOrderStatus": "OPEN",
"purchaseOrderDate": "2019-07-16T19:17:34.304Z",
"lastUpdatedDate": "2019-07-18T16:05:00Z",
"sellingParty": {
"partyId": "999US"
},
"shipToParty": {
"partyId": "XYZ1"
},
"itemStatus": [
{
"itemSequenceNumber": "1",
"buyerProductIdentifier": "ABC123434",
"vendorProductIdentifier": "028877454078",
"netCost": {
"amount": "10.2",
"currencyCode": "USD"
},
"listPrice": {
"amount": "10.2",
"currencyCode": "USD"
},
"orderedQuantity": {
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"orderedQuantityDetails": [
{
"updatedDate": "2019-07-16T19:17:34.304Z",
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
}
]
},
"acknowledgementStatus": {
"confirmationStatus": "ACCEPTED",
"acceptedQuantity": {
"amount": 10,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"acknowledgementStatusDetails": [
{
"acknowledgementDate": "2019-07-17T19:17:34.304Z",
"acceptedQuantity": {
"amount": 10,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"rejectedQuantity": {
"amount": 0,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
}
]
}
}
]
}
]
}
}
使用多次确认以取消最初接受的数量
当您发现无法配送最初接受的订单中的部分或全部商品,并且您想告知亚马逊这些商品将不发货时,您可以使用此方法。
采购订单
{
"order": {
"purchaseOrderNumber": " L8266355",
"purchaseOrderState": "New",
"orderDetails": {
"purchaseOrderDate": "2019-07-16T19:17:34.304Z",
"purchaseOrderStateChangedDate": "2019-07-16T19:17:34.304Z",
"purchaseOrderType": "RegularOrder",
"paymentMethod": "Invoice",
"buyingParty": {
"partyId": "NAG1"
},
"sellingParty": {
"partyId": "999US"
},
"shipToParty": {
"partyId": "NAG1"
},
"billToParty": {
"partyId": "NAG1"
},
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": "ABC123434",
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": "10",
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"isBackOrderAllowed": false,
"netCost": {
"amount": "10.2",
"currencyCode": "USD"
},
"listPrice": {
"amount": "10.2",
"currencyCode": "USD"
}
}
]
}
}
}
采购订单确认
供应商最初接受了此数量。
{
"acknowledgements": [
{
"purchaseOrderNumber": "L8266355",
"sellingParty": {
"partyId": "999US"
},
"acknowledgementDate": "2019-07-17T19:17:34.304Z",
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": "ABC123434",
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"netCost": {
"currencyCode": "USD",
"amount": "10.2"
},
"itemAcknowledgements": [
{
"acknowledgementCode": "Accepted",
"acknowledgedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"scheduledShipDate": "2019-07-17T19:17:34.304Z"
}
]
}
]
}
]
}
之后,供应商无法按照已接受的数量进行配送,并通过另一个采购订单确认请求发送了全部或部分取消订单。
全部取消
{
"acknowledgements": [
{
"purchaseOrderNumber": "L8266355",
"sellingParty": {
"partyId": "999US"
},
"acknowledgementDate": "2019-07-17T19:17:34.304Z",
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": "ABC123434",
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"netCost": {
"currencyCode": "USD",
"amount": "10.2"
},
"itemAcknowledgements": [
{
"acknowledgementCode": "Rejected",
"acknowledgedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"rejectionReason": "TemporarilyUnavailable"
}
]
}
]
}
]
}
部分取消
{
"acknowledgements": [
{
"purchaseOrderNumber": "L8266355",
"sellingParty": {
"partyId": "999US"
},
"acknowledgementDate": "2019-07-17T20:10:34.304Z",
"items": [
{
"itemSequenceNumber": "1",
"amazonProductIdentifier": "ABC123434",
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"netCost": {
"currencyCode": "USD",
"amount": "10.2"
},
"itemAcknowledgements": [
{
"acknowledgementCode": "Accepted",
"acknowledgedQuantity": {
"amount": 3,
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"scheduledShipDate": "2019-07-17T19:17:34.304Z"
},
{
"acknowledgementCode": "Rejected",
"acknowledgedQuantity": {
"amount": 7,
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"rejectionReason": "TemporarilyUnavailable"
}
]
}
]
}
]
}
后续部分取消后的采购订单状态
{
"payload": {
"ordersStatus": [
{
"purchaseOrderNumber": "L8266355",
"purchaseOrderStatus": "OPEN",
"purchaseOrderDate": "2019-07-16T19:17:34.304Z",
"lastUpdatedDate": "2019-07-17T19:17:34.304Z",
"sellingParty": {
"partyId": "999US"
},
"shipToParty": {
"partyId": "NAG1"
},
"itemStatus": [
{
"itemSequenceNumber": "1",
"buyerProductIdentifier": "ABC123434",
"vendorProductIdentifier": "028877454078",
"netCost": {
"amount": "10.2",
"currencyCode": "USD"
},
"listPrice": {
"amount": "10.2",
"currencyCode": "USD"
},
"orderedQuantity": {
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"orderedQuantityDetails": [
{
"updatedDate": "2019-07-16T19:17:34.304Z",
"orderedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 5
}
}
]
},
"acknowledgementStatus": {
"confirmationStatus": "PARTIALLY_ACCEPTED",
"acceptedQuantity": {
"amount": 3,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"rejectedQuantity": {
"amount": 7,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"acknowledgementStatusDetails": [
{
"acknowledgementDate": "2019-07-17T19:17:34.304Z",
"acceptedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"rejectedQuantity": {
"amount": 0,
"unitOfMeasure": "Cases",
"unitSize": 5
}
},
{
"acknowledgementDate": "2019-07-17T20:10:34.304Z",
"acceptedQuantity": {
"amount": 3,
"unitOfMeasure": "Cases",
"unitSize": 5
},
"rejectedQuantity": {
"amount": 7,
"unitOfMeasure": "Cases",
"unitSize": 5
}
}
]
}
}
]
}
]
}
}
什么是供应商货件 API?
You can use the Vendor Shipments API (Shipments API) to exchange shipment related documents with Amazon.
货件 API 中包含以下操作:
操作 | HTTP 方法 | Path | 描述 |
---|---|---|---|
SubmitShipmentConfirmations
|
POST | /vendor/shipping/v1/shipmentConfirmations |
向亚马逊提交一个或多个货件确认。 |
GetShipmentDetails
|
GET | /vendor/shipping/v1/shipments |
获取提交给亚马逊的运输请求的配送详情。自发货请求创建之日起,最多可以在六个月内检索数据。 |
SubmitShipments
|
POST | /vendor/shipping/v1/shipments |
向亚马逊提交一次或多次运输请求。 |
SubmitShipmentConfirmations
SubmitShipmentConfirmations
You can use the SubmitShipmentConfirmations
operation to submit shipment confirmations to Amazon. With your shipment confirmation we can efficiently receive and process your shipments. It contains information about the items being shipped, including purchase order number, ship date, estimated delivery date, lot number, expiration date, and the Serial Shipping Container Code (SSCC).
通过及时收到有效的发货确认,我们可以正确预测您发送给我们的货物。提交发货确认书的一些好处包括:
-
亚马逊可以更有效地与承运人合作,追踪和接收您的货物。这使我们能够有效地规划我们的劳动力资源,并有助于确保更快、更高效地收到您的货物,这意味着您可以更快地为 PO 开具发票。
-
亚马逊可以跟踪入库库存并创建自动订单,以确保商品不会缺货。
-
提高在途产品的可见性,这使我们能够更准确地向终端客户反映物品的供应情况(按周期交付)。
-
根据亚马逊的 PO 取消政策,未完成的 PO 配送可以取消。但是,具有准确发货确认的 PO 会提醒我们的内部系统注意在途状态。这有助于避免不必要的 PO 取消、退单和运费拒绝。
缺少有效的货件确认可能导致:
- 无法充分了解收到的货件。
- 将实物货件与采购订单进行核对时出现错误。
- 手动跟进以解决差异。
- 需要提供交货证明 (POD) 以开具发票。
货件确认 - 替换
当发货确认中有 shipmentConfirmationType
的 Replace
,您可以通过发送更新版本来更正之前提交的发货确认。第二次发货确认电话将完全覆盖第一次发货确认数据。
主要优势是在首次提交后更新错误的货件确认,从而提高预订的准确性。
它是如何运作的?
为了替换之前提交的发货确认,可以发送第二份发货确认信。这个 shipmentIdentifier
和 sellingParty.partyId
两个传输必须相同,这样我们才能成功覆盖先前版本的发货确认。
发货确认范围-更换
-
所有发货确认值均可编辑,除了
shipmentIdentifier
和sellingParty.partyId
,需要保持不变才能成功确认发货-更换。 -
托拍、纸箱和发货数量不能增加,但可以减少。为了增加数量,您需要使用新的
shipmentIdentifier
来发送第二次货件确认。如果要使用相同的货件配送其他商品,则可以使用相同的 BOL 参考。 -
A shipment confirmation submitted using the API can only be edited by submitting another shipment confirmation using the API. A shipment confirmation created in Vendor Central cannot be edited using the API.
-
只能在首次确认货件后的 7 天内替换货件确认,且仅在货件尚未到达亚马逊运营中心时才可替换。
对成功提交的货件确认的验证
You can verify the status of your original or replaced shipment confirmations via Vendor Central > Orders > Shipments or by using the Transaction Status API. It can take the system up to 30 min to show the original/replaced version after submission. If Vendor Central is not showing the correct values for the replaced shipment confirmation, open a Contact Us case in Vendor Central.
下图显示了提交货件确认时的集成工作流程。
业务需求
-
当供应商运送按重量出售的物品时,他们必须提供
totalWeight
领域。这个totalWeight
字段包含供应商配送的物品的重量和重量计量单位。计量值的重量单位包括POUNDS
,OUNCES
,GRAMS
,以及KILOGRAMS
。 -
每个整车运输货件的货件确认数量限制为 100。这意味着,只有当该整车运输 (TL) /汽运零担 (LTL) 货件的单个货件确认的总数小于或等于 100 时,您才能在 PO 级别或纸箱级别发送单独的货件确认。我们建议您为整个整车运输/汽运零担(货件)发送单个货件确认,包括所有 PO 和纸箱详细信息。
-
亚马逊必须在亚马逊运营中心收到商品之前收到货件确认。缺失或延迟的货件确认将导致信用卡拒付。
-
对于小包裹货件,需要对每个包裹/纸箱进行货件确认。
-
以下内容是亚马逊所要求的,用于追踪合规性:
- 对于托拍配送,您必须先发送发货确认信息,然后才能在亚马逊运营中心申请配送时段,因为只有在亚马逊系统中找到有效的发货确认后,才会进行预约。有关例外情况,请参阅当地发货确认 帮帮我 页面以了解可用选项。对于包裹,需要在发货前提交发货确认。缺少发货确认信息或延迟发货确认将导致退单。
- 发货确认必须针对来自一个供应商的一次配送,并且只能针对一辆卡车。使用多辆卡车、发往多个亚马逊运营中心、来自多个供应商账户的货件或多天到货的货件需要多次发货确认。
- 如果将同一供应商账户的多个小货件合并到一个较大的货件中,并且需要多次发货确认,则您可以使用伞式提货单选项,如以下示例所示:
发货确认 1
"billOfLadingNumber": "BOL1"
"shipmentIdentifier": "SHIPMENT CONFIRMATION_ID1"
发货确认 2
"billOfLadingNumber": "BOL1"
"shipmentIdentifier": "SHIPMENT CONFIRMATION_ID2"
特定国家的业务要求
功能 | 业务定义 | 印度 | 欧洲 | 北美 |
---|---|---|---|---|
提货单/配送报价 |
BOL number is the unique number assigned by the vendor. The BOL present in the shipment confirmation ideally matches the paper BOL provided with the shipment, but that is not required. Refer to Additional field explanations for more information. The BOL reference is used for appointment booking and shipment label creation.
交货报价编号是提货单的替代编号作为货件参考编号。 |
有条件 |
所有货件确认为必填项。 | FTL 或 LTL 货件是必填项。 |
承运人货件参考编号 (PRO#) | PRO 编号(Pro 编号)是承运人分配的唯一编号。它用于识别和追踪要配送的货物。 | 所有货件确认为必填项。 | 可选 | 所有货件确认为必填项。 |
发货日期 | 货件离开供应商库房的日期。 |
所有货件确认为必填项。 |
所有货件确认为必填项。 | 所有货件确认为必填项。 |
预计送达日期 |
货件预计到达亚马逊运营中心的日期。这需要根据从发货地到目的地之间的平均运输时间进行估算。确切的预约时间将由亚马逊提供,可能在创建货件时未知。 |
所有货件确认为必填项。 |
所有货件确认为必填项。 | 所有货件确认为必填项。 |
纸箱数量 | 货件中存在的纸箱数量。堆叠在托拍上而不带外箱的商品计为 1 件 = 1 个纸箱。在货件级别需要纸箱数量。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 |
托拍数量 | 货件中存在的托拍数量。对于纯包裹货件,需要填写值 0,所有用托拍运抵运营中心的体积都需要在此区段中至少填写 1。需要在货件级别提供信息。 | 托拍配送的所有货件确认为必填项。 | 所有货件确认为必填项。 | FTL 和 LTL 配送是必需的。 |
标准承运人字母代码 (SCAC) | 用于识别货件承运人的代码。标准承运人字母代码 (SCAC) 是一个独特的二到四个字母的代码,用于识别承运人。承运人 SCAC 代码由 NMFTA(美国国家汽车货运协会)分配和维护。 | 可选 | 可选 | 所有货件确认为必填项。 |
收货地(收货地点) | 商品收货地点的对应方编号/库房代码。API 架构字段名称为“shipToParty” | 所有货件确认为必填项。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 |
供应商身份信息 | 向亚马逊运送货物的供应商的供应商身份信息。API 架构字段名称为“sellingParty”。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 | 可选 |
发货地 | 商品实际发货地的地址(邮政编码)和国家/地区参考。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 |
亚马逊参考编号(仅适用于 WePay 货件)。 | 路线说明中收到的亚马逊参考编号 (GetShipmentDetails 回复)用于 WePay 配送。 |
仅在确认货件时为必填项 (适用于 WePay 货件)。 |
仅在确认货件时为必填项 (适用于 WePay 货件)。 |
“运费到付”为必填项。 |
采购订单编号 | 亚马逊采购订单编号。供应商以指定价格配送商品的书面授权,一旦供应商接受,该合同即成为具有法律约束力的合同。 | 在标题或行项目级别为必填项。 | 在标题或行项目级别为必填项。 | 在标题或行项目级别为必填项。 |
系列货运包装箱代码 (SSCC) | 包含唯一 18 位数的系列货运包装箱代码 (SSCC),用于定义托拍/纸箱。 | 建议在包装单位内进行所有货件确认。 | 包装单位内的所有货件确认均为必填项。 | 包装单位内的所有货件确认均为必填项。 |
商品标识 | 商品的供应商 SKU。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 |
批号 | 批次或批号将商品与制造商认为与应用元素字符串的贸易项目的可追溯性相关的信息相关联。数据可能涉及贸易项目本身或所含项目。 | 易腐商品为必填项。 | 易腐商品为必填项。 | 易腐商品为必填项。 |
到期日期 | 确定商品消费或使用限制的日期。其含义是根据贸易项目上下文确定的。 | 易腐商品为必填项。 | 易腐商品为必填项。 | 到期日期或生产日期和保质期都是必需填写的。 |
生产日期 | 生产、包装或组装日期由制造商确定。其含义是根据贸易项目上下文确定的。 | 可选 | 可选 | 到期日期或生产日期和保质期都是必需填写的。 |
数量 | 特定商品的商品配送数量。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 | 所有货件确认为必填项。 |
其他字段说明
提单号码
提货单编号 (BOL#) 是在亚马逊预约所需的参考编号。当亚马逊要求提供有效的发货确认时,必须提供此参考信息。这是实际装运附带文件的默认参考编号。发货确认中的提货单号应与发货文件中提供的 BOL 编号一致。
定义 BOL 编号时,请确保它对每批货件都是唯一的。您的 BOL 编号可以作为实际提货单参考,但如果您选择其他数字:
- 至少使用八位数。
- 使用亚马逊供应商代码作为前缀(例如:ABCD193939393)。
- 不要使用日期或时间。
货件识别
此字段是代表此发货确认的唯一 ID(唯一性在供应商的上下文中定义)。未能提供 Shipment Identification
将导致发货确认被拒绝。确保发送的身份证件在过去 365 天内未被使用。
发货日期
此字段表示货件从供应商所在地启运的日期。要求供应商在货物到达亚马逊运营中心之前发送发货确认信息。
预计送达日期
这是根据经验,对预计货件何时配送到亚马逊运营中心的粗略估计。供应商必须根据承运人的平均运输时间来确定这一点。如果我们没有从承运人那里获得预计送达日期,这些信息可以帮助我们制定货件计划。
尽管此阶段可能不知道预约日期,但仍需要为每批货件提供此日期。
系列货运包装箱代码 (SSCC)
亚马逊使用一种名为牌照或 LP Receive 的高度自动化的方法处理收据,此流程要求您在发货确认消息中提供纸箱内容的详细信息。这种必需的接收流程会扫描收到物品的纸箱或托盘外侧的序列装运集装箱代码 (SSCC) 条形码,无需扫描纸箱或托盘中的每件商品。该流程具有许多显著的优势,包括提高了效率,提高了收款准确性,更准确的付款以及更快的付款周期。
您可以选择技术解决方案,因为亚马逊决定不严格遵循 GS1-128 解决方案。为了符合亚马逊牌照要求,SSCC 必须是用于定义托盘或纸箱的唯一 18 位代码,不能在 365 天内重复,并且必须在纸箱标签和发货确认消息中均包含条形码。此外,实物标签上的条形码必须与发货确认中的 SSCC 100% 匹配。想要实施 GS1-128 的供应商需要添加一个 00
在发货确认中,他们的 SSCC 开始时。
For more information about generating an SSCC and the requirements for the physical shipment, refer to Vendor Central. To locate the Vendor Manual with labelling requirements, select Shipping, then License Plate label and receiving requirements.
到期日期
到期日期是确定商品消费或使用限制的日期。它是根据贸易项目上下文确定的(例如,对于食品,这表明在该日期之后使用该商品可能导致直接的健康风险;对于药品,它表示该日期之后的商品将无效并可能导致间接的健康风险)。它通常被称为“使用期限”或“最长保质”。
生产日期
这是商品的包装或制造日期。如果商品易腐或已确定保质期,则应提供此字段。
批号
批号或批号将商品与制造商认为与商品本身或商品所含成分的可追溯性相关的信息相关联。该数字可以表示生产批次、班次、机器、时间或内部生产代码。
在货件确认中使用到期日期/制造日期/批号
这些字段仅对易腐物品是必填字段,也就是说,对于那些符合以下条件的物品 is expiration dated product
属性是 Yes
在新物品设置 (NIS) 表格上。
当您在发货确认中定义到期日期、生产日期或批号时:
-
到期日起/生产日期/批号必须在商品级别发送。
-
一个箱子/托拍可以有多个商品 (ASIN),每个商品都有各自的到期日起/生产日期/批号。
-
一件商品 (ASIN) 不应在同一个箱子/托拍内有多个到期日期/生产日期/批号。
供应商必须在货件确认中以 YYYYMMDD 格式提供到期日期和生产日期。
货件确认用例
带有有效期和批号的小包裹标准箱
{
"shipmentConfirmations": [
{
"shipmentIdentifier": "00050003",
"shipmentConfirmationType": "Original",
"shipmentType": "TruckLoad",
"shipmentStructure": "LooseStandardCase",
"transportationDetails": {
"carrierScac": "UPSN",
"billOfLadingNumber": "02440000"
},
"amazonReferenceNumber": "ARN_Number",
"shipmentConfirmationDate": "2019-07-29T21:56:18.575Z",
"shippedDate": "2019-07-29T21:56:18.575Z",
"estimatedDeliveryDate": "2019-07-29T21:56:18.575Z",
"sellingParty": {
"partyId": "VENDORCODE"
},
"shipFromParty": {
"address": {
"name": "ABC electronics warehouse",
"addressLine1": "DEF 1st street",
"city": "Lisses",
"stateOrRegion": "abcland",
"postalCode": "91090",
"countryCode": "DE"
},
"partyId": "ABCED"
},
"shipToParty": {
"partyId": "AMZWAREHOUSECODE"
},
"shipmentMeasurements": {
"grossShipmentWeight": {
"unitOfMeasure": "Kg",
"value": "120.45"
},
"shipmentVolume": {
"unitOfMeasure": "CuFt",
"value": "2.4"
},
"cartonCount": 2
},
"shippedItems": [
{
"itemSequenceNumber": "001",
"amazonProductIdentifier": "AB1234233",
"vendorProductIdentifier": "VN24343334",
"shippedQuantity": {
"amount": 50,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "PO1234BD",
"lotNumber": " 12345",
"expiry": {
"expiryDate": "2019-11-29T21:56:18.575Z"
}
}
}
],
"cartons": [
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666698888"
}
],
"cartonSequenceNumber": " 001",
"trackingNumber": "UPS TRACKING NUMBER",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
}
]
},
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666698889"
}
],
"cartonSequenceNumber": " 002",
"trackingNumber": "UPS TRACKING NUMBER",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
}
]
}
]
}
]
}
小 LooseAssortmentCase
带有有效期和批号的包裹
LooseAssortmentCase
带有有效期和批号的包裹{
"shipmentConfirmations": [
{
"shipmentIdentifier": "00050003",
"shipmentConfirmationType": "Original",
"shipmentType": "TruckLoad",
"shipmentStructure": "LooseAssortmentCase",
"transportationDetails": {
"carrierScac": "UPSN",
"billOfLadingNumber": "02440000"
},
"amazonReferenceNumber": "ARN_Number",
"shipmentConfirmationDate": "2019-07-29T21:56:18.575Z",
"shippedDate": "2019-07-29T21:56:18.575Z",
"estimatedDeliveryDate": "2019-07-29T21:56:18.575Z",
"sellingParty": {
"partyId": "VENDORCODE"
},
"shipFromParty": {
"address": {
"name": "ABC electronics warehouse",
"addressLine1": "DEF 1st street",
"city": "Lisses",
"stateOrRegion": "abcland",
"postalCode": "91090",
"countryCode": "DE"
},
"partyId": "ABCED"
},
"shipToParty": {
"partyId": "AMZWAREHOUSECODE"
},
"shipmentMeasurements": {
"grossShipmentWeight": {
"unitOfMeasure": "Kg",
"value": "120.45"
},
"shipmentVolume": {
"unitOfMeasure": "CuFt",
"value": "2.4"
},
"cartonCount": 2
},
"shippedItems": [
{
"itemSequenceNumber": "001",
"amazonProductIdentifier": "AB1234233",
"vendorProductIdentifier": "VN24343334",
"shippedQuantity": {
"amount": 50,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "PO1234BD",
"lotNumber": " 12345",
"expiry": {
"expiryDate": "2019-11-29T21:56:18.575Z"
}
}
},
{
"itemSequenceNumber": "002",
"amazonProductIdentifier": "AB1234235",
"vendorProductIdentifier": "VN24343370",
"shippedQuantity": {
"amount": 50,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "PO1234BD",
"lotNumber": " 12345",
"expiry": {
"expiryDate": "2019-11-29T21:56:18.575Z"
}
}
}
],
"cartons": [
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666698888"
}
],
"cartonSequenceNumber": " 001",
"trackingNumber": "UPS TRACKING NUMBER",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 1
}
},
{
"itemReference": "002",
"shippedQuantity": {
"amount": 10,
"unitOfMeasure": "Cases",
"unitSize": 1
}
}
]
}
]
}
]
}
对有多件商品使用托拍装运的整车运输
{
"shipmentConfirmations": [
{
"shipmentIdentifier": "00050003",
"shipmentConfirmationType": "Original",
"shipmentType": "TruckLoad",
"shipmentStructure": "PalletizedAssortmentCase",
"transportationDetails": {
"transportationMode": "Road",
"billOfLadingNumber": "02440000"
},
"shipmentConfirmationDate": "2019-08-07T19:56:45.632Z",
"shippedDate": "2019-08-07T19:56:45.632Z",
"estimatedDeliveryDate": "2019-08-07T19:56:45.632Z",
"sellingParty": {
"partyId": "VENDORCODE"
},
"shipFromParty": {
"address": {
"name": "ABC electronics warehouse",
"addressLine1": "DEF 1st street",
"city": "Lisses",
"stateOrRegion": "abcland",
"postalCode": "91090",
"countryCode": "DE"
},
"partyId": "VENDORWAREHOUSECODE"
},
"shipToParty": {
"partyId": "AMZWAREHOUSECODE"
},
"shipmentMeasurements": {
"grossShipmentWeight": {
"unitOfMeasure": "Kg",
"value": "250"
},
"shipmentVolume": {
"unitOfMeasure": "CuFt",
"value": "2.4"
},
"palletCount": 2
},
"shippedItems": [
{
"itemSequenceNumber": "001",
"vendorProductIdentifier": "9782700001659",
"shippedQuantity": {
"amount": 100,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
},
{
"itemSequenceNumber": "002",
"vendorProductIdentifier": "9782700001000",
"shippedQuantity": {
"amount": 400,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
}
],
"cartons": [
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666698888"
}
],
"cartonSequenceNumber": "001",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "1BBBAAAA",
"lotNumber": "1045",
"maximumRetailPrice": {
"currencyCode": "EUR",
"amount": "89.00"
},
"handlingCode": "Oversized"
}
},
{
"itemReference": "002",
"shippedQuantity": {
"amount": 100,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "1BBBAACC",
"lotNumber": "1087",
"maximumRetailPrice": {
"currencyCode": "EUR",
"amount": "120.00"
},
"handlingCode": "Oversized"
}
}
]
},
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666698999"
}
],
"cartonSequenceNumber": "002",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "1BBBAACD",
"lotNumber": "1045",
"maximumRetailPrice": {
"currencyCode": "EUR",
"amount": "89.00"
},
"handlingCode": "Oversized"
}
},
{
"itemReference": "002",
"shippedQuantity": {
"amount": 100,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "1BBBAADD",
"lotNumber": "1087",
"maximumRetailPrice": {
"currencyCode": "EUR",
"amount": "120.00"
},
"handlingCode": "Oversized"
}
}
]
},
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666698669"
}
],
"cartonSequenceNumber": "003",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "1BBBAACD",
"lotNumber": "1045",
"maximumRetailPrice": {
"currencyCode": "EUR",
"amount": "89.00"
},
"handlingCode": "Oversized"
}
},
{
"itemReference": "002",
"shippedQuantity": {
"amount": 100,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "1BBBAADD",
"lotNumber": "1087",
"maximumRetailPrice": {
"currencyCode": "EUR",
"amount": "120.00"
},
"handlingCode": "Oversized"
}
}
]
},
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666697799"
}
],
"cartonSequenceNumber": "004",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "1BBBAACD",
"lotNumber": "1045",
"maximumRetailPrice": {
"currencyCode": "EUR",
"amount": "89.00"
},
"handlingCode": "Oversized"
}
},
{
"itemReference": "002",
"shippedQuantity": {
"amount": 100,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "1BBBAADD",
"lotNumber": "1087",
"maximumRetailPrice": {
"currencyCode": "EUR",
"amount": "120.00"
},
"handlingCode": "Oversized"
}
}
]
}
],
"pallets": [
{
"palletIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567898098745"
}
],
"tier": 1,
"block": 2,
"dimensions": {
"length": "1.2",
"width": "0.8",
"height": "1",
"unitOfMeasure": "In"
},
"weight": {
"unitOfMeasure": "Kg",
"value": "55"
},
"cartonReferenceDetails": {
"cartonCount": 2,
"cartonReferenceNumbers": [
"001",
"002"
]
}
},
{
"palletIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567898098700"
}
],
"tier": 1,
"block": 2,
"dimensions": {
"length": "1.2",
"width": "0.8",
"height": "1",
"unitOfMeasure": "In"
},
"weight": {
"unitOfMeasure": "Kg",
"value": "55"
},
"cartonReferenceDetails": {
"cartonCount": 2,
"cartonReferenceNumbers": [
"003",
"004"
]
}
}
]
}
]
}
汽运零担货件,使用托拍装运的标准箱
{
"shipmentConfirmations": [
{
"shipmentIdentifier": "00050003",
"shipmentConfirmationType": "Original",
"shipmentType": "LessThanTruckLoad",
"shipmentStructure": "PalletizedStandardCase",
"transportationDetails": {
"transportationMode": "Road",
"billOfLadingNumber": "02440000"
},
"shipmentConfirmationDate": "2019-08-07T19:56:45.632Z",
"shippedDate": "2019-08-07T19:56:45.632Z",
"estimatedDeliveryDate": "2019-08-07T19:56:45.632Z",
"sellingParty": {
"partyId": "VENDORCODE"
},
"shipFromParty": {
"address": {
"name": "ABC electronics warehouse",
"addressLine1": "DEF 1st street",
"city": "Lisses",
"stateOrRegion": "abcland",
"postalCode": "91090",
"countryCode": "DE"
},
"partyId": "VENDORWAREHOUSECODE"
},
"shipToParty": {
"partyId": "AMZWAREHOUSECODE"
},
"shipmentMeasurements": {
"grossShipmentWeight": {
"unitOfMeasure": "Kg",
"value": "120.45"
},
"shipmentVolume": {
"unitOfMeasure": "CuFt",
"value": "2.4"
},
"palletCount": 1
},
"shippedItems": [
{
"itemSequenceNumber": "001",
"vendorProductIdentifier": "9782700001659",
"shippedQuantity": {
"amount": 100,
"unitOfMeasure": "Eaches",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "1BBBAAAA",
"lotNumber": "1045",
"maximumRetailPrice": {
"currencyCode": "EUR",
"amount": "299.00"
},
"handlingCode": "Oversized"
}
}
],
"cartons": [
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666698888"
}
],
"cartonSequenceNumber": "001",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
}
]
},
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666699999"
}
],
"cartonSequenceNumber": "002",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
}
]
},
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666696666"
}
],
"cartonSequenceNumber": "003",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
}
]
},
{
"cartonIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567666697777"
}
],
"cartonSequenceNumber": "004",
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 25,
"unitOfMeasure": "Eaches",
"unitSize": 1
}
}
]
}
],
"pallets": [
{
"palletIdentifiers": [
{
"containerIdentificationType": "SSCC",
"containerIdentificationNumber": "00102234567898098745"
}
],
"tier": 2,
"block": 2,
"dimensions": {
"length": "1.2",
"width": "0.8",
"height": "1",
"unitOfMeasure": "In"
},
"weight": {
"unitOfMeasure": "Kg",
"value": "120.45"
},
"cartonReferenceDetails": {
"cartonCount": 4,
"cartonReferenceNumbers": [
"001",
"002",
"003",
"004"
]
}
}
]
}
]
}
单个 ASIN 托盘的装运量低于卡车装载量
{
"shipmentConfirmations": [
{
"shipmentIdentifier": "5013088794",
"shipmentConfirmationType": "Original",
"shipmentType": "LessThanTruckLoad",
"shipmentStructure": "PalletOfItems",
"transportationDetails": {
"carrierShipmentReferenceNumber": "1021396377",
"billOfLadingNumber": "501308879400010001",
"transportationMode": "Road"
},
"shipmentConfirmationDate": "2023-04-21T22:31:43Z",
"shippedDate": "2023-04-21T22:31:43Z",
"estimatedDeliveryDate": "2023-04-21T22:31:43Z",
"sellingParty": {
"partyId": "VENDORCODE"
},
"shipFromParty": {
"address": {
"name": "ABC electronics warehouse",
"addressLine1": "DEF 1st street",
"city": "Lisses",
"stateOrRegion": "abcland",
"postalCode": "91090",
"countryCode": "DE"
},
"partyId": "ABCED"
},
"shipToParty": {
"partyId": "AMZWAREHOUSECODE"
},
"shipmentMeasurements": {
"shipmentVolume": {
"unitOfMeasure": "CuFt",
"value": "181.656"
},
"palletCount": 3,
"grossShipmentWeight": {
"unitOfMeasure": "Lb",
"value": "3315.744"
}
},
"shippedItems": [
{
"itemSequenceNumber": "001",
"vendorProductIdentifier": "VN24343334",
"shippedQuantity": {
"amount": 315,
"unitOfMeasure": "Cases",
"unitSize": 1
},
"itemDetails": {
"purchaseOrderNumber": "PO1234BD",
"lotNumber": " 12345",
"expiry": {
"expiryDate": "2024-11-29T21:56:18.575Z"
}
}
}
],
"pallets": [
{
"tier": 10,
"palletIdentifiers": [
{
"containerIdentificationNumber": "108195730651297459",
"containerIdentificationType": "SSCC"
}
],
"weight": {
"unitOfMeasure": "Lb",
"value": "828.936"
},
"block": 15,
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 105,
"unitOfMeasure": "Cases",
"unitSize": 1
}
}
],
"dimensions": {
"unitOfMeasure": "In",
"length": "44.375",
"width": "39.750",
"height": "40.500"
}
},
{
"tier": 10,
"palletIdentifiers": [
{
"containerIdentificationNumber": "108195730651297589",
"containerIdentificationType": "SSCC"
}
],
"weight": {
"unitOfMeasure": "Lb",
"value": "828.936"
},
"block": 15,
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 105,
"unitOfMeasure": "Cases",
"unitSize": 1
}
}
],
"dimensions": {
"unitOfMeasure": "In",
"length": "44.375",
"width": "39.750",
"height": "40.500"
}
},
{
"tier": 10,
"palletIdentifiers": [
{
"containerIdentificationNumber": "108195730651297595",
"containerIdentificationType": "SSCC"
}
],
"weight": {
"unitOfMeasure": "Lb",
"value": "828.936"
},
"block": 15,
"items": [
{
"itemReference": "001",
"shippedQuantity": {
"amount": 105,
"unitOfMeasure": "Cases",
"unitSize": 1
}
}
],
"dimensions": {
"unitOfMeasure": "In",
"length": "44.375",
"width": "39.750",
"height": "40.500"
}
}
]
}
]
}
SubmitShipments
SubmitShipments
重要说明
SubmitShipments
仅在北美和欧盟商城提供。
The SubmitShipments
operation is designed for Collect or WePay vendors to submit requests for the pickup of their shipments by Amazon. With this operation they can also update or cancel submitted requests. You can consolidate multiple orders that are ready to be shipped and request transportation through a single shipment request, thus saving time and lowering costs. When submitting a shipment request, the requested pickup date must be a minimum of two business days after the current date.
注意
这个
SubmitShipments
操作不支持提交非标准托盘的配送请求。
创建或更新货件
当 transactionType
对于发货请求是 New
,您可以创建新请求或更新之前提交的配送请求。对现有发货请求的更新是根据供应商货件编号完成的。如果已存在具有提供的供应商货件编号的货件,则会进行更新操作;否则,将创建新的货件。
更新配送范围:
- 所有配送请求值均可编辑,除了
vendorShipmentIdentifier
,buyerReferenceNumber
,以及sellingParty.partyId
要成功更新,必须保持不变。在分配承运人之前,您可以灵活地修改配送请求中的所有其他字段。 - 只有在指定承运人后,才能修改配送请求中请求的取件日期。
取消配送
发货请求中有 transactionType
如同 Cancel
使您能够取消先前提交的配送请求。要取消先前提交的配送请求,您需要提供 vendorShipmentIdentifier
, buyerReferenceNumber
, sellingParty.partyId
, shipFromParty.partyId
, shipToParty.partyId
和 transactionType
如同 Cancel
。
取消配送范围:
- 在分配承运人和安排路线之前和之后,都可以取消配送请求。
验证成功提交的配送请求
You use Vendor Central or the Vendor Transaction Status API to verify the status of your shipment request. If the status of the posted request doesn't appear after 30 minutes, submit a support case in Vendor Central by navigating to Vendor Central > Support > Contact Us > API Integration.
注意
The Transaction Status API only supports
Processing
andFailure
status values for submitted Cancel Shipment requests.
下图显示了提交发货请求时的集成工作流程。
业务需求
- 只有在完全确认相应的订货单后,才应提交发货请求。如果订单尚未得到确认,则配送请求将无法处理。
- 这个
requestedPickUp
在发货请求中,必须在当前日期之后至少两个工作日。 - 所有配送请求值均可编辑,除了
vendorShipmentIdentifier
,buyerReferenceNumber
,以及sellingParty.partyId
,必须保持相同才能成功更新。在分配承运人之前,您可以灵活地修改配送请求中的所有其他字段。 - 只有在指定承运人后,您才能修改配送请求中的取件日期。
- 在分配承运人和安排路线之前和之后,都可以取消配送请求。
其他字段说明
供应商发货标识符
此字段是唯一的 ID(唯一性在供应商的上下文中定义),代表此运输请求。未能提供 vendorShipmentIdentifier
将导致运输请求被拒绝。确保发送的身份证件在过去 365 天内未被使用。
要求的取件日期
这个字段也叫做 Freight Ready Date
,用于指定从供应商所在地取件的最早日期。当物品准备好提货时,您需要发送运输申请。
提交配送示例请求
创建或更新发货请求
{
"shipments": [
{
"vendorShipmentIdentifier": "00050003",
"transactionType": "New",
"transactionDate": "2019-08-07T19:56:45.632",
"shipmentFreightTerm": "Collect",
"sellingParty": {
"partyId": "PQRSS"
},
"shipFromParty": {
"address": {
"name": "ABC electronics warehouse",
"addressLine1": "DEF 1st street",
"city": "Lisses",
"stateOrRegion": "abcland",
"postalCode": "91090",
"countryCode": "DE"
},
"partyId": "999US"
},
"shipToParty": {
"partyId": "ABCDF"
},
"shipmentMeasurements": {
"totalCartonCount": 30,
"totalPalletStackable": 30,
"totalPalletNonStackable": 30,
"shipmentWeight": {
"unitOfMeasure": "Kg",
"value": "120.45"
},
"shipmentVolume": {
"unitOfMeasure": "CuFt",
"value": "2.4"
}
},
"collectFreightPickupDetails": {
"requestedPickUp": "2019-08-07T19:56:45.632"
},
"purchaseOrders": [
{
"purchaseOrderNumber": "1BBBAAAA"
},
{
"purchaseOrderNumber": "1BBBACCC"
}
]
}
]
}
取消配送请求
{
"shipments": [
{
"vendorShipmentIdentifier": "00050003",
"buyerReferenceNumber": "1234567",
"transactionType": "Cancel",
"transactionDate": "2019-08-07T19:56:45.632",
"shipmentFreightTerm": "Collect",
"sellingParty": {
"partyId": "PQRSS"
},
"shipFromParty": {
"address": {
"name": "ABC electronics warehouse",
"addressLine1": "DEF 1st street",
"city": "Lisses",
"stateOrRegion": "abcland",
"postalCode": "91090",
"countryCode": "DE"
},
"partyId": "999US"
},
"shipToParty": {
"partyId": "ABCDF"
}
}
]
}
GetShipmentDetails
GetShipmentDetails
重要说明
GetShipmentDetails
仅适用于 WePay,可在北美和欧盟商城收取订单。
You can use the GetShipmentDetails
operation to retrieve scheduled pickup and carrier assignment information. You must use SubmitShipments
or a routing request before shipment details are available. GetShipmentDetails
only returns a response after carrier assignment, which occurs either on the same day as the scheduled pickup or one day prior to the pickup date.
回复中返回的详细信息可帮助您高效地进行配送流程,确保订单已打包,并准备好在指定的取件日期由承运人提货。在运输生命周期中的任何时候,您都可以使用此操作来查看货件状态和详细信息。此操作主要由WePay供应商使用。
下图显示了供应商获取配送集成工作流程。
业务需求
-
The
GetShipmentDetails
operation only provides a response if shipment creation is successful. The response contains the Amazon Reference Number (ARN) and other shipment details. The carrier assignment details are available only after the carrier assignment for the shipment. Carrier assignment occurs on the same day as the scheduled pickup or one day prior to the pickup date. -
The
GetShipmentDetails
operation will not provide details for shipments submitted through Vendor Central.
需要使用 GetShipmentDetails
GetShipmentDetails
To return a list of shipments, call the GetShipmentDetails
operation and pass the following parameters:
查询参数:
名称 | 描述 | 必填项 |
---|---|---|
limit |
对返回的记录数的限制。 类型:整数 |
没有帮助 |
sortOrder |
按货件创建日期以升序或降序对列表进行排序。 类型:字符串 Type: enum (
|
没有帮助 |
nextToken |
当货件标签数量超过指定结果大小限制时,用于分页。令牌值会在之前的 API 调用中返回。 类型:字符串 |
没有帮助 |
createdAfter |
Shipments created after this time will be included in the result. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
createdBefore |
Shipments created before this time will be included in the result. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
shipmentConfirmedBefore |
Use to provide the date to retrieve Shipment Details of all shipments confirmed before this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
shipmentConfirmedAfter |
Use to provide the date to retrieve Shipment Details of all shipments confirmed after this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
packageLabelCreatedBefore |
Use to provide the date to fetch Shipment Details of all shipments for which package labels were created before this date. This field must be in ISO 8601 date/time format.
类型:字符串(布尔值) |
没有帮助 |
packageLabelCreatedAfter |
Use to provide the date to retrieve Shipment Details of all shipments for which package labels were created after this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
shippedBefore |
Use to provide the date to retrieve Shipment Details of all shipments for which shipped date is before this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
shippedAfter |
Use to provide the date to retrieve Shipment Details of all shipments for which the shipped date is after this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
estimatedDeliveryBefore |
Use to provide the date to retrieve Shipment Details of all shipments for which estimated delivery date is before this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
estimatedDeliveryAfter |
Use to provide the date to retrieve Shipment Details of all shipments with estimated delivery date after this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
shipmentDeliveryBefore |
Use to provide the date to retrieve Shipment Details of all shipments with shipment delivery date before this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
shipmentDeliveryAfter |
Use to provide the date to retrieve Shipment Details of all shipments for which shipment delivery date is after this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
requestedPickUpBefore |
Use to provide the date to retrieve Shipment Details of all shipments for which requested pickup date is before this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
requestedPickUpAfter |
Use to provide the date to retrieve Shipment Details of all shipments for which requested pickup date is after this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
scheduledPickUpBefore |
Use to provide the date to retrieve Shipment Details of all shipments for which scheduled pickup date is before this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
scheduledPickUpAfter |
Use to provide the date to retrieve Shipment Details of all shipments for which scheduled pickup date is after this date. This field must be in ISO 8601 date/time format.
类型:字符串(日期时间) |
没有帮助 |
currentShipmentStatus |
通过传递当前发货状态获取货件详情。 类型:字符串 |
没有帮助 |
vendorShipmentIdentifier |
通过传递供应商货件编号获取货件详情。 类型:字符串 |
没有帮助 |
buyerReferenceNumber |
通过传递买家参考编号获取配送详情。 类型:字符串 |
没有帮助 |
buyerWarehouseCode |
根据买家仓库代码获取配送详情。此值应等于 shipToParty.partyId 在货件中。 类型:字符串 |
没有帮助 |
sellerWarehouseCode |
根据供应商仓库代码获取发货详情。此值应等于 sellingParty.partyId 在货件中。 类型:字符串 |
没有帮助 |
请求示例:
GET https://sellingpartnerapi-na.amazon.com/vendor/shipping/v1/shipments?vendorShipmentIdentifier=00050003
需要使用 GetShipmentDetails
GetShipmentDetails
响应示例:
{
"payload": {
"pagination": {
"nextToken": "MDAwMDAwMDAwMQ=="
},
"shipments": [
{
"vendorShipmentIdentifier": "00050003",
"buyerReferenceNumber": "1234567",
"currentShipmentStatus": "CarrierAssigned",
"currentshipmentStatusDate": "2019-08-09T19:56:45.632",
"shipmentStatusDetails": [
{
"shipmentStatus": "CarrierAssigned",
"shipmentStatusDate": "2019-08-09T19:56:45.632"
},
{
"shipmentStatus": "TransportationRequested",
"shipmentStatusDate": "2019-07-07T19:56:45.632"
},
{
"shipmentStatus": "Created",
"shipmentStatusDate": "2019-07-06T19:56:45.632"
}
],
"shipmentCreateDate": "2019-07-06T19:56:45.632",
"shipmentFreightTerm": "Collect",
"sellingParty": {
"partyId": "998US"
},
"shipFromParty": {
"address": {
"name": "ABC electronics warehouse",
"addressLine1": "DEF 1st street",
"city": "Lisses",
"stateOrRegion": "abcland",
"postalCode": "91090",
"countryCode": "DE"
},
"partyId": "ABCD12"
},
"shipToParty": {
"partyId": "999US"
},
"shipmentMeasurements": {
"totalCartonCount": 30,
"totalPalletStackable": 30,
"totalPalletNonStackable": 30,
"shipmentWeight": {
"unitOfMeasure": "Kg",
"value": "120.45"
},
"shipmentVolume": {
"unitOfMeasure": "CuFt",
"value": "2.4"
}
},
"collectFreightPickupDetails": {
"requestedPickUp": "2019-08-10T19:56:45.632",
"scheduledPickUp": "2019-08-10T19:56:45.632",
"carrierAssignmentDate": "2019-08-09T19:56:45.632",
},
"purchaseOrders": [
{
"purchaseOrderNumber": "1BBBAAAA"
}
],
"transportationDetails": {
"shipMode": "LessThanTruckLoad",
"transportationMode": "Road",
"shippedDate": "2019-08-07T19:56:45.632",
"estimatedDeliveryDate": "2019-08-07T19:56:45.632",
"shipmentDeliveryDate": "2019-08-07T19:56:45.632",
"carrierDetails": {
"name": "UPS",
"phone": "1234567890",
"email": "abc@xyz.com",
"code": "string",
"shipmentReferenceNumber": "TRACK001"
},
"billOfLadingNumber": "string"
}
}
]
}
}
GetShipmentLabels
GetShipmentLabels
You can use the GetShipmentLabels
operation to obtain shipping labels from Amazon exclusively for small parcel shipments on behalf of Collect/WePay vendors. This operation helps vendors retrieve shipping labels for confirmed orders that require shipment from the vendor's warehouse to Amazon's warehouse. Vendors can retrieve labels through a single API call or multiple API calls. Labels are generated once the shipment request is finalized and a carrier is assigned. Vendors have the option to filter Amazon-generated labels based on various parameters, such as buyer reference numbers (also known as Amazon reference numbers), seller warehouse codes, and other values.
下图描述了供应商获取货件标签的集成工作流程。
业务需求
- 致电
GetShipmentLabels
仅在指定承运人之后。 - If
GetShipmentLabels
does not return a label or returnsResource Not Found
, verify that a carrier has been assigned. Alternatively, you can callGetShipmentDetails
to confirm whether the carrier has been assigned. - 如果已分配承运人但操作仍未返回任何标签,请在供应商平台门户中打开 “联系我们” 案例。
- 标签一旦用于运输,就不能重复使用。
特定国家/地区的业务要求
此 API 操作仅在北美地区可用。
查询请求
To return a list of shipment labels, call the GetShipmentLabels
operation and pass the following parameters:
名称 | 描述 | 必填项 |
---|---|---|
limit |
对返回的记录数的限制。 类型:整数 |
没有帮助 |
sortOrder |
按货件标签创建日期以升序或降序对列表进行排序。 类型:字符串 Type: enum (
|
没有帮助 |
nextToken |
当订单数量超过指定结果大小限制时用于分页。令牌值会在之前的 API 调用中返回。 类型:字符串 |
没有帮助 |
labelCreatedAfter |
在此时间之后创建的货件标签将包含在结果中。此字段必须采用 ISO 8601 日期/时间格式。 类型:字符串(日期时间) |
没有帮助 |
labelCreatedBefore |
在此时间之前创建的货件标签将包含在结果中。此字段必须采用 ISO 8601 日期/时间格式。 类型:字符串(日期时间) |
没有帮助 |
buyerReferenceNumber |
通过传递买家参考编号获取货件标签。 类型:字符串 |
没有帮助 |
vendorShipmentIdentifier |
通过传递供应商货件编号获取货件标签。 类型:字符串 |
没有帮助 |
sellerWarehouseCode |
根据供应商仓库代码获取发货标签。此值应等于 sellingParty.partyId 在货件中。 类型:字符串 |
没有帮助 |
请求示例
GET /vendor/shipping/v1/transportLabels?vendorShipmentIdentifier=7822
获取货件标签回复
{
"payload": {
"pagination": {
"nextToken": "MDAwMDAwMDAwMQ=="
},
"transportLabels": [
{
"labelCreateDateTime": "2024-10-23T17:10:35Z",
"shipmentInformation": {
"vendorDetails": {
"sellingParty": {
"partyId": "WAD47"
},
"vendorShipmentIdentifier": "7822"
},
"buyerReferenceNumber": "14511336331",
"shipToParty": {
"partyId": "LAX9"
},
"shipFromParty": {
"partyId": "0-55767831",
"address": {
"name": "Wheeler Bros., Inc. HQ",
"addressLine1": "384 Drum Ave",
"addressLine2": "Suite 123",
"addressLine3": "DOOR 1",
"city": "Somerset",
"stateOrRegion": "PA",
"postalCode": "15501",
"countryCode": "US"
}
},
"masterTrackingId": "1ZR873R70319165935",
"totalLabelCount": 1,
"shipMode": "SmallParcel"
},
"labelData": [
{
"labelSequenceNumber": 1,
"labelFormat": "PDF",
"carrierCode": "UPSN",
"trackingId": "1ZR873R70319165935",
"label": "Base 64 encoded string goes here."
}
]
}
]
}
}
什么是供应商发票 API?
You can use the Vendor Invoices API, to exchange payment related documents with Amazon. With the Submit Invoices operation, you can send vendor invoices to Amazon for confirmed and shipped orders.
包括以下操作:
操作 | HTTP 方法 | Path | 描述 |
---|---|---|---|
submitInvoices | POST | /vendor/payments/v1/invoices | 向亚马逊提交一份或多份供应商发票 |
注意
这个
submitInvoices
操作可用于在欧洲提交信用票据。
提交发票
You can use the submitInvoices
operation to request payment from Amazon for items shipped. You can use this operation to submit multiple invoices in a single API call.
商品只有在确认并配送到亚马逊后才应开具发票。否则,发票将被拒绝。
亚马逊将在不进行任何人为干预的情况下处理包含正确信息的发票,这表明供应商可以更快地收到付款。
Invoices with incorrect information will be rejected in Amazon's payee system, so sending correct information is important. Refer to the business requirements section to learn how to create invoices with correct information.
发票提交的并行测试
You need to complete parallel testing with our payments system before you can start using the submitInvoices
operation for payment processing.
当您开始使用 API 发送发票时,并行测试阶段就开始了。在并行测试阶段,您为所有已配送的订单发送供应商平台和 API 发票。在验证至少五到十个发票文件的内容之前,您需要进行并行测试。对生产 PO 和发票进行并行测试。
当并行测试完成后,或者如果您的发票中存在任何内容差异,亚马逊应付账款 (AP) 团队将与您联系。
当您收到一封表示并行测试已完成的电子邮件时,您不再需要向供应商中心发送发票;您可以使用 API 发送发票。
对成功提交的发票的验证
The Transaction Status API shows the status of the semantic validations for submitted invoices, but not the actual status of invoice processing. You can verify the actual status of the original or updated version of the invoices via Vendor Central > Payments > Invoices. For more information on how to use the Transaction Status API, refer to the business use case documentation for Transaction Status. If the original or updated version with the correct values for the updated invoice isn't present after 30 minutes, submit a support case in Vendor Central by navigating to Vendor Central > Support > Contact Us > API Integration.
下图显示了为已确认和已发货的订单提交发票时的集成工作流程。
业务需求
-
对于按重量定价的商品,您必须提供
totalWeight
领域。这个totalWeight
字段包含已开具发票的商品的总重量。此外,netCostUnitOfMeasure
字段必须反映您按重量定价的商品的计量单位。计量单位值包括POUNDS
,OUNCES
,GRAMS
,以及KILOGRAMS
。 -
发票编号必须是唯一的,并且不得重复使用(即使在一年后也是如此)。
-
如果 API 发送的发票由于数据不正确而失败,但供应商平台发票包含正确的数据,则您应使用相同的数据通过 API 使用正确的数据更新发票 Invoice ID。
-
如果发票包含不正确的数据(供应商平台和 API),则发票将被取消,并应发送新发票和新发票 Invoice ID。
-
带有
total amount = 0
的发票 = 不应发送 0,因为这会导致发票失败。 -
Amazon requires the full address details in the address segments for tax compliance reasons. This is especially important for bill to party. For this segment the Amazon Payee system requires an exact match. For the list of addresses, refer to SP-API Bill to Party Addresses.
-
发票中发送的付款条款应符合与亚马逊买家商定的付款条件。
-
项目商品标识符应与在匹配采购订单中发送给供应商的订单商品标识符相匹配。
-
发票总金额应等于商品、费用和补贴的总和。
-
每个行级别的税额总额必须等于标题级别的税额总额。
-
发票总数量应与所有商品数量的总和相匹配。
-
每种不同的费用和补贴必须在标题级别逐项列出(例如运费、包裹费、小额订购费等)
请注意
汇款地址必须与亚马逊存档的地址相匹配。如果地址不匹配,则发票失效。
特定国家的业务要求
功能 | 印度 | 欧洲 | 北美 |
---|---|---|---|
发票类型 | 发票类型 CreditNote 不支持。发票类型应始终为 Invoice 。 |
发票类型 Invoice 和 CreditNote 支持了。供应商需要相应地发送发票类型。 |
发票类型 CreditNote 不支持。发票类型应始终为 Invoice 。 |
贷记单参考 | 未使用 | 如果发票类型为,则供应商必须在商品级别发送这些参考信息 CreditNote 。 |
未使用 |
日期 | 必须是 now 或之前。 |
必须是 now 或之前。 |
必须是 now 或之前。 |
HSN 编号 | 税务合规发票必须使用统一命名系统 (HSN) 代码。允许的最大长度为八个字符。 | 未使用 | 未使用 |
行和标题级别的税务类型 | 税务类型允许使用以下内容:
如果未提供税务信息,则发票将被拒绝。 |
要发送的税种类型。 | 未使用 |
税务登记号 | 必须提供 15 个字符的 GST ID。 | 增值税号 | 增值税号 |
行和标题级别的税务详情 | 如果一件商品适用多种税费,则必须多次发送税务详情部分,并附上该商品的相应税种。 这同样适用于发票的总金额。 |
如果一件商品适用多种税费,则必须多次发送税务详情部分,并附上该商品的相应税种。 这同样适用于发票的总金额。 还有另一种税收类型叫做 |
如果一件商品适用多种税费,则必须多次发送税务详情部分,并附上该商品的相应税种。 这同样适用于发票的总金额。 |
收款方 | 向亚马逊供应商品并获得付款的一方。也称为供应商。 | 将接收已发货商品(如果是发票)或退回的物品(如果是贷记单)的付款的一方(供应商)的税项和地址详情。此为必填项。 | 将收到已发货商品付款的一方(供应商)的税项和地址详情。此为必填项。 |
发货方 | 发货地址详情以及州 ISO 代码。 税务登记号中必须包含商品及服务税编号。“发货方”为必填项。值应与亚马逊系统中的值相匹配。 |
供应商代码或库房代码以及商品配送方的地址。 | 供应商代码或库房代码以及商品配送方的地址。 |
配送至对应方 | 收货地址详情以及州 ISO 代码。收货方为必填项。 值应与亚马逊系统中的值相匹配。 |
亚马逊编号或库房代码以及商品配送方的地址。 | 亚马逊编号或库房代码以及商品配送方的地址。 |
收单方 | 收单方为必填项。它可能与收货方相同。如果相同,则要求供应商在两个部分中发送相同的信息。 | Tax and Address details of the party (Amazon) who will be billed for the shipped items (in case of an Invoice) or the returned items (in case of a credit note). For a complete list of Amazon bill to party addresses and JSON code examples, refer to SP-API bill to party addresses.
此字段是必填项。 |
将为已发货商品开具账单的一方(亚马逊)的税项和地址详情。 此字段是必填项。 |
亚马逊商品标识符和外部商品标识符 | 这些值中至少有一个是必填项。该标识符必须与订单中收到的相同。 | 那些值中至少有一个是必填项。该标识符必须与订单中收到的相同。 | 那些值中至少有一个是必填项。该标识符必须与订单中收到的相同。 |
净成本 | 此字段是必填项。 | 此字段是必填项。 | 此字段是必填项。 |
采购订单编号 | 一张发票只能包含一个订单的信息。因此,一张发票中所有行项目的 PO 编号应相同。 必填项。 |
一张发票可以包含多个订单的信息。对于不同的订单项目,应相应地发送订单号。这个字段是 规定的 如果发票类型是 Invoice 并且在发票类型为时不使用 CreditNote 。 |
一张发票可以包含多个订单的信息。对于不同的行项目,应相应地发送 PO 编号。 必填项。 |
其他详情 | 未使用 | 当卖方必须为特殊目的提交更多详细信息时,使用此字段。例如,对于波兰的分期付款发票,卖方必须发送详细信息”mechanizm podzielonej płatności “类型的 SUR 和 languageCode “PL “。 |
未使用 |
referenceNumber | 印度政府为每张发票生成的唯一发票参考编号。仅印度的发票必需填写此字段。 | 未使用 | 未使用 |
收单方地址
When submitting an invoice, bill to party address details must be complete and formatted correctly, or the API call will fail. If you do not know the Amazon Tax ID for a bill to location, refer to the Vendor Central help pages.
For a complete list of Amazon bill to party addresses and JSON code examples, refer to SP-API bill to party addresses. You can also find this list, including Amazon's tax IDs, on the EDI Resources help page in your Vendor Central account.
贷记单
You can use the Vendor Invoices API to send credit notes to Amazon. A credit note lists the products, quantities, and agreed prices for products or services that you provided to Amazon, but Amazon returned or did not receive. A credit note can be issued in the case of damaged goods or errors in price when allowances or rebates are agreed on beforehand between Amazon and the vendor.
亚马逊支持的贷记单
应付账款 (AP) 贷记单 | 应收账款 (AR) 贷记单 |
---|---|
PPV 贷记
已结账但未收到的商品的退款,或重复付款的退款。 |
退货
对于因商品损坏、商品错误配送和积压库存等原因退还给供应商的商品,可获得退款。 |
PPV 贷记
以较高/较低成本结算的商品贷记。 |
COOP(例如,价格保障、损害补贴)
供应商为销售其商品或签订价格保护协议而向亚马逊支付的 COOP 贷记。 |
注意
并非所有地区都支持信用票据。
submitInvoices
类
submitInvoices
类包含多个商品的无税发票
{
"invoices": [
{
"invoiceType": "Invoice",
"id": "I5599913",
"date": "2019-07-24T21:17:59.821Z",
"remitToParty": {
"partyId": "VENDORID",
"address": {
"name": "VENDORNAME",
"addressLine1": "PO BOX 1234",
"city": "SAN RAFAEL",
"stateOrRegion": "CA",
"postalOrZipCode": "60693",
"countryCode": "US"
}
},
"shipToParty": {
"partyId": "AMAZON",
"address": {
"name": "AMAZON.COM",
"addressLine1": "500 MCCARTHY DR",
"addressLine2": "FAIRVIEW BUSINESS PARK",
"city": "LEWISBERRY",
"stateOrRegion": "PA",
"postalOrZipCode": "17339",
"countryCode": "US"
}
},
"billToParty": {
"partyId": "AMAZON",
"address": {
"name": "AMAZON.COM",
"addressLine1": "500 MCCARTHY DR",
"addressLine2": "FAIRVIEW BUSINESS PARK",
"addressLine3": "string",
"city": "LEWISBERRY",
"stateOrRegion": "PA",
"postalOrZipCode": "17339",
"countryCode": "US"
}
},
"paymentTerms": {
"type": "Basic",
"discountPercent": "2.00",
"discountDueDays": 30,
"netDueDays": 31
},
"invoiceTotal": {
"currencyCode": "USD",
"amount": "1295"
},
"items": [
{
"itemSequenceNumber": 1,
"amazonProductIdentifier": "ABC123434",
"vendorProductIdentifier": "040YP0U",
"invoicedQuantity": {
"amount": 2,
"unitOfMeasure": "Cases",
"unitSize": "10"
},
"netCost": {
"currencyCode": "USD",
"amount": "140"
},
"purchaseOrderNumber": "S8672793"
},
{
"itemSequenceNumber": 2,
"amazonProductIdentifier": "ABC123435",
"vendorProductIdentifier": "0264CBS",
"invoicedQuantity": {
"amount": 5,
"unitOfMeasure": "Cases",
"unitSize": "10"
},
"netCost": {
"currencyCode": "USD",
"amount": "125"
},
"purchaseOrderNumber": "S8672793"
},
{
"itemSequenceNumber": 3,
"amazonProductIdentifier": "ABC123436",
"vendorProductIdentifier": "040YP0K",
"invoicedQuantity": {
"amount": 3,
"unitOfMeasure": "Cases",
"unitSize": "5"
},
"netCost": {
"currencyCode": "USD",
"amount": "130"
},
"purchaseOrderNumber": "S8672793"
}
]
}
]
}
为某个商品开具单一税款的发票
{
"invoices": [
{
"invoiceType": "Invoice",
"id": "5002841638",
"date": "2019-07-24T21:17:59.821Z",
"remitToParty": {
"partyId": "VENDORID",
"address": {
"name": "VENDORNAME",
"addressLine1": "PO BOX 1234",
"city": "TORONTO",
"stateOrRegion": "ON",
"postalOrZipCode": "M5W 5M5",
"countryCode": "CA"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "VENDORTAXID"
}
]
},
"shipToParty": {
"partyId": "AMAZONCA",
"address": {
"name": "AMAZON CANADA",
"addressLine1": "500 MCCARTHY DR",
"addressLine2": "FAIRVIEW BUSINESS PARK",
"city": "MISSISSAUGA",
"stateOrRegion": "ON",
"postalOrZipCode": "M5W 5M5",
"countryCode": "CA"
}
},
"billToParty": {
"partyId": "AMAZONCA",
"address": {
"name": "AMAZON CANADA",
"addressLine1": "500 MCCARTHY DR",
"addressLine2": "FAIRVIEW BUSINESS PARK",
"addressLine3": "string",
"city": "MISSISSAUGA",
"stateOrRegion": "ON",
"postalOrZipCode": "M5W 5M5",
"countryCode": "CA"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "AMAZONTAXID"
}
]
},
"paymentTerms": {
"type": "Basic",
"netDueDays": 31
},
"invoiceTotal": {
"currencyCode": "CAD",
"amount": "1950"
},
"taxDetails": [
{
"taxType": "GS",
"taxRate": "5",
"taxAmount": {
"currencyCode": "CAD",
"amount": "97.5"
},
"taxableAmount": {
"currencyCode": "CAD",
"amount": "1950"
}
}
],
"items": [
{
"itemSequenceNumber": 1,
"amazonProductIdentifier": "ABC123434",
"vendorProductIdentifier": "1012380100000",
"invoicedQuantity": {
"amount": 4,
"unitOfMeasure": "Eaches"
},
"netCost": {
"currencyCode": "CAD",
"amount": "20.00"
},
"purchaseOrderNumber": "Q6515853",
"taxDetails": [
{
"taxType": "GS",
"taxRate": "5",
"taxAmount": {
"currencyCode": "CAD",
"amount": "1.00"
}
}
]
},
{
"itemSequenceNumber": 2,
"amazonProductIdentifier": "ABC123435",
"vendorProductIdentifier": "1000570100000",
"invoicedQuantity": {
"amount": 30,
"unitOfMeasure": "Eaches"
},
"netCost": {
"currencyCode": "CAD",
"amount": "50.00"
},
"purchaseOrderNumber": "Q6515853",
"taxDetails": [
{
"taxType": "GS",
"taxRate": "5",
"taxAmount": {
"currencyCode": "CAD",
"amount": "2.50"
}
}
]
},
{
"itemSequenceNumber": 3,
"amazonProductIdentifier": "ABC123436",
"vendorProductIdentifier": "0543900100000",
"invoicedQuantity": {
"amount": 3,
"unitOfMeasure": "Eaches"
},
"netCost": {
"currencyCode": "CAD",
"amount": "90"
},
"purchaseOrderNumber": "Q6515853",
"taxDetails": [
{
"taxType": "GS",
"taxRate": "5",
"taxAmount": {
"currencyCode": "CAD",
"amount": "4.50"
}
}
]
},
{
"itemSequenceNumber": 4,
"amazonProductIdentifier": "ABC123437",
"vendorProductIdentifier": "1000570200000",
"invoicedQuantity": {
"amount": 5,
"unitOfMeasure": "Eaches"
},
"netCost": {
"currencyCode": "CAD",
"amount": "20.00"
},
"purchaseOrderNumber": "Q6515853",
"taxDetails": [
{
"taxType": "GS",
"taxRate": "5",
"taxAmount": {
"currencyCode": "CAD",
"amount": "1.00"
}
}
]
}
]
}
]
}
为一个商品开具多重税款的发票
{
"invoices": [
{
"invoiceType": "Invoice",
"id": "8900000001234",
"date": "2019-07-24T21:17:59.821Z",
"remitToParty": {
"partyId": "XYZ123",
"address": {
"name": "XYZ INDIA PRIVATE LIMITED",
"addressLine1": "4TH FLOOR",
"city": "GURUGRAM",
"stateOrRegion": "HR",
"postalOrZipCode": "122002",
"countryCode": "IN"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "VENDORTAXID"
}
]
},
"shipToParty": {
"partyId": "AMAZONIN",
"address": {
"name": "AMAZON INDIA",
"addressLine1": "Chowranghee Mansion JN Road",
"city": "Kolkata",
"stateOrRegion": "WB",
"countryCode": "IN"
}
},
"shipFromParty": {
"partyId": "XYZ123",
"address": {
"name": "XYZ RETAIL PVT LTD",
"addressLine1": "Chowranghee Mansion JN Road",
"city": "Kolkata",
"stateOrRegion": "WB",
"postalOrZipCode": "700016",
"countryCode": "IN"
}
},
"billToParty": {
"partyId": "AMAZONIN",
"address": {
"name": "AMAZON INDIA",
"addressLine1": "Arrjaw Industrial & Warehouse Park",
"addressLine2": "Near Coal India Complex",
"city": "Hooghly",
"stateOrRegion": "WB",
"postalOrZipCode": "712310",
"countryCode": "IN"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "AMAZONTAXID"
}
]
},
"paymentTerms": {
"type": "Basic",
"netDueDays": 30
},
"invoiceTotal": {
"currencyCode": "INR",
"amount": "258262.39"
},
"taxDetails": [
{
"taxType": "SGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "19697.98"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "218866.43"
}
},
{
"taxType": "CGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "19697.98"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "218866.43"
}
}
],
"items": [
{
"itemSequenceNumber": 1,
"amazonProductIdentifier": "ABC123434",
"vendorProductIdentifier": "809000-0000",
"invoicedQuantity": {
"amount": 2,
"unitOfMeasure": "Eaches"
},
"netCost": {
"currencyCode": "INR",
"amount": "21060.34"
},
"purchaseOrderNumber": "3DY3TK6T",
"hsnCode": "76.06.92.90",
"taxDetails": [
{
"taxType": "SGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "1895.43"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "21060.34"
}
},
{
"taxType": "CGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "1895.43"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "21060.34"
}
}
]
},
{
"itemSequenceNumber": 2,
"amazonProductIdentifier": "ABC123435",
"vendorProductIdentifier": "795000-0001",
"invoicedQuantity": {
"amount": 3,
"unitOfMeasure": "Eaches"
},
"netCost": {
"currencyCode": "INR",
"amount": "58915.25"
},
"purchaseOrderNumber": "3DY3TK6T",
"hsnCode": "76.06.92.91",
"taxDetails": [
{
"taxType": "SGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "5302.37"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "58915.25"
}
},
{
"taxType": "CGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "5302.37"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "58915.25"
}
}
]
}
]
}
]
}
带有标题级别和行级别含税的补贴/费用明细的发票
{
"invoices": [
{
"invoiceType": "Invoice",
"id": "0136981234",
"date": "2019-07-24T21:17:59.821Z",
"remitToParty": {
"partyId": "XYZ12345",
"address": {
"name": "XYZ INDIA PRIVATE LIMITED",
"addressLine1": "4TH FLOOR",
"city": "GURUGRAM",
"stateOrRegion": "HR",
"postalOrZipCode": "122002",
"countryCode": "IN"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "VENDORVATID"
}
]
},
"shipToParty": {
"partyId": "AMAZONIN",
"address": {
"name": "AMAZON INDIA",
"addressLine1": "Chowranghee Mansion JN Road",
"city": "Kolkata",
"stateOrRegion": "WB",
"countryCode": "IN"
}
},
"shipFromParty": {
"partyId": "XYZ12345",
"address": {
"name": "XYZ RETAIL PVT LTD",
"addressLine1": "Chowranghee Mansion JN Road",
"city": "Kolkata",
"stateOrRegion": "WB",
"postalOrZipCode": "700016",
"countryCode": "IN"
}
},
"billToParty": {
"partyId": "AMAZONIN",
"address": {
"name": "AMAZON INDIA",
"addressLine1": "Arrjaw Industrial & Warehouse Park",
"addressLine2": "Near Coal India Complex",
"city": "Hooghly",
"stateOrRegion": "WB",
"postalOrZipCode": "712310",
"countryCode": "IN"
},
"taxRegistrationDetails": [
{
"taxRegistrationType": "VAT",
"taxRegistrationNumber": "AMAZONVATID"
}
]
},
"paymentTerms": {
"type": "Basic",
"discountPercent": "5",
"discountDueDays": 15,
"netDueDays": 30
},
"invoiceTotal": {
"currencyCode": "INR",
"amount": "259678.39"
},
"taxDetails": [
{
"taxType": "SGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "19697.98"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "218866.43"
}
},
{
"taxType": "CGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "19697.98"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "218866.43"
}
}
],
"chargeDetails": [
{
"type": "Freight",
"description": "Freight Charges",
"chargeAmount": {
"currencyCode": "INR",
"amount": "1200.00"
},
"taxDetails": [
{
"taxType": "CGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "108.00"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
},
{
"taxType": "SGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "108.00"
},
"taxableAmount": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
],
"items": [
{
"itemSequenceNumber": 1,
"amazonProductIdentifier": "ABC123434",
"vendorProductIdentifier": "809281-5100",
"invoicedQuantity": {
"amount": 2,
"unitOfMeasure": "Eaches"
},
"netCost": {
"currencyCode": "INR",
"amount": "21060.34"
},
"purchaseOrderNumber": "3DY3TK6T",
"hsnCode": "76.06.92.93",
"taxDetails": [
{
"taxType": "SGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "1895.43"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "21060.34"
}
},
{
"taxType": "CGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "1895.43"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "21060.34"
}
}
],
"chargeDetails": [
{
"type": "Freight",
"description": "Freight Charges",
"chargeAmount": {
"currencyCode": "INR",
"amount": "600.00"
}
}
]
},
{
"itemSequenceNumber": 2,
"amazonProductIdentifier": "ABC123435",
"vendorProductIdentifier": "795000-0001",
"invoicedQuantity": {
"amount": 3,
"unitOfMeasure": "Eaches"
},
"netCost": {
"currencyCode": "INR",
"amount": "58915.25"
},
"purchaseOrderNumber": "3DY3TK6T",
"taxDetails": [
{
"taxType": "SGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "5302.37"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "58915.25"
}
},
{
"taxType": "CGST",
"taxRate": "9",
"taxAmount": {
"currencyCode": "INR",
"amount": "5302.37"
},
"taxableAmount": {
"currencyCode": "INR",
"amount": "58915.25"
}
}
],
"chargeDetails": [
{
"type": "Freight",
"description": "Freight Charges",
"chargeAmount": {
"currencyCode": "INR",
"amount": "600.00"
}
}
]
}
]
}
]
}
含税的欧盟贷记单
{
"invoices": [
{
"invoiceType": "CreditNote",
"id": "BasicCredit",
"date": "2019-07-24T21:17:59.821Z",
"remitToParty": {
"partyId": "AMAZON",
"address": {
"name": "AMAZON EU SARL, UK BRANCH",
"addressLine1": "1 PRINCIPAL PLACE WORSHIP STREET",
"city": "LONDON",
"postalOrZipCode": "EC2A 2FA",
"countryCode": "GB"
}
},
"billToParty": {
"partyId": "VendorCode",
"address": {
"name": "Vendor Name",
"addressLine1": "Vendor Address",
"city": "Vendor City",
"stateOrRegion": "Vendor State",
"postalOrZipCode": "Vendor ZIP Code",
"countryCode": "Vendor Country"
}
},
"invoiceTotal": {
"currencyCode": "GBP",
"amount": "100"
},
"taxDetails": [
{
"taxType": "VAT",
"taxRate": "10",
"taxAmount": {
"currencyCode": "GBP",
"amount": "10.00"
},
"taxableAmount": {
"currencyCode": "GBP",
"amount": "100.00"
}
}
],
"items": [
{
"itemSequenceNumber": 1,
"amazonProductIdentifier": "ABC123434",
"vendorProductIdentifier": "TESTSKU",
"invoicedQuantity": {
"amount": 1,
"unitOfMeasure": "Cases",
"unitSize": "10"
},
"netCost": {
"currencyCode": "GBP",
"amount": "100"
},
"creditNoteDetails": {
"referenceInvoiceNumber": "test-basic-ref",
"debitNoteNumber": "debit-ref",
"returnsReferenceNumber": "return-ref",
"goodsReturnDate": "2019-07-24T21:17:59.821Z",
"rmaId": "rma-ref",
"consignorsReferenceNumber": "VRET-ref"
}
}
]
}
]
}
什么是供应商交易状态 API?
You can use the Vendor Transaction Status API to check the transaction status of your POST transactions.
包括以下操作:
.操作 | HTTP 方法 | Path | 描述 | |
---|---|---|---|---|
getTransaction | GET | /vendor/transactions/v1/transactionStatus/{transactionId} | 获取交易后请求的状态。 | 根据您指定的 purchaseOrderNumber 值返回采购订单 (PO)。从最初的 POST 调用发出之日起,最多可以检查四个月内交易状态的数据。 |
获取交易状态
You can use the Vendor Transaction Status API to check the status of a POST transaction. When a transaction such as an Order Acknowledgement or Shipment Confirmation is posted to Amazon using an API, the response includes a transaction identifier that uniquely identifies the transaction. Amazon will process the transaction asynchronously and the final response will be available via the getTransaction
operation. Refer to the corresponding integration workflow diagrams in the individual API sections (for example, Vendor Orders and Vendor Shipments) to understand when to call this API to get the transaction status.
亚马逊通过此 API 为 POST API 交易提供最终处理状态,例如订单确认和货件确认。我们强烈建议供应商使用此 API 检查状态,以确保其交易能够成功处理。如果发生错误,响应将包含错误信息。然后,您可以更正交易并重新提交。
交易状态 | 定义 |
---|---|
处理中 | 亚马逊已收到该 API 交易并且正在处理。处理尚未完成。检查每个 API 操作的服务级别协议,了解完成处理的预计时间。 |
成功 | This status is supported only for Submit Shipment Confirmations and Submit Shipment in NA and EU only. Success is not supported for the submitAcknowledgement and submitInvoices operations. |
失败 | API 交易在处理过程中失败。错误详情将在交易状态响应正文中提供。 |
注意
以下 API 操作支持交易状态:
交易状态仅支持 Processing
和 Failure
状态值。如果交易状态为 Processing
,并且未更新为 Failure
15 分钟后,这表明我们的系统已成功处理该交易。
A transaction is generally considered to be successfully delivered on our end when the status is Processing
. If for any reason, Vendor Central status is not updated within 30 minutes of sending the message, open a support case using Vendor Central by providing the transaction ID returned in the POST call. Ensure data submitted is in the correct format before opening the case.
You can't use this API for Invoice
messages as they are not supported and status will be always Processing
. For any payment related queries, first check in Vendor Central, and then create a Contact Us case in Vendor Central and select the relevant queue.
交易状态用例
交易状态为处理中
{
"payload": {
"transactionStatus": {
"transactionId": "20190905193800-0c6b76cb-9662-4f3a-be03-1686c1e21477",
"status": "Processing"
}
}
}
交易已成功处理
交易发布后 15 分钟内一直处于“处理中”状态。
{
"payload": {
"transactionStatus": {
"transactionId": "20190905193800-0c6b76cb-9662-4f3a-be03-1686c1e21477",
"status": "Processing"
}
}
}
亚马逊交易失败
{
"payload": {
"transactionStatus": {
"transactionId": "20190908091302-6ca0ac50-d06e-45f5-a1e2-eb448eadac50",
"status": "Failure",
"errors": [
{
"code": "INVALID_ORDER_ID",
"message": "Invalid order ID."
}
]
}
}
}
Updated 23 days ago