Re: location_id must be specified when creating fulfillments.

Solved

location_id must be specified when creating fulfillments.

AngelMoran
Shopify Partner
4 1 0

 

"I need help in properly formulating the following in English. I have the following JSON:

 

jsonCopy code
{ "fulfillment": { "message": "The package was shipping", "notify_customer": false, "tracking_info": { "number": "420276049374811015300205691782", "company": "DHL eCommerce" }, "line_items_by_fulfillment_order": [ { "fulfillment_order_id": 6346429759776, "fulfillment_order_line_items": [ { "id": 14147792535840, "quantity": 1 } ] } ] } }

I'm sending this to {{shopify}}/admin/api/2023-01/orders/5417181872416/fulfillments.json, and I'm receiving the error message "error": "location_id must be specified when creating fulfillments."

What changes do I need to make to resolve this issue?"

Accepted Solutions (2)
AngelMoran
Shopify Partner
4 1 0

This is an accepted solution.

Does that mean that it is no longer used? I was reviewing the documentation and the information is not so clear to me. Can you help me with an example? Please

View solution in original post

RobZone
Shopify Staff
76 10 22

This is an accepted solution.

Replies 4 (4)

RobZone
Shopify Staff
76 10 22

You are calling an API that has been deprecated and removed.  The migration guide is here: https://shopify.dev/docs/apps/fulfillment/migrate

To learn more visit the Shopify Help Center or the Community Blog.

AngelMoran
Shopify Partner
4 1 0

This is an accepted solution.

Does that mean that it is no longer used? I was reviewing the documentation and the information is not so clear to me. Can you help me with an example? Please

RobZone
Shopify Staff
76 10 22

This is an accepted solution.

AngelMoran
Shopify Partner
4 1 0

muchas gracias por su respuesta, si me funciono era eso.