MISSINdevelopersLog in

API reference

UpdateDiscountPlacementChild

Edit the provider-specific fields of one discount placement. Write access, discounts toolset, MCP tool update_discount_placement_child.

Access: Write

Variables

VariableTypeRequiredAcceptsDescription
inputUpdateDiscountPlacementChildInput!yesInput object, below

Input types

UpdateDiscountPlacementChildInput

FieldTypeRequiredAcceptsDescription
childJSON!yesAny JSON valueThe provider block keyed by the placement's slug — only the keys given change.
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":"UpdateDiscountPlacementChild","variables":{"input":{"child":"…","placementId":"00000000-0000-0000-0000-000000000000"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"3b3412be470e1422286f8461f6acc0a22566812d962ae0d121b858cafbbaee35"}}}'

Document

graphql
mutation UpdateDiscountPlacementChild($input: UpdateDiscountPlacementChildInput!) { __typename updateDiscountPlacementChild(input: $input) { __typename placement { __typename id rowId } 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.