Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get local pickup status ? #94

Open
caoshidong opened this issue Dec 6, 2022 · 2 comments
Open

How to get local pickup status ? #94

caoshidong opened this issue Dec 6, 2022 · 2 comments

Comments

@caoshidong
Copy link

I want to get the local pickup status use the SDK, but I can't find the ShopifyOrder class 's method return that info.
Any help would be greatly appreciated.

@ryankazokas
Copy link
Member

I believe you are probably looking for this field on the shopify fulfillment?
shipment_status

  • label_printed: A label for the shipment was purchased and printed.
  • label_purchased: A label for the shipment was purchased, but not printed.
  • attempted_delivery: Delivery of the shipment was attempted, but unable to be completed.
  • ready_for_pickup: The shipment is ready for pickup at a shipping depot.
  • confirmed: The carrier is aware of the shipment, but hasn't received it yet.
  • in_transit: The shipment is being transported between shipping facilities on the way to its destination.
  • out_for_delivery: The shipment is being delivered to its final destination.
  • delivered: The shipment was succesfully delivered.
  • failure: Something went wrong when pulling tracking information for the shipment, such as the tracking number was invalid or the shipment was canceled.

https://shopify.dev/api/admin-rest/2022-10/resources/fulfillment

Currently this field is not supported in the sdk and shopify is in the process of deprecating these old fulfillment API's in their 2022-04 version of their APIs, so it's unlikely that we'll try to add it here. Our goal is to start supporting the new fulfillment orders API prior to their forced deprecation in March. When we do I'll ensure we include this fields equivalent in that API.

@caoshidong
Copy link
Author

That makes sense. Hope the new fulfillment orders API's SDK version will come soon.
Appreciate all of your team's hard work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants