Fulfill entire order through simplest Shopify api

Hi,

I have been looking everywhere to find clear documentation on how to fulfill an order through the Shopify rest API.

I’m trying to fulfill a simple entire order through the following endpoint :

https://.myshopify.com/admin/api/2021-04/orders/5795259351366/fulfillments.json

with the header:

{
‘X-Shopify-Access-Token’: API_KEY,
‘Content-Type’: ‘application/json’,
}

and the body:

{
“fulfillment”: {
“location_id”: 87577297222
}
}

I’ve tried from several clients Postman, my own servers, … I always get the 404 error not found.

Could anyone help ? I feel that I’ve tried everything.

Thanks a lot,

Tristan

Hello Tristan,

Here’s how to fill an order using Shopify’s API.
read other developers’ responses : https://community.shopify.com/c/fulfillment-and-inventory/how-to-fulfill-orders-using-rest-api/td-p/716259

I 've already went trhough all of the suggestions and still get the same error I’m afraid