Skip to content

shopify_api 14.10.0 with admin API version 2025-07 missing Shop, Asset, Theme classesΒ #1388

@pat-sullivan

Description

@pat-sullivan

Issue summary

Ruby 3.3.8
OS: Linux / Mac
shopify_api: 14.10.0
shopify_app: 22.5.1 (also tried 22.5.2)

Upgrading to 14.10.0 along with updating calls to Shopify API version 2025-07 causes multiple errors like the following:

NameError: uninitialized constant ShopifyAPI::Theme
NameError: uninitialized constant ShopifyAPI::Asset
NameError: uninitialized constant ShopifyAPI::Shop

I started to patch these by using the GraphQL client instead, but this seems like a hacky and time consuming workaround for Classes that should still exist. Is this a matter of waiting on a release that supports the 2025-07 API version? A deprecation? Or an actual bug?

Expected behavior

A successful API response

Actual behavior

NameError: uninitialized constant ShopifyAPI::SomeClass

Steps to reproduce the problem

  1. Update gem version to 14.10.0 to access support for newer shopify api versions + bundle install
  2. Update ENV var for shopify api version (or ensure the api_version field in ShopifyAPI::Context.setup is updated to 2025-07
  3. Restart rails server to see NameError in AppController#index uninitialized constant ShopifyAPI::Shop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions