with Simla.com and Addressfinder?
Emit new event when a new customer is created. See the documentation
Emit new event when a customer is updated. See the documentation
Validates an Australian address. See the documentation
Creates a new order with customer and order details. See the documentation
Validates a New Zealand address. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
simla_com: {
type: "app",
app: "simla_com",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.simla_com.$auth.subdomain}.simla.com/api/${this.simla_com.$auth.version}/users`,
headers: {
"X-API-KEY": `${this.simla_com.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
addressfinder: {
type: "app",
app: "addressfinder",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.addressfinder.io/api/email/v1/verification/`,
headers: {
"Authorization": `${this.addressfinder.$auth.secret}`,
},
params: {
key: `${this.addressfinder.$auth.key}`,
email: `hello@addressfinder.com`,
format: `json`,
},
})
},
})