with Shopify (OAuth) and Nifty?
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Emit new event when a new message is posted in a team's discussion.
Adds a product or products to a custom collection. See the documentation
Assigns a specific task to a team member in Nifty. 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 Nifty API allows for streamlined project management, facilitating task automation and data synchronization within Pipedream. By integrating with the Nifty API, you can automate workflows involving project tracking, task assignments, and progress monitoring, effectively reducing manual overhead. On Pipedream, the API's endpoints can trigger actions, respond to changes, and update records across different services, bringing cohesion to your project management ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nifty: {
type: "app",
app: "nifty",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openapi.niftypm.com/api/v2.0/users/me`,
headers: {
Authorization: `Bearer ${this.nifty.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})