Sell from existing websites, hosted stores, social media channels and more, with no technical skills required and 0% platform fees.
The Shoprocket API empowers you to seamlessly integrate e-commerce capabilities into your website or app. With Pipedream, you can connect Shoprocket to hundreds of other services to automate tasks like syncing orders to a database, updating inventory in real-time, or triggering custom email campaigns when a new product is added. Pipedream's serverless platform allows for building custom workflows that can react to various Shoprocket events, manipulate the data, and interact with numerous APIs and services without the hassle of managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shoprocket: {
type: "app",
app: "shoprocket",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.shoprocket.io/v1/team`,
headers: {
"x-api-key": `${this.shoprocket.$auth.api_key}`,
},
})
},
})
The Payhip API offers a suite of e-commerce capabilities, enabling automation for selling digital products, memberships, and physical goods. With Pipedream, you can leverage these capabilities to create customized workflows that respond to various Payhip events, such as new sales or product updates. These workflows can handle data manipulation, integrate with other services, or notify you or your team of important events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
payhip: {
type: "app",
app: "payhip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://payhip.com/api/v1/license/verify`,
headers: {
"payhip-api-key": `${this.payhip.$auth.api_key}`,
},
params: {
product_link: `123`,
license_key: `123`,
},
})
},
})