v1

latestSwagger 2.02026-07-13137761.0 MB
Association type

Get an association type

This endpoint allows you to get the information about a given association type.

get/api/rest/v1/association-types/{code}

Path parameters

codestring required

Code of the resource

Response

OK

codestring required

Association type code

is_quantifiedboolean

When true, the association is a quantified association (Only available in the PIM Serenity version.)

is_two_wayboolean

When true, the association is a two-way association (Only available in the PIM Serenity version.)

Example response

{
  "code": "upsell",
  "labels": {
    "en_US": "Upsell",
    "fr_FR": "Vente incitative"
  },
  "is_quantified": false,
  "is_two_way": false
}