Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const client = new Shopify.Clients.Rest(session.shop, session.accessToken);
const productDetails = await client.get({
path: `products/${productId}`,
type: DataType.JSON,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment