When trying to create a fulfillment I get an error not found

Solved
lcs02_Admin
Tourist
9 0 0

Hi, I am using POSTMAN  to create a fulfillment

/admin/api/2020-04/orders/#{order_id}/fulfillments.json

 

But the response I got is:

{"errors": "Not Found"}

 

The X-Request-ID: e2f8299f-95d0-49c9-b682-7535ac623de3

0 Likes
SBD_
Shopify Staff
Shopify Staff
1044 141 185

Hey @lcs02_Admin 

 

Thanks for the request ID.

 

POST /admin/api/2020-04/orders/4779257790541/fulfillments.json

Order 4779257790541 doesn't exist.

 

0 Likes
lcs02_Admin
Tourist
9 0 0

It is possible that in my despair I got confused. I have kept trying with other orders and it keeps giving me the same error

Post: admin/api/2020-04/orders/2247156465741/fulfillments.json

and the result was: {"errors": "Not Found"}

X-Request-ID →518cd257-243a-42e8-a36f-0479e1ecd1db

 

Please help!

0 Likes
SBD_
Shopify Staff
Shopify Staff
1044 141 185

This is an accepted solution.

The location ID 151700471850 doesn't exist (or has been removed). You can see available locations here: 

 

/admin/api/2020-04/locations.json
alvaroqll
Tourist
6 0 0

Hello, 

 

I am having the same issue, but it seems all the data is correct. The only parameter I dont have is the tracking number, as it is a non standard shipping. 

{
"variants":[
{
"id":35892131561632,
"product_id":5550518730912,
"title":"Default Title",
"price":"10.00",
"sku":"SKU-1234",
"position":1,
"inventory_policy":"deny",
"compare_at_price":"20.00",
"fulfillment_service":"manual",
"inventory_management":"shopify",
"option1":"Default Title",
"option2":null,
"option3":null,
"created_at":"2020-08-26T13:37:37-04:00",
"updated_at":"2020-08-26T13:40:31-04:00",
"taxable":true,
"barcode":"",
"grams":0,
"image_id":null,
"weight":0.0,
"weight_unit":"kg",
"inventory_item_id":37829376802976,
"inventory_quantity":9,
"old_inventory_quantity":9,
"requires_shipping":true,
"admin_graphql_api_id":"gid:\/\/shopify\/ProductVariant\/35892131561632"
}
]
}

 

{
"inventory_levels":[
{
"inventory_item_id":37829376802976,
"location_id":53433008288,
"available":9,
"updated_at":"2020-08-26T13:40:31-04:00",
"admin_graphql_api_id":"gid:\/\/shopify\/InventoryLevel\/87608066208?inventory_item_id=37829376802976"
}
]
}

 

{"fulfillment":{"location_id":53433008288,"tracking_number":null,"line_items":[{"id":37829376802976}]}}

 

What am I doing wrong?

0 Likes