Admin API OR GraphQL - Product - how get access to "Standard PRODUCT TYPE".

Solved
myappsmarket
New Member
2 0 0

Hello,

I have trouble finding in manual how to access (READ) via AdminAPI or GraphQL how values from field.

myappsmarket_0-1636526576103.png

myappsmarket_2-1636526634604.png

 

myappsmarket_1-1636526595281.png

 

 

Accepted Solution (1)

Accepted Solutions
Jayvin
Shopify Partner
270 40 74

This is an accepted solution.

Hi,

Tested using the unstable api version.

{
  products(first: 5) {
    edges {
      node {
        standardProductType {
          fullName
          name
        }
      }
    }
  }
}

 

Ref here

Related post

View solution in original post

Replies 3 (3)
Jayvin
Shopify Partner
270 40 74

Hi,

It's the product_type property.

myappsmarket
New Member
2 0 0

Hi,

The product_type field is a custom product type, not a Standard product type.

myappsmarket_0-1636539670311.pngmyappsmarket_1-1636539674267.png

 

 

Jayvin
Shopify Partner
270 40 74

This is an accepted solution.

Hi,

Tested using the unstable api version.

{
  products(first: 5) {
    edges {
      node {
        standardProductType {
          fullName
          name
        }
      }
    }
  }
}

 

Ref here

Related post

View solution in original post