I tried to add a Label to a campaign. In order to do that, I need the ID of the Label so I tried to create the Label before.
operation = [
{
'operator': 'ADD',
'operand': {
'name': 'New label',
'status': 'ENABLED',
# 'xsi_type': '???????',
}
}
]
label_service.mutate(operation)
They ask me a Type.Label but there is nowhere I can find which type I can use ... Then I get this error.
INVALID_LABEL_TYPE | Invalid Label type. A specific type of Label is required. |
Thank you for your answer,
Martin