MISSINdevelopersLog in

API reference

BulkSyncDiscountCodes

Re-push the selected discount codes to their providers. Write access, discounts toolset, MCP tool bulk_sync_discount_codes.

Access: Write

Variables

VariableTypeRequiredAcceptsDescription
inputBulkSyncDiscountCodesInput!yesInput object, below

Input types

BulkSyncDiscountCodesInput

FieldTypeRequiredAcceptsDescription
ids[UUID!]!yesThe discounts to push. Each one syncs to wherever it is already placed — the request names no store.

Call it

bash
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"BulkSyncDiscountCodes","variables":{"input":{"ids":[]}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"da5e5bd7cacce1707e96e5b987f501f47063448129b64593e12e1ba82f76aebd"}}}'

Document

graphql
mutation BulkSyncDiscountCodes($input: BulkSyncDiscountCodesInput!) { __typename bulkSyncDiscountCodes(input: $input) { __typename results { __typename id status } } }

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.