Covers all questions related to inventory management, order fulfillment, and shipping.
Hi
I'm having an issue fulfilling items on orders via the fulfillments.json api.
as far as I can tell, this functionality used to work. I'm not sure when it ceased to do so.
We have items that can be added to an order as a service - a spray on a product. They are not a physical product and have no tracking.
When fulfilling via the api, i'm getting a 404 error every time. I can only think this is a limitation of the type of product. Is there a way to continue fulfilling this via the api. it causes big problems issueing refunds when the despatch hasn't gone through in the first instance.
POST https://xxxxx.myshopify.com/admin/api/2021-01/orders/4181654831203/fulfillments.json HTTP/1.1
X-Shopify-Access-Token: xxxxx
Content-Type: application/json
Host: xxxx.myshopify.com
Content-Length: 170
Expect: 100-continue
{"fulfillment":{"location_id":3408011397,"tracking_number":null,"tracking_company":null,"tracking_url":null,"notify_customer":false,"line_items":[{"id":10668179128419}]}}
this just returns a 404
The order ID
the only thing is this -
any ideas how I can get round this?
Solved! Go to the solution
This is an accepted solution.
fixed it (can't delete the post) - the fulfilment location was wrong afterall
This is an accepted solution.
fixed it (can't delete the post) - the fulfilment location was wrong afterall