Interacting with Shopify
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:
const { libs } = require('platform');
module.exports = async (event) => {
const shopify = libs.shopify.get();
await shopify.order.get(order_id);
}
Last modified 2yr ago