with Dromo and Shopify (OAuth)?
Emit new event when a headless import has issues and needs a review
Emits a new event when a headless import has been completed successfully.
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Adds a product or products to a custom collection. See the documentation
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
The Dromo API is a logistics and shipment tracking service that provides real-time data on shipments across carriers. With this API, you can tap into a vast network of shipping information, automate tracking processes, send notifications on shipment updates, and integrate your logistics data with other business systems. On Pipedream, you can create workflows that leverage the Dromo API to connect with various apps, automate shipment tracking updates, and streamline logistics processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dromo: {
type: "app",
app: "dromo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.dromo.io/api/v1/uploads/`,
headers: {
"X-Dromo-License-Key": `${this.dromo.$auth.api_key}`,
},
})
},
})
Shopify provides a powerful API that enables developers to build a wide range
of applications and tools for merchants. Some examples of what you can build
using the Shopify API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify: {
type: "app",
app: "shopify",
}
},
async run({steps, $}) {
const data = {
"query": `{
shop {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://${this.shopify.$auth.shop_id}.myshopify.com/admin/api/2024-04/graphql.json`,
headers: {
"X-Shopify-Access-Token": `${this.shopify.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})