A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
We're facing issue in fulfilling the orders.
We fetched the fulfillment Info from this API for the order that was open.
https://aquis-3.myshopify.com/admin/api/2023-01/orders/5353350889544/fulfillment_orders.json
And then we tried to create a fulfillment by passing the response of the above API to create fulfillment. API is given below:
Endpoint URL: https://aquis-3.myshopify.com/admin/api/2023-01/fulfillments.json
I am also attaching a Payload for your reference. Please look into this and advise.
{
"fulfillment": {
"notify_customer": true,
"tracking_info": {
"company": "",
"number": ""
},
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": 6361525846088,
"fulfillment_order_line_items": [
{
"id": 13702148915272,
"shop_id": 8738474,
"fulfillment_order_id": 6361525846088,
"quantity": 3,
"line_item_id": 13509705072712,
"inventory_item_id": 41665828192328,
"fulfillable_quantity": 3,
"variant_id": 39584238501960
},
{
"id": 13702148948040,
"shop_id": 8738474,
"fulfillment_order_id": 6361525846088,
"quantity": 4,
"line_item_id": 13509705105480,
"inventory_item_id": 41640343633992,
"fulfillable_quantity": 4,
"variant_id": 39556878434376
},
{
"id": 13702148980808,
"shop_id": 8738474,
"fulfillment_order_id": 6361525846088,
"quantity": 3,
"line_item_id": 13509705138248,
"inventory_item_id": 41665828323400,
"fulfillable_quantity": 3,
"variant_id": 39584238633032
},
{
"id": 13702149013576,
"shop_id": 8738474,
"fulfillment_order_id": 6361525846088,
"quantity": 3,
"line_item_id": 13509705171016,
"inventory_item_id": 41665828225096,
"fulfillable_quantity": 3,
"variant_id": 39584238534728
},
{
"id": 13702149046344,
"shop_id": 8738474,
"fulfillment_order_id": 6361525846088,
"quantity": 3,
"line_item_id": 13509705203784,
"inventory_item_id": 41665828257864,
"fulfillable_quantity": 3,
"variant_id": 39584238567496
}
]
}
]
}
}
We're facing this Error: