with Short.io and DigitalRiver?
Cancels an existing order in Digital River. See the documentation
Creates a new product on the Digital River platform. See the documentation
Short.io provides a robust API for URL shortening, allowing you to create, delete, and track shortened links programmatically. By integrating with Pipedream, you can automate link creation or aggregation of click data in real-time, triggering workflows in response to events like link clicks or creating short links in bulk from a data source.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
short: {
type: "app",
app: "short",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.short.io/api/domains`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.short.$auth.secret_key}`,
},
})
},
})
The DigitalRiver API lets you manage e-commerce activities like orders, payments, and customer information. On Pipedream, you can harness this API to create automated workflows that integrate with other apps, react to events, process transactions, and handle global e-commerce complexities. Pipedream's serverless platform enables you to build and execute these workflows quickly, without setting up infrastructure, and to connect DigitalRiver with countless other services for a seamless e-commerce ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
digitalriver: {
type: "app",
app: "digitalriver",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.digitalriver.com/customers`,
headers: {
Authorization: `Bearer ${this.digitalriver.$auth.api_key}`,
},
})
},
})