Menu
Post Product
Create a new product
POST
/api/rest/v1/productsUse it in a workflow
- Add a step and choose the Akeneo connector.
- Pick the Post Product action (under Product [identifier]).
- Fill in the fields below, then reference the result from later steps as
{{postProduct.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"identifier": "bl1850b",
"uuid": "fc24e6c3-933c-4a93-8a81-e5c703d134d5",
"enabled": true,
"groups": [
"summer_collection",
"sale"
],
"family": "smartphone",
"categories": [
"smartphones",
"electronics"
],
"parent": "my_super_battery",
"values": {
"description": [
{
"data": "T-shirt long sleeves Winter special, 100% wool",
"locale": null,
"scope": null
}
]
},
"associations": {
"X_SELL": {
"groups": [],
"products": [
"product_1",
"product_2"
],
"product_models": [
"product_model_1"
]
},
"UPSELL": {
"groups": [
"group_1"
],
"products": [],
"product_models": []
}
},
"quantified_associations": {
"PACK": {
"products": [
{
"identifier": "product_1",
"quantity": 2
},
{
"identifier": "product_2",
"quantity": 3
}
],
"product_models": [
{
"identifier": "product_model_1",
"quantity": 1
}
]
}
}
}
Response
Returns 201 with a any. Read it in later steps with {{postProduct.response.data.<field>}}.
Need more? See the Akeneo guide for connection setup and behaviour shared by every action.
Was this page helpful?