with Shopify (OAuth) and Cincopa?
Emit new event when a new asset is uploaded. See the documentation
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Emit new event when a new gallery is created. See the documentation
Adds a product or products to a custom collection. See the documentation
Adds an asset or a list of assets to an existing gallery. See the documentation
Creates a new gallery, returning the new gallery FID (unique ID). See the documentation
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
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,
})
},
})
The Cincopa API enables users to elevate their media content management by automating tasks and integrating with other services. With Cincopa, you can manipulate galleries, upload media, extract analytics, and manage your media assets in a programmatic way. When paired with Pipedream, this API becomes a powerhouse for creating seamless workflows that boost productivity and enhance content delivery, offering a rich set of triggers and actions to automate media operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cincopa: {
type: "app",
app: "cincopa",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cincopa.com/v2/ping.json`,
params: {
api_token: `${this.cincopa.$auth.api_token}`,
},
})
},
})