fullfillment error not found

rohit22
Visitor
1 0 0

 I have problem while creating a fullfillment.
It throw error 
error: not found

 const fulfillmentData2 = {
         fulfillment: {
            line_items_by_fulfillment_order: [
               {
                  fulfillment_order_id: fulfillment_order_id,
                  fulfillment_order_line_items: []
               }
            ],
            tracking_info: {
               number: req.body.trackingId, // Replace with the actual tracking number
               url: "",
               company: req.body.company
            },
            message: ""
         }
      }
const submitFullfillment = await axios.post(`${shopifyStoreUrl}/admin/api/2023-10/fulfillments.json`, fulfillmentData2, {
         headers
      })
 
Reply 1 (1)

SBD_
Shopify Staff
1826 268 395

Hey @rohit22 

 

Are you able to provide the request ID from the response headers?

Scott | Developer Advocate @ Shopify