MISSINdevelopersLog in

API reference

WithdrawDiscountPlacement

Withdraw a discount placement without deleting the code. Write access, discounts toolset, MCP tool withdraw_discount_placement.

Access: Write

Variables

VariableTypeRequiredAcceptsDescription
inputWithdrawDiscountPlacementInput!yesInput object, below

Input types

WithdrawDiscountPlacementInput

FieldTypeRequiredAcceptsDescription
placementIdUUID!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":"WithdrawDiscountPlacement","variables":{"input":{"placementId":"00000000-0000-0000-0000-000000000000"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"ca7b221f6d7eb91bd56e037a6d4eadcd7790bfa274bfb4382f4d4dbfa5eb33e7"}}}'

Document

graphql
mutation WithdrawDiscountPlacement($input: WithdrawDiscountPlacementInput!) { __typename withdrawDiscountPlacement(input: $input) { __typename discountCodeId placementId userErrors { __typename code field message } } }

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.