“/admin/api/2024-01/fulfillments.json” returns { “errors”: “Not Found” } from this one store.
I’m using the same code for all the stores and it just works great for all other customers except this new one.
Means “fulfillment_order_id” from “/admin/api/2024-01/orders/5962712613159/fulfillment_orders.json” is used correctly.
Result from “/admin/api/2024-01/orders/59xxxxxxx3159/fulfillment_orders.json”
{
“fulfillment_orders”: [
{
“id”: xxxxxxxxxxxxx,
“shop_id”: xxxxxxxxxxx,
“order_id”: 59xxxxxxx3159,
“assigned_location_id”: xxxxxxxxxx,
“request_status”: “unsubmitted”,
“status”: “open”,
“supported_actions”: [
“create_fulfillment”,
“hold”,
“split”
],
“line_items”: [
{
“id”: xxxxxxxxxxxxxx,
“shop_id”: xxxxxxxxxxx,
“fulfillment_order_id”: 68xxxxxxx0967,
“quantity”: 1,
“line_item_id”: xxxxxxxxxxxxxx,
“inventory_item_id”: xxxxxxxxxxxxxx,
“fulfillable_quantity”: 1,
“variant_id”: xxxxxxxxxxxxxx
}
Payload to “/admin/api/2024-01/fulfillments.json”
{
“fulfillment”: {
“message”: “”,
“notify_customer”: true,
“tracking_info”: {
“number”: “1Zxxxxxxxxxxxxxxxx”,
“company”: “UPS”
},
“line_items_by_fulfillment_order”: [
{
“fulfillment_order_id”: 68xxxxxxx0967
}
]
}
}
Result from “/admin/api/2024-01/fulfillments.json”
{
“errors”: “Not Found”
}
Again, it’s been working great for all other customers, but not for one store.
I’m not sure what is causing this error for this store.
Any advice or help will be appreciated.
x-request-id: d657cd38-2efe-4bb2-bf28-9d37bd7d1093-1715189354
access copes are added: write_fulfillments, read_fulfillments, write_merchant_managed_fulfillment_orders, read_merchant_managed_fulfillment_orders, write_orders, read_orders
Thank you.