with Shopwaive and Auth0 (Management API)?
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}`,
},
})
},
})
The Auth0 Management API can be used to create, read, update,
and delete users, as well as to query for them. Additionally, you can
use the Management API to change user passwords, add and remove user roles,
link and unlink user accounts, and more. For more information, see the Auth0 Management API documentation here
// In order to use the example request below, please ensure that you have the scope
// `read:users` on your application.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
auth0_management_api: {
type: "app",
app: "auth0_management_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.auth0_management_api.$auth.domain}/api/v2/users`,
headers: {
Authorization: `Bearer ${this.auth0_management_api.$auth.oauth_access_token}`,
},
})
},
})