- Authentication
- Overview
- PAM asset category
- Asset family
- Asset
- Asset attribute
- Asset attribute option
- Asset media file
- PAM asset tag
- PAM asset
- PAM asset reference file
- PAM asset variation file
- Association type
- Attribute group
- Attribute
- Attribute option
- Category
- Channel
- Currency
- Family
- Family variant
- Locale
- Measure family
- Measurement family
- Product media file
- Product model
- Product
- Published product
- Reference entity
- Reference entity media file
- Reference entity attribute
- Reference entity attribute option
- Reference entity record
- System
- Catalogs
- Catalog products
- Product [identifier]
- Product [uuid]
Update/create several association types
PATCH
/api/rest/v1/association-types
Association type
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/api/rest/v1/association-types' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
200 - Example 1
{
"code": "string",
"identifier": "string",
"line": 0,
"message": "string",
"status_code": 0
}
Request
Body Params application/json
code
stringÂ
required
is_quantified
booleanÂ
optional
Default:
false
is_two_way
booleanÂ
optional
Default:
false
labels
objectÂ
optional
Default:
{}
localeCode
stringÂ
optional
localeCode
Examples
Responses
🟢200OK
application/json
Body
code
stringÂ
optional
identifier
stringÂ
optional
line
integerÂ
optional
message
stringÂ
optional
status_code
integerÂ
optional
🟠401Authentication required
🟠403Access forbidden
🟠413Request Entity Too Large
🟠415Unsupported Media type
Modified at 2023-08-15 05:53:55