with BaseLinker and Azure OpenAI?
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
Create completions for chat messages with the GPT-35-Turbo and GPT-4 models. See the documentation
It allows adding a new order to the BaseLinker order manager. See the Documentation
Classify items into specific categories. See the documentation
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,
})
},
})
The Azure OpenAI Service API provides access to powerful AI models that can understand and generate human-like text. With Pipedream, you can harness this capability to create a variety of serverless workflows, automating tasks like content creation, code generation, and language translation. By integrating the API with other apps on Pipedream, you can streamline processes, analyze sentiment, and even automate customer support.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
azure_openai_service: {
type: "app",
app: "azure_openai_service",
}
},
async run({steps, $}) {
const data = {
"messages": [{ role: 'user', content: "Hello, world!" }],
}
return await axios($, {
method: "post",
url: `https://${this.azure_openai_service.$auth.resource_name}.openai.azure.com/openai/deployments/${this.azure_openai_service.$auth.deployment_name}/chat/completions?api-version=2023-05-15`,
headers: {
"Content-Type": `application/json`,
"api-key": `${this.azure_openai_service.$auth.api_key}`,
},
data,
})
},
})