Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

404 NotFound Create Fulfillment

Solved

404 NotFound Create Fulfillment

Sago
Shopify Partner
2 1 0

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 
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
Accepted Solution (1)

Sago
Shopify Partner
2 1 0

This is an accepted solution.

I found the solution ...

 

we used our own domain for the API communication https://devilinme.de/ but for posting data you have to use the shopify address itself https://devilinme.myshopify.com/ 

View solution in original post

Reply 1 (1)

Sago
Shopify Partner
2 1 0

This is an accepted solution.

I found the solution ...

 

we used our own domain for the API communication https://devilinme.de/ but for posting data you have to use the shopify address itself https://devilinme.myshopify.com/