Development discussions around Shopify APIs
Hello i'm trying to make an order with financial_status: paid and unfulfilled ( https://prnt.sc/1yew012 ) as fulfilled with api (v 2021-10). I want to fulfill all the line_items.
What i have done:
- Trying with postman
- Method: POST
- Headers:
-- Content-Type:application/json
- Body:
- Response:
As the source said, i could have for response a json object like https://prnt.sc/1yewkfj. Is something wrong with the request ?
Solved! Go to the solution
This is an accepted solution.
Hey @GGkikas
Thanks for getting in touch! So if I have a Paid Order with an unfulfilled status and try something like this with a call to https://mycoolstore.myshopify.com/admin/api/2021-10/orders/order_id/fulfillments.json - I'm able to successfully fulfill my line item myself. Take a look below :
{
"fulfillment":{
"location_id": 123456789,
"tracking_number":"8782828",
"line_items":[
{
"id":1111111111111111,
"quantity":1
}
]
}
Please feel free to give that a try. I'd say it would be a good idea to clear those cookies too in your Postman client, I've encountered issues in Postman in the past if I don't delete them (here's Postman's docs on how to delete them.) Hope that helps!
I also try ( https://prnt.sc/1yf6e4e ) on that way and i got response with status code 404 - ( https://prnt.sc/1yf6mlo )
This is an accepted solution.
Hey @GGkikas
Thanks for getting in touch! So if I have a Paid Order with an unfulfilled status and try something like this with a call to https://mycoolstore.myshopify.com/admin/api/2021-10/orders/order_id/fulfillments.json - I'm able to successfully fulfill my line item myself. Take a look below :
{
"fulfillment":{
"location_id": 123456789,
"tracking_number":"8782828",
"line_items":[
{
"id":1111111111111111,
"quantity":1
}
]
}
Please feel free to give that a try. I'd say it would be a good idea to clear those cookies too in your Postman client, I've encountered issues in Postman in the past if I don't delete them (here's Postman's docs on how to delete them.) Hope that helps!
Thank you for your response,
I tried it but the response is not found. Why is this happening ? Do you have any idea ?
It's ok, the location id was wrong ... thank you
User | RANK |
---|---|
11 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022