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.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node 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}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})