with Google Marketplace and Swell?
Update an existing account with the corresponding ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_marketplace: {
type: "app",
app: "google_marketplace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/${this.google_marketplace.$auth.application_id}`,
headers: {
Authorization: `Bearer ${this.google_marketplace.$auth.oauth_access_token}`,
},
})
},
})
The Swell API is like a Swiss Army knife for e-commerce platforms, giving you the power to twist, shape, and scale your online store. Within Pipedream's serverless environment, you can automate actions like syncing new orders to your CRM, updating inventory in real-time, or even crafting personalized marketing campaigns based on customer behavior. With triggers, actions, and the ability to combine Swell with a myriad of other apps, Pipedream turns the Swell API into a potent tool for e-commerce automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
swell: {
type: "app",
app: "swell",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.swell.$auth.store_id}:${this.swell.$auth.secret_key}@api.swell.store/products`,
})
},
})