with Rejoiner and Dachser?
Emit new event when a contact is added to the specified list. See the documentation
Adds a customer to a specific list, or if the customer already exists, will update the record of that customer with the supplied data. See the documentation
Retrieve the delivery order status using reference and customer details. See the documentation
Retrieve the full history for a shipment by tracking number and customer ID. See the documentation
Triggers the beginning of a customer journey in Rejoiner. See the documentation
Retrieve the current status for a shipment by tracking number and customer ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rejoiner: {
type: "app",
app: "rejoiner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rj2.rejoiner.com/api/v2/${this.rejoiner.$auth.site_id}/ping/`,
headers: {
"Authorization": `Rejoiner ${this.rejoiner.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dachser: {
type: "app",
app: "dachser",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-gateway.dachser.com/rest/v2/incominggoodsdocuments?date=2027-10-01`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.dachser.$auth.api_token}`,
},
})
},
})