Can't access fulfillment order ID in a foreach over fulfillment orders

The fulfillmentOrdersForeachitem.id isn’t available in the list. I also tried manually typing it in but that doesn’t seem to work.

This is because the types don’t match, but probably they should match.

Looks like if you return an ID type it should work:

type Output {
  someId: ID!
}

That’s why he’s the goat. The goooooooat.

Success:

Also, for future posterity, I think the issue may have also been related to the fact that I had includes instead of equals as the condition.

Totally agree!! I remember asking things back in the Partners Slack Community and @paul_n was always helpful there! :rocket:

Thanks, I do have an advantage in that I can ask a team of engineers about something. :slight_smile: