with Amazon Selling Partner and Akeneo?
Allows you to create a new media file and associate it to an attribute value of a given product or product model. See the docs
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
amazon_selling_partner: {
type: "app",
app: "amazon_selling_partner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://sellingpartnerapi-na.amazon.com/inbound/fba/2024-03-20/inboundPlans`,
headers: {
"x-amz-access-token": `${this.amazon_selling_partner.$auth.oauth_access_token}`,
},
})
},
})
The Akeneo API empowers users to streamline product information management by automating data exchange between Akeneo and other systems. By leveraging Pipedream, you can construct workflows that trigger actions based on events in Akeneo, sync product data across platforms, enhance product information with data from external sources, and keep sales channels up-to-date with the latest catalog details.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
akeneo: {
type: "app",
app: "akeneo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.akeneo.$auth.host}/api/rest/v1`,
headers: {
Authorization: `Bearer ${this.akeneo.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})