import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wics: {
type: "app",
app: "wics",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.wics.$auth.environment}servicelayer.wics.nl/api/login`,
auth: {
username: `${this.wics.$auth.api_key}`,
password: `${this.wics.$auth.api_secret}`,
},
})
},
})
Get an order by its additional reference. See the documentation
WICS uses API keys for authentication. When you connect your WICS account, Pipedream securely stores the keys so you can easily authenticate to WICS APIs in both code and no-code steps.