For AI agents: visit https://erplain.readme.io/v2.0/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
Create a customer tag
mutation CreateCustomerTag($input: CustomerTagInput!) {
CreateCustomerTag(input: $input) {
id
label
active
}
}
{
"input": {
"label": "Premium Customer"
}
}
{
"data": {
"CreateCustomerTag": {
"id": 100120,
"label": "Premium Customer",
"active": true
}
}
}
Update a customer tag
| id - ID |
|---|
| Id of the customer tag |
mutation UpdateCustomerTag($id: ID!, $input: CustomerTagInput!) {
UpdateCustomerTag(id: $id, input: $input) {
id
label
active
}
}
{
"id": 100120,
"input": {
"label": "VIP Customer"
}
}
{
"data": {
"UpdateCustomerTag": {
"id": 100120,
"label": "VIP Customer",
"active": true
}
}
}
Delete a customer tag
| id - ID |
|---|
| Id of the customer tag |
mutation DeleteCustomerTag($id: ID!) {
DeleteCustomerTag(id: $id)
}
{
"data": { "DeleteCustomerTag": true }
}
Disable a customer tag
| id - ID |
|---|
| Id of the customer tag |
mutation DisableCustomerTag($id: ID!) {
DisableCustomerTag(id: $id) {
id
active
}
}
{
"data": {
"DisableCustomerTag": {
"id": 100120,
"active": false
}
}
}
Enable a customer tag
| id - ID |
|---|
| Id of the customer tag |
mutation EnableCustomerTag($id: ID!) {
EnableCustomerTag(id: $id) {
id
active
}
}
{
"data": {
"EnableCustomerTag": {
"id": 100120,
"active": true
}
}
}
| id - ID |
|---|
| Identifier (optional) |
| label - String |
|---|
| Name/Label of the tag |