[BUG] Subscription with local pickup returns GQL API Internal server error

Topic summary

Bug: querying the GraphQL subscriptionContract deliveryMethod for subscriptions using Local Pickup/Delivery caused an INTERNAL_SERVER_ERROR on API version 2022-07; the same query worked when deliveryMethod was omitted and on non-local subscriptions.

Context: This coincided with the release of Local Pickup options for subscriptions. In older API versions (<2022-10), Local Delivery/Pickup deliveryMethod is expected to return null.

Fix: A production fix was deployed. On 2022-07, deliveryMethod now surfaces as null instead of throwing an exception. The original reporter confirmed the issue is resolved. Upgrading to 2022-10 remains the recommended path.

New report: On 2022-10, querying SubscriptionDeliveryMethodPickup pickupOption.location returns INTERNAL_SERVER_ERROR for one shop. The team could not reproduce on test stores and requested the subscription contract ID and shop details privately, suggesting a data-specific issue.

Status: Original bug resolved with defined behavior (null on <2022-10). The new pickupOption.location error on 2022-10 is under investigation; no resolution yet.

Summarized with AI on February 4. AI used: gpt-5.

Hi @Brian_S_1 !

You are correct that this is related to the new release and we have a fix that has just been released a few moments ago. Could you confirm it is working for you now in 2022-07?

The expected behavior when retrieving a Local Delivery or Pickup deliveryMethod on an older API Version than 2022-10 would be that it is returned as null.

Best,

Josh