with BaseLinker and Alpaca?
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
Attempts to cancel all open orders. A response will be provided for each order that is attempted to be cancelled. If an order is no longer cancelable, the server reject the request, See the docs
It allows adding a new order to the BaseLinker order manager. See the Documentation
Attempts to cancel an open order. If the order is no longer cancelable (example: status=filled
), the server will reject the request, See the docs
It allows you to remove the product from BaseLinker catalog. See the Documentation
The BaseLinker API offers access to a suite of e-commerce management tools, enabling seamless integration of orders, products, and inventory across various online sales channels. With Pipedream's ability to connect APIs, you can automate tasks between BaseLinker and other apps to streamline your e-commerce operations, from syncing inventory to processing orders.
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,
})
},
})
Alpaca API allows you to harness the power of automated trading by providing an interface to manage your stock and equity portfolio through simple API calls. It's particularly suited for building trading bots, algorithmic trading strategies, or just automating interactions with your investment portfolio. Whether you're looking to place trades based on specific market conditions, automatically adjust your portfolio in response to certain triggers, or simply streamline your investment activities, Alpaca's trading API offers a robust solution.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alpaca: {
type: "app",
app: "alpaca",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.alpaca.markets/v2/account`,
headers: {
Authorization: `Bearer ${this.alpaca.$auth.oauth_access_token}`,
},
})
},
})