MISSINdevelopersLog in

API reference

DeleteDiscountCode

Delete a discount code here and at its providers. Irreversible. Write access, discounts toolset, MCP tool delete_discount_code.

Access: Write

Variables

VariableTypeRequiredAcceptsDescription
inputDeleteDiscountCodeInput!yesInput object, below

Input types

DeleteDiscountCodeInput

FieldTypeRequiredAcceptsDescription
idUUID!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":"DeleteDiscountCode","variables":{"input":{"id":"00000000-0000-0000-0000-000000000000"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"99cc176539ab159f612b7da0dc3c67c31670969e4bbef4be9d0f1c2c71841384"}}}'

Document

graphql
mutation DeleteDiscountCode($input: DeleteDiscountCodeInput!) { __typename deleteDiscountCode(input: $input) { __typename id } }

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.