Save time, close more deals, grow your share of wallet with existing customers and reach new customers across the globe, all with one integrated sales platform. With MarketTime you are in market all the time.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The MarketTime API provides a suite of endpoints to access and manage retail operations, such as product listings, ordering, and inventory management. By leveraging this API within Pipedream, you can automate routine tasks, sync data across different platforms, and create custom workflows to enhance retail processes. Pipedream's serverless platform facilitates the integration of MarketTime's capabilities with an array of other apps and services, enabling users to build powerful, automated solutions that can save time and reduce the potential for human error.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
markettime: {
type: "app",
app: "markettime",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.reptimeportal.com/reptime/public/api/retailers/export/${this.markettime.$auth.manufacturer_id}/new`,
headers: {
"x-api-key": `${this.markettime.$auth.api_key}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS