Hi,
If I create an order via API and for whatever reason it ends up assigned to Shop Location - if I want to fulfill it via API what can I do since it does not have any FulfillmentOrders auto generated?
Thanks!
Hi,
If I create an order via API and for whatever reason it ends up assigned to Shop Location - if I want to fulfill it via API what can I do since it does not have any FulfillmentOrders auto generated?
Thanks!
Hey @ChrisGU
- unless the product is a non-physical item, fulfillment orders should automatically be created (more info here). Here’s quick GraphQL query you can use in the Admin API to check if an order has a Fulfillment Order Attached:
query CheckFulfillmentOrders($orderId: ID!) {
order(id: $orderId) {
id
name
displayFulfillmentStatus
fulfillmentOrders(first: 10) {
edges {
node {
id
status
assignedLocation {
location {
id
name
}
}
}
}
}
}
}
If you’re open to sharing the Order number and the ID of the app you’re using to access the order, I can take a look on our end to verify if there is a fulfillment order attached as well as see if there’s anything up with your app that might be causing it not to be able to view the order. Hope this helps!
Hi @Alan_G, thanks for your support!
I have checked and the order when is assigned to Shop Location it does not have any FulfillmentOrder to fulfill.
In this scenario would be possible to assign it to another FulfillmentService via API? It looks like thats the only way I could get FulfillmentOrders created to then fulfill. Any suggestions?
Thanks!
Hi @ChrisGU, no problem, happy to help! Interesting. Generally, as long as the inventory item is set as a physical item, a fulfillment order would be created. It’s possible that you may not be able to see the fulfillment order if you are querying as a fulfillment service app that isn’t assigned to the order though.
In that case, reassigning the order to another fulfillment service could work, but if a fulfillment has already been assigned to a service, the service would have to cancel the assignment first:
If you’re open to it, I can send you a DM so we can look at the specific order and I can provide some guidance that way? Just let me know and I’ll set that up on my end here - hope this helps!
Hey,
Yeah when the order gets assigned to Shop Location, querying the order for with my third party app shows no FulfillmentOrders. In this case I would like to reassign the order via API if possible/
Sure let me know I can share more details and hopefully find a way to handle this case.
Thanks!