Querying deprecated APIs not allowing to publish app.

Querying deprecated APIs not allowing to publish app.

fawad123
Shopify Partner
2 0 0

I am unable to submit the shopify app to publish because of deprecated APIs.
I am sure that I removed all the deprecations but still it not allowing to publish.


fawad123_0-1740399489643.png

$query = <<<GRAPHQL
        {
            products(first: 100) {
                edges {
                    node {
                        id
                        title
                        handle
                        descriptionHtml
                        vendor
                        productType
                        tags
                        publishedAt
                        status
                        templateSuffix
                        category {
                            id
                            name
                        }
                        options {
                            id
                            name
                            values
                        }
                        images(first: 100) {
                            edges {
                                node {
                                    id
                                    src
                                    width
                                    height
                                }
                            }
                        }
                        variants(first: 100) {
                            edges {
                                node {
                                    id
                                    title
                                    price
                                    compareAtPrice
                                    barcode
                                    inventoryQuantity
                                    inventoryPolicy
                                    taxable
                                    inventoryItem {
                                        id
                                    }
                                }
                            }
                        }
                        collections(first: 100) {
                            edges {
                                node {
                                    id
                                    title
                                    handle
                                }
                            }
                        }
                    }
                }
            }
        }
        GRAPHQL;
        $url = "https://{$this->shopifyStore}/admin/api/2025-01/graphql.json";


fawad123_1-1740399511318.png

 

Reply 1 (1)

oscprofessional
Shopify Partner
16344 2438 3180

To check whether the deprecation API is fixed or not click on Last day tab as shown in screenshot. 

If you still find deprecation API message there then it is not fixed. Also check your API version which you're using.


oscprofessional_0-1740479442216.png

 

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...