Dears,
I am trying to update order fulfillment status to fulfilled. I am using POSTMAN and referred to Shopify fulfillment API documentation. I was able to test some APIs successfully (GetOrders, Get Fulfillment status and others). So, the API setup looks fine.
However when I use the example in the guide to create new fulfillment it retrieves some HTML and status not updated.
https://help.shopify.com/en/api/reference/shipping-and-fulfillment/fulfillment#create-2019-07
Below is the code I am using. I tried many trials with different combinations but fails all. Like with/without status. I have also double checked the order ID in the URL and line items Id as well and tried different orders. But all the same
https://mystore.myshopify.com/admin/api/2019-07/orders/1222314065993/fulfillments.json
{ "fulfillment": { "tracking_number": null, "location_id": 16344285257, "status": "success", "notify_customer": false, "line_items": [ { "id": "2479313813577" } ] } }
Appreciate your help and advice
Solved! Go to the solution
Success.
Hi @Ahmed_Hassan1 ,
This error usually occurs when you are sending cookies with your POST/PUT request. Can you double check to ensure that POSTMAN isn't including cookies?
Subject | Author | Posted |
---|---|---|
59m ago | ||
an hour ago | ||
5 hours ago | ||
5 hours ago | ||
5 hours ago |
User | Count |
---|---|
257 | |
165 | |
134 | |
67 | |
39 |