You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val queryProduct = Storefront.query { rootQuery: QueryRootQuery ->
rootQuery.node(ID(product.id)) { n ->
n.id().onProduct { idP ->
idP.variants({ arg -> arg.first(10) }) { v ->
v.edges { ve ->
ve.node { ven ->
ven.id() // can't find id
}
}
}
}
}
}
The text was updated successfully, but these errors were encountered:
PeOS-China
changed the title
How can I get ProductVariant ID on Android SDK?
How can I get ProductVariant ID on Android SDK? I want to create checkout through it
Oct 20, 2022
val queryProduct = Storefront.query { rootQuery: QueryRootQuery ->
rootQuery.node(ID(product.id)) { n ->
n.id().onProduct { idP ->
idP.variants({ arg -> arg.first(10) }) { v ->
v.edges { ve ->
ve.node { ven ->
ven.id() // can't find id
}
}
}
}
}
}
The text was updated successfully, but these errors were encountered: