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'}
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024