With the Akeneo API, you can build a variety of products and solutions that help companies manage their product data. Here are some examples:
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`,
},
})
},
})
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
Akeneo uses OAuth authentication. When you connect your Akeneo account, Pipedream will open a popup window where you can sign into Akeneo and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Akeneo API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://{{custom_fields.host}}/api/oauth/v1/token
content-type: application/json
grant_type=password
&
username={{custom_fields.username}}
&
password={{custom_fields.password}}
POST
https://{{custom_fields.host}}/api/oauth/v1/token
content-type: application/json
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}