import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deftship: {
type: "app",
app: "deftship",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.deftship.$auth.environment}/balance`,
headers: {
Authorization: `Bearer ${this.deftship.$auth.api_token}`,
},
})
},
})
Initializes a new parcel order within Deftship. See the documentation
Initializes a new parcel order within Deftship. See the documentation
Checks pricing for Insurance based on the supplied information. Also automatically creates an insurance and returns the pricing. See the documentation
Deftship uses API keys for authentication. When you connect your Deftship account, Pipedream securely stores the keys so you can easily authenticate to Deftship APIs in both code and no-code steps.