404 Error in Admin Rest API endpoint"/admin/api/2023-01/fulfillments.json"

Hi,

I’m trying to create Fulfillment using Admin API “/admin/api/2023-01/fulfillments.json”
But in response, I’m getting 404 error

Tried with an access token with these all scopes
write_orders,
write_inventory,
write_locations,
write_fulfillments,
write_assigned_fulfillment_orders,
write_merchant_managed_fulfillment_orders,
write_third_party_fulfillment_orders,
write_custom_fulfillment_services


X-Request-ID : bc5dd787-3c3f-4aea-aad8-df3c0ea7c3d1

Please guide me if I’m missing any scope
or I’m passing the wrong data in the request body?

What are you using for the fulfillement_order_id? the order_id? if so that is the problem. You should be using the fulfillment_order_id and you get this by using the /admin/api/2023-01/orders/[orderid]/fulfillment_orders.json endpoint.

Cheers,

Gary

Hi Garyrgilbert

Early, I was using the order id,
So I was facing this issue.
Once I tried with fulfillement_order_id, then fulfillment was created and it had fixed.

Thanks for your reply.