Hi there,
I have a custom app using the orderCreate mutation to import orders to Shopify. Is there a way to populate the Channel/sourceName when using a custom app?
I’ve sent the following where the sourceName was the integration name, and another test where it was the ID.
mutation{
orderCreate(
options: { inventoryBehaviour: DECREMENT_OBEYING_POLICY },
order: {
test: true,
sourceName: "Integration Name",
...
}
)
{
order { id totalPrice }
userErrors { field message }
}
}
When reviewing the documentation for sourceName, it seems like it has to be a Shopify App. Is that correct?
https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/orderCreate
Thanks in advance!