Fulfilment order error not found

Hello,

I am trying to create fulfilment order but I got {“errors”:“Not Found”}

Here my current approche:

Retrieve Fullfillment Orders for Order

GET Request: https://my-shopify-url.com/admin/api/2023-04/orders/4959467339959/fulfillment_orders.json
Response:
{
“fulfillment_orders”: [
{
“id”: 5966030536887,
“shop_id”: 60395061431,
“order_id”: 4959467339959,
“assigned_location_id”: 67356754103,
“request_status”: “unsubmitted”,
“status”: “open”,
“supported_actions”: [
“create_fulfillment”
],
“destination”: {
“id”: 5717925298359, …

Create Fulfillment for open Fulfillment Order
POST Request: https://my-shopify-url.com/admin/api/2023-04/fulfillments.json
Request JSON:
{
“fulfillment”: {
“location_id”: “67356754103”,
“tracking_info”: {
“number”: “LF062158295FR”,
“url”: “https://tracking.asendia.com/tracking/LF062158295FR”,
“company”: “Asendia”
},
“line_items_by_fulfillment_order”: [{
“fulfillment_order_id”: 5966030536887
}]
}
}

Response:
{
“errors”: “Not Found”
}

I am using API version 2023-04.

What am I doing wrong?

Besyt regards

Hi Dev2504,

Based on your description, you’re following the right steps to create a fulfillment order. However, the issue might be with the location_id within your fulfillment request. In the request, you’re sending "location_id": "67356754103", but the location_id should be an integer, not a string. Try changing it to "location_id": 67356754103.

Please try this out and see if it helps!

Hi Liam,

Thanks for the replay.

I tried, but I got the same response :

“errors”: “Not Found”

The steps that I did:

  1. I updated the webhook from API version 2022-07 to 2023-04
    So, that means that I deleted the old webhook and created a new one with the newest version
  2. I also updated permissions, I approved new ones

And after that, I am trying to create a fulfilment order, but without success

I didn’t change the consumer and secret key, as well as the access token.
Should I get new keys and a new access token?