Products
/- Connect Channel Platform
- REST APIs reference
- Connect
- createTaxonomyRule - Create a Taxonomy Rule
upsertProductType - Create or Update a Product Type
createTaxonomyRule - Crea...
Call Frequency
Recommended usage: 5 per second
Maximum usage: 10 per second
Security
Bearer(Required scopes:
connect-channel-platform:taxonom...
)- Connect Channel Platform APIhttps://miraklconnect.com/api/channel-platform/v1/taxonomy/channels/{channel_id}/rules
curl -i -X PUT \
'https://miraklconnect.com/api/channel-platform/v1/taxonomy/channels/{channel_id}/rules' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json; charset=UTF-8' \
-d '{
"rules": [
{
"id": "rule-smartphones",
"when": {
"all": [
{
"equals": {
"attribute": "model",
"value": "samsung-galaxy-s21"
}
},
{
"not": {
"isSet": {
"attribute": "color"
}
}
}
]
},
"then": {
"all": [
{
"redefine": {
"attribute": "samsung-special-color",
"requirementLevel": "REQUIRED"
}
}
]
}
}
]
}'