I have 404 error when fullfill when using API

below is my json


{
“fulfillment”: {
“message”: “The package was shipped this morning.”,
“notify_customer”: false,
“tracking_info”: {
“number”: 9196,
“url”: “https://www.my-shipping-company.com”,
“company”: “my-shipping-company”
},
“line_items_by_fulfillment_order”: [
{
“fulfillment_order_id”: 9196,
“fulfillment_order_line_items”: [
{
“id”: 11778265841849,
“quantity”: 1
}
]
}
]
}
}


can any one help and let us know “fulfillment_order_id” and “id” in fulfillment_order_line_items come from orders?

hello there

Based on the JSON provided, the “fulfillment_order_id” and “id” values in the “fulfillment_order_line_items” array do not come directly from the order. They are instead generated by Shopify when creating a fulfillment for an order.

Here is a brief explanation of each value:

  • “fulfillment_order_id”: This value is generated by Shopify when creating a fulfillment for an order. It represents a unique identifier for the fulfillment order, which is used to track and manage the fulfillment process.
  • “id”: This value represents the unique identifier for the line item in the fulfillment order. It is also generated by Shopify when creating a fulfillment for an order.

When creating a fulfillment for an order, you will need to specify the “order_id” value, which comes from the original order. You will also need to specify the “line_items” array, which contains the line items that are being fulfilled. Each line item in the “line_items” array will have its own unique “id” value.