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
121 13 15

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

Cela vous a-t-il aidé ? Si oui, n’hésitez pas à aimer et accepter comme solution. Vous pouvez faire un don en achetant un café ou en utilisant PayPal.me.



Cherchez-vous un développeur Shopify Thème pour votre projet ? N’hésitez pas à me contacter sur Instagram.



Je propose des services d’audit, de personnalisation de thème et de création de boutique Shopify mono-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