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 supplier tag
mutation CreateSupplierTag($input: SupplierTagInput!) {
CreateSupplierTag(input: $input) {
id
label
active
}
}
{
"input": {
"label": "Premium Partner"
}
}
{
"data": {
"CreateSupplierTag": {
"id": 100120,
"label": "Premium Partner",
"active": true
}
}
}
Update a supplier tag
| id - ID |
|---|
| Id of the supplier tag |
mutation UpdateSupplierTag($id: ID!, $input: SupplierTagInput!) {
UpdateSupplierTag(id: $id, input: $input) {
id
label
active
}
}
{
"id": 100120,
"input": {
"label": "Strategic Partner"
}
}
{
"data": {
"UpdateSupplierTag": {
"id": 100120,
"label": "Strategic Partner",
"active": true
}
}
}
Delete a supplier tag
| id - ID |
|---|
| Id of the supplier tag |
mutation DeleteSupplierTag($id: ID!) {
DeleteSupplierTag(id: $id)
}
{
"data": { "DeleteSupplierTag": true }
}
Disable a supplier tag
| id - ID |
|---|
| Id of the supplier tag |
mutation DisableSupplierTag($id: ID!) {
DisableSupplierTag(id: $id) {
id
active
}
}
{
"data": {
"DisableSupplierTag": {
"id": 100120,
"active": false
}
}
}
Enable a supplier tag
| id - ID |
|---|
| Id of the supplier tag |
mutation EnableSupplierTag($id: ID!) {
EnableSupplierTag(id: $id) {
id
active
}
}
{
"data": {
"EnableSupplierTag": {
"id": 100120,
"active": true
}
}
}
| id - ID |
|---|
| Identifier (optional) |
| label - String |
|---|
| Name/Label of the tag |