with Shopwaive and APIpie.ai?
Adjusts the available balance of a customer. See the documentation
Fetches the current available balance of a customer. See the documentation
Updates the available balance of a customer to an exact value. See the documentation
The Shopwaive API enables seamless integration of e-commerce and retail management features into your existing platforms. Using Pipedream, you can connect the Shopwaive API to a vast array of services to automate tasks such as updating inventory, syncing orders across platforms, and managing customer interactions. This API, when harnessed through Pipedream’s serverless platform, offers a powerful way to streamline e-commerce operations, reduce manual overhead, and enhance the customer experience with real-time updates and actions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopwaive: {
type: "app",
app: "shopwaive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.shopwaive.com/api/customer/jane.doe@shopify.com`,
headers: {
"Content-Type": `application/json`,
"X-Shopwaive-Platform": `${this.shopwaive.$auth.platform}`,
"X-Shopwaive-Access-Token": `${this.shopwaive.$auth.access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
apipie_ai: {
type: "app",
app: "apipie_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://apipie.ai/v1/models`,
headers: {
"X-API-Key": `${this.apipie_ai.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})