Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How do I get shipping lines (shipping method/carrier) with a fulfillment order?

How do I get shipping lines (shipping method/carrier) with a fulfillment order?

Philipp4
Visitor
3 0 0

Hi,

I'm trying to switch to fulfillment orders/requests for my private app and it works fine so far. 

The only problem I have is how to get the shipping lines (or shipping carrier) that was selected by the customer? 

From my understanding of the documentation (https://shopify.dev/api/admin/rest/reference/shipping-and-fulfillment/fulfillmentorder#show-2021-07)... it should be in the "merchant_requests" array. But all I get is this:

 

 

"merchant_requests": [
 {
  "message": null,
  "request_options": {
   "notify_customer": false
  },
  "sent_at": "2021-08-02T14:10:59+02:00",
  "kind": "legacy_fulfill_request"
 }
]

 

 

(the request was sent with the Shopify Admin UI)

Based on this info: https://shopify.dev/changelog/delivery-method-property-in-the-rest-fullfillmentorder-resource There should also be a delivery_method value in the Fulfillment Order. 

But for my Fulfillment-Orders its always null:

"delivery_method": null

 

Am I looking at the wrong place? 

Thanks!

Replies 0 (0)