import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
remarkety: {
type: "app",
app: "remarkety",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.remarkety.com/api/v2/stores/${this.remarkety.$auth.store_id}/customers`,
headers: {
"X-API-Key": `${this.remarkety.$auth.api_token}`,
},
})
},
})
Remarkety uses API keys for authentication. When you connect your Remarkety account, Pipedream securely stores the keys so you can easily authenticate to Remarkety APIs in both code and no-code steps.
You can get your API Token and Store ID under Settings > API Keys.