Interacting with Shopify
Shypyard offers convenient ways to interact with Shopify API either through the REST API or GraphQL.
Once a Shopify integration is added, you can immediately use the node library to get or update Shopify resources.
For example, if you want to get the order data, you can do something like this:
1
const { libs } = require('platform');
2
​
3
module.exports = async (event) => {
4
const shopify = libs.shopify.get();
5
6
await shopify.order.get(order_id);
7
}
Copied!
​
Last modified 6mo ago
Copy link