import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lightspeed_ecom_c_series: {
type: "app",
app: "lightspeed_ecom_c_series",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.${this.lightspeed_ecom_c_series.$auth.cluster}.com/${this.lightspeed_ecom_c_series.$auth.lang}/account.json`,
auth: {
username: `${this.lightspeed_ecom_c_series.$auth.api_key}`,
password: `${this.lightspeed_ecom_c_series.$auth.api_secret}`,
},
})
},
})
Emit new event when a customer is updated.
Emit new event when an invoice is updated.
Emit new event when a customer is created.
Emit new event when an invoice is created.
Emit new event when an order is created.
Find a customer by ID. See the documentation
Find an invoice by ID. See the documentation
Find an order by ID. See the documentation
Find an product by ID. See the documentation
Find a shipment by ID. See the documentation
Lightspeed eCom (C-Series) uses API keys for authentication. When you connect your Lightspeed eCom (C-Series) account, Pipedream securely stores the keys so you can easily authenticate to Lightspeed eCom (C-Series) APIs in both code and no-code steps.