v1
latestSwagger 2.02026-07-13137761.0 MBAssociation type
Update/create an association type
This endpoint allows you to update a given association type. Know more about <a href="/documentation/update.html#update-behavior">Update behavior</a>. Note that if no association type exists for the given code, it creates it.
patch/api/rest/v1/association-types/{code}
Path parameters
codestring required
Code of the resource
Request body
Example request
{
"code": "upsell",
"labels": {
"en_US": "Upsell",
"fr_FR": "Vente incitative"
},
"is_quantified": false,
"is_two_way": false
}Response
Created