import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
baselinker: {
type: "app",
app: "baselinker",
}
},
async run({steps, $}) {
const data = {
"method": `getInventories`,
}
return await axios($, {
method: "post",
url: `https://api.baselinker.com/connector.php`,
headers: {
"X-BLToken": `${this.baselinker.$auth.api_key}`,
"Content-Type": `application/x-www-form-urlencoded`,
},
data,
})
},
})
Emit new event when a new order is created in BaseLinker. See the Documentation.
Emit new event when an order status changes in BaseLinker. See the Documentation.
It allows you to add a new product to BaseLinker catalog. Entering the product with the ID updates previously saved product. See the Documentation.
It allows adding a new order to the BaseLinker order manager. See the Documentation.
It allows you to remove the product from BaseLinker catalog. See the Documentation.
It allows you to change order status. See the Documentation.
BaseLinker uses API keys for authentication. When you connect your BaseLinker account, Pipedream securely stores the keys so you can easily authenticate to BaseLinker APIs in both code and no-code steps.
To retrieve your API key,