Menu
Post Association Type
Create a new association type
POST
/api/rest/v1/association-typesUse it in a workflow
- Add a step and choose the Akeneo connector.
- Pick the Post Association Type action (under Association type).
- Fill in the fields below, then reference the result from later steps as
{{postAssociationType.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"code": "upsell",
"labels": {
"en_US": "Upsell",
"fr_FR": "Vente incitative"
},
"is_quantified": true,
"is_two_way": false
}
Response
Returns 201 with a any. Read it in later steps with {{postAssociationType.response.data.<field>}}.
Need more? See the Akeneo guide for connection setup and behaviour shared by every action.
Was this page helpful?