import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
delivery_march: {
type: "app",
app: "delivery_march",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `${this.delivery_march.$auth.api_url}/api/v1/me`,
headers: {
"accept": `application/json`,
"content-type": `application/json`,
"apikey": `${this.delivery_march.$auth.api_key}`,
"client": `${this.delivery_march.$auth.client_id}`,
},
})
},
})
Return all status event details of a shipment. See the documentation
Delivery Match uses API keys for authentication. When you connect your Delivery Match account, Pipedream securely stores the keys so you can easily authenticate to Delivery Match APIs in both code and no-code steps.