Just to clarify — the function doesn’t seem to be running at all on POS, so unfortunately I don’t have any run ID from that channel.
However, here’s a run ID from when the function runs successfully on the online store sales channel, in case that helps trace anything: ca89d9c5-80d6-456e-b7c4-80cdda6e2b27
As for the code, it’s the default scaffolded function in JavaScript. I haven’t made any logic changes — the only modification I made was adding the new retailLocation
object to the input GraphQL query to test its availability in POS (introduced in API version 2025-07
).
I also tried removing retailLocation
from the query entirely just to rule that out, and the issue persists — so it doesn’t seem related to the function’s code.