with Formatting and Sellix?
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})
The Sellix API empowers e-commerce businesses to automate their digital storefronts on the Pipedream platform. With this API, users can manage products, orders, and coupons programmatically, streamlining operations like inventory management, customer engagement, and sales tracking. Pipedream's serverless execution model and vast array of integrations make it an ideal environment to create custom workflows that leverage Sellix's capabilities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sellix: {
type: "app",
app: "sellix",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dev.sellix.io/v1/customers`,
headers: {
Authorization: `Bearer ${this.sellix.$auth.api_key}`,
},
})
},
})