Liquid, JavaScript, themes, sales channels
I have a private app that is made to manage certain items that we want to just generate a code and email the user.
I am running into a problem marking the item as fulfilled.
I am using shopify-api-node
et toSend = {
notify_customer: false,
tracking_info: null,
line_items_by_fulfillment_order: [
{
fulfillment_order_id: order.id,
fulfillment_order_line_items: [{id: order.line_items[0].id, quantity:order.line_items[0].quantiy }]
}
],
message: "Fulfilled by App",
}
shopify && shopify.fulfillment.createV2(toSend).then((e, res)=>{
but I end up with a 404.
This leads me to believe I am not using the right id for fulfillment_order_id but I have no idea how to find the right ID. This is from the payment/create webhook or from querying of a specific order so I have access to everything on the order.
Any clue to what ID I should be using here?
Problem was not specifying the version in my package.
Actually that was just a problem, after fixing that I still have the same issue, but I now get a response from the server saying {errors:'Not Found'}
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024