Re: How to identify Physical or Digital product Type

How to identify Physical or Digital product Type

3 0 0

Hi Team,

  Just wanted to check in terms of identifying a product type being Digital or Physical. Is their a attribute available in Order API that provides us this clarity. Basically provides Product type information to distinguish between Physical or Digital?
I found the attribute requires_shipping is usually set to False if Digital product and True if it is a physical product. Can we rely on this attribute for identifying if a product is digital or Physical?

Replies 2 (2)

Shopify Partner
13 5 11

If you communicate it internally like this and fill the data correctly then it is definitely a solution.

You can also tag the variants via metafield or tag whether something is digital or not.


Shopify Partner
18 0 1

This is a late answer but I found it  

          mutation {
              input: {
                id: "{id_input}",
                inventoryPolicy: CONTINUE,
                requiresShipping: false
            ) {
              userErrors {
          }   come 2024-07 API  you need to use inventoryItemUpdate and you can get the inventoryId from the productVariant in the productQuery!