with Wix and SendOwl?
Adds a product or products to a specified collection. See the documentation
The Wix API allows for the management and automation of various aspects of Wix-based web applications. Through Pipedream, you can harness this capability to create, update, retrieve, and delete information from your Wix site, such as managing site content, handling e-commerce orders, and engaging with users. With Pipedream, you can also trigger workflows based on events in Wix, connect with hundreds of other services, and process data with custom logic.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wix_api_key: {
type: "app",
app: "wix_api_key",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://www.wixapis.com/site-list/v2/sites/query`,
headers: {
"Authorization": `${this.wix_api_key.$auth.api_key}`,
"wix-account-id": `${this.wix_api_key.$auth.account_id}`,
},
})
},
})
The SendOwl API allows you to manage and automate sales and distribution of digital goods. Using Pipedream, you can harness the power of SendOwl to create tailored workflows that respond to events, synchronize customer data, generate reports, and enhance customer experiences. By leveraging Pipedream's capabilities, you can connect SendOwl to numerous other services for a seamless data flow, making processes efficient and reducing manual effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendowl: {
type: "app",
app: "sendowl",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.sendowl.com/api/v1/products`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
},
auth: {
username: `${this.sendowl.$auth.api_key}`,
password: `${this.sendowl.$auth.api_secret}`,
},
})
},
})