with Easypromos and Mumble?
Edits the customer with the specified phone number. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easypromos: {
type: "app",
app: "easypromos",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.easypromosapp.com/v2/promotions`,
headers: {
Authorization: `Bearer ${this.easypromos.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mumble: {
type: "app",
app: "mumble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mumble.co.il/mumbleapi/get-labels`,
headers: {
"mumble-api-key": `${this.mumble.$auth.api_key}`,
},
})
},
})