wish如何通过API履行订单?

您也可以通过 API 来履行订单。如需了解更多信息,请参阅 V2 和 V3 版订单 API 文档。

同样,使用以下 API 端口履行订单或修改物流跟踪信息时,“tracking_number”是必填参数:

  • /api/v2/order/fulfill-one

  • /api/v2/modify-tracking

使用同一个物流单号履行多个订单

为了帮助商户节省物流成本,满足以下条件的订单可以使用同一个物流单号履行并标记发货:

  • 订单的收货人姓名相同(不区分大小写);

  • 订单的配送地址相同(不区分大小写);

  • 订单释放时间彼此相隔不超过5个自然日。

示例1:订单 A 于第1天释放,订单 B 于第3天释放,且订单 A 和订单 B 的收货人姓名和配送地址完全一样。在此情况下,商户可以使用同一个物流单号履行这两笔订单并将其标记为“已发货”。

示例2:订单 A 于第1天释放,订单 B 于第7天释放,且订单 A 和订单 B 的收货人姓名和配送地址完全一样。商户不可以使用同一个物流单号履行这两笔订单,因为它们生成的时间彼此相隔超过5个自然日。

示例3:订单 A 于第1天释放,订单 B 于第4天释放,而订单 C 则于第7天释放,且订单 A、订单 B 和订单 C 的收货人姓名和配送地址完全一样。由于订单 A 和订单 B 生成的时间彼此相隔不超过5个自然日,因此可以使用同一个物流单号履行并标记为“已发货”。类似的逻辑也适用于订单 B 和订单 C。

但是,订单 A 和订单 C 释放的时间相隔超过5个自然日。

因此,商户可以选择使用同一个物流单号来履行订单 A 和订单 B,但在这种情况下,订单 C 不得与订单 A 和订单 B 一起履行(即,订单 C 不得使用与订单 A 和订单 B 相同的物流单号并标记为“已发货”。

同样地,商户可以选择使用同一个物流单号来履行订单 B 和订单 C,但在这种情况下,订单 A 不得与订单 B 和订单 C 一起履行。

在某些情况下,符合上述条件的订单需要遵守不同的物流时效要求和政策。虽然这些订单可以使用同一个物流单号履行并标记为“已发货”,商户在履行订单时应以其中最严格的要求为准。

示例:订单 A 和订单 B 满足上述三个条件,且订单 A 是 Wish Express 订单,但订单 B 不是。如果商户选择使用同一个物流单号履行这两个订单并将它们标记发货,则在配送这些订单时必须遵守 Wish Express 订单履行要求,以便满足所有相关的订单履行政策。

在一些情况下,如果商户的确同时履行了满足上述条件的订单 A 和订单 B(同一个包裹和物流单号),但仅将订单 A 标记为“已发货”,而未用同一个物流单号将订单 B 标记为“已发货”,则商户可以稍后将订单 A 的物流单号重新用于订单 B,即使该物流单号已在订单 A 中显示确认履行时间戳也可以。

wish商户官网原文详情:

Fulfill orders via API

You may also fulfill orders via API. To learn more, please visit the v2 and v3 Orders API Documentations.

Similarly, the ‘tracking_number’ is a required parameter as you use the following API endpoints to fulfill orders or modify tracking:

  • /api/v2/order/fulfill-one

  • /api/v2/modify-tracking

 

Fulfill certain orders together using the same tracking number

To help merchants save on logistics costs, orders that meet the following criteria may be fulfilled and marked “shipped” together using the same tracking number:

  • The orders’ recipient names are identical (case insensitive);

  • The orders’ shipping addresses are identical (case insensitive);

  • The orders are released within 5 calendar days from one another.

Example 1: Order A is released on Day 1 and order B on Day 3; order A and B share the same recipient name and shipping address. In this scenario, merchants may fulfill and mark these two orders as “shipped” together using the same tracking number.

Example 2: Order A is released on Day 1 and order B is released on Day 7; order A and B share the same recipient name and shipping address. Merchants may not fulfill and mark these orders as “shipped” together using the same tracking number, because the orders were not released within 5 calendar days from each other.

Example 3: Order A is released on Day 1, order B released on Day 4, and order C released on Day 7; order A, B, and C all share the same recipient name and shipping address. Since orders A and B are released within 5 calendar days from each other, merchants may fulfill and mark these orders as “shipped” together using the same tracking number. Similar logic applies to orders B and C.

However, order A and C were NOT released within 5 calendar days from each other. 

Therefore, the merchant may choose to fulfill orders A and B together with the same tracking number, but order C may not be fulfilled together in this case with orders A and B (i.e. order C may not be marked as “shipped” using the same tracking number as that of orders A and B).

Similarly, the merchant may choose to fulfill orders B and C together with the same tracking number, but order A may not be fulfilled together in this case with orders B and C.

In some cases, orders that meet the above criteria are subject to different logistics timeline requirements and policies. Even though they may be fulfilled and marked as “shipped” together with the same tracking number, merchants should follow the strictest requirements that one or some of these orders are subject to when fulfilling them.

Example: Orders A and B meet the above three criteria; order A is a Wish Express order, while order B is not. If a merchant chooses to fulfill and mark orders A and B as “shipped” together with the same tracking number, the merchant should follow the Wish Express fulfillment requirements when shipping these two orders, so that the merchant complies with all relevant fulfillment policies.

In some other situations, if a merchant indeed fulfilled orders A and order B that meet the above criteria together (same package and tracking number), but only marked order A as “shipped”, and missed marking order B as “shipped” with the same tracking number, merchants are able to re-use order A’s tracking number for order B at a later time, even if the tracking number already shows a confirmed fulfillment timestamp for order A.

文章内容来源:wish商户官方网站