Hello,
i am currently developing an logistic App that should manage our Shop Orders and Fulfillment over the admin API.
I receive 404 when I create a Fulfillment for an exisiting Fulfillment Order.
Here my current approche:
Retrieve Fullfillment Orders for Order
GET Request: https://devilinme.de/admin/api/2023-01/orders/5346993570110/fulfillment_orders.json
Response:
“fulfillment_orders”: [
{
“id”: 6288032923966,
“shop_id”: 71060685118,
“order_id”: 5346993570110,
“assigned_location_id”: 76931334462,
“request_status”: “unsubmitted”,
“status”: “open”,
…
Create Fulfillment for open Fulfillment Order
POST Request: https://devilinme.de/admin/api/2023-01/fulfillments.json
Request JSON:
{
“fulfillment”: {
“message”: “The package was shipped this morning.”,
“notify_customer”: false,
“line_items_by_fulfillment_order”: [
{
“fulfillment_order_id”: “6288032923966”
}
]
}
}
Response:
{
“errors”: “Not Found”
}
Regarding to the API Guide and docs and based on https://community.shopify.com/c/shopify-apis-and-sdks/fulfillment-returns-404-not-found/m-p/1758277 it should work this way.
I am using API Version 2023-01.
What I am doing wrong? I would appreciate any help!
Regards
Sascha