FROM CACHE - fr_header

Fulfill entire order through simplest Shopify api

TristanGoatt
Shopify Partner
2 0 0

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://<shop>.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
2 RÉPONSES 2
rochelin_
Shopify Partner
63 6 7

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/... 

Développeur de thèmes Shopify
Je personnalise ta boutique
Je crée une boutique Shopify avec un seul produit
TristanGoatt
Shopify Partner
2 0 0

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