FROM CACHE - zh-cn_header
此社区已转向点对点支持。Shopify 支持团队将不再为此社区提供服务。我们建议您与其他商家和合作伙伴建立联系以获取帮助,并分享您的经验! 如发现有任何违反我们行为准则的行为或您希望删除的内容,欢迎继续举报。

How to realize the return of Tracking Number through the order API?

已解决

How to realize the return of Tracking Number through the order API?

Lasem
新成员
14 0 0

eg.

we have a order A, it has 5 SKUs, we should split it in 2 package, every package has a tracking_number.

Now, we need send the 2 tracking number to your system without manually in our shopify's store.

1 个已接受解答

Tim_Mak
探路者
103 13 21
解决方案

This is the endpoint you should use: https://shopify.dev/api/admin-rest/2021-07/resources/fulfillment#[post]/admin/api/2021-07/fulfillmen...

You will create two separate fulfillments, each assigned to the same order, but having different line items.

在原帖中查看解决方案

4 条回复4

Tim_Mak
探路者
103 13 21
解决方案

This is the endpoint you should use: https://shopify.dev/api/admin-rest/2021-07/resources/fulfillment#[post]/admin/api/2021-07/fulfillmen...

You will create two separate fulfillments, each assigned to the same order, but having different line items.

Lasem
新成员
14 0 0

We find it can work. Thank you so much.

Lasem
新成员
14 0 0

Pardon me. We need to ask again about this lineitem_ Which field is ID in the order? What Id does it represent? please view the pic under the reply.

shopify字段-Line_id什么意思.png

Tim_Mak
探路者
103 13 21

This is line item id. You can get them when you query orders or specific order: https://shopify.dev/api/admin-rest/2021-07/resources/order#[get]/admin/api/2021-07/orders/{order_id}...

It's under "line_items: { "id": xxx,