Hi - having trouble firing off a POST to Create a fulfilment:
Firing a GET to:
https://{shop}/admin/api/2024-07/orders/78965/fulfillment_orders.json where the response contains:
“fulfillment_orders”: [
{
“id”: 123456,
“created_at”: “2024-09-26T16:19:19+01:00”,
“updated_at”: “2024-09-26T16:19:19+01:00”,
“shop_id”: 234242,
“order_id”: 78965,
“assigned_location_id”: 4564646,
“request_status”: “unsubmitted”,
“status”: “open”,
“fulfill_at”: “2024-09-26T16:00:00+01:00”,
“supported_actions”: [
“create_fulfillment”,
“hold”
],
I’m taking the “id” of the fulfillment order and firing a POST:
https://{shop}/admin/api/2024-07/fulfillments.json with the following Body:
{
“fulfillment”: {
“line_items_by_fulfillment_order”: [
{
“fulfillment_order_id”: 123456
}
],
“notify_customer”: true
}
}
Expectation is for the order to be fulfilled (based on current documentation).
Instead, I’m receiving:
{
“errors”: “Not Found”
}
any ideas where I might be going wrong? Driving me insane!
Thanks guys ![]()
FYI:
Shopify Access Token - is the same for the POST AND GET
API Scopes - I have ticked every box in the selection
