Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

fullfillment error not found

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
1831 273 423

Hey @rohit22 

 

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

Scott | Developer Advocate @ Shopify