MISSINdevelopersLog in

API reference

SetDiscountTagColor

Set a discount tag's colour. Write access, discounts toolset, MCP tool set_discount_tag_color. Part of the MISSIN public API: call it with an API key, or from…

Access: Write

Variables

VariableTypeRequiredAcceptsDescription
inputSetDiscountTagColorInput!yesInput object, below

Input types

SetDiscountTagColorInput

FieldTypeRequiredAcceptsDescription
colorString!yes
nameString!yes

Call it

bash
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"SetDiscountTagColor","variables":{"input":{"color":"#1a73e8","name":"Example"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"e3abfd01460aeb565cb13ba0902143f5e5012618680e3eeec599880382358002"}}}'

Document

graphql
mutation SetDiscountTagColor($input: SetDiscountTagColorInput!) { __typename setDiscountTagColor(input: $input) { __typename color name } }

For AI agents: a markdown index of this site is at /llms.txt, and every page is available as markdown by adding .md to its URL.