MISSINdevelopersLog in

API reference

Discounts operations

Discount codes, tags, placements and targets. Operations, access levels and variables. Part of the MISSIN public API: call it with an API key, or from an AI…

OperationAccessSummary
AddDiscountPlacementsWritePlace discount codes on a store or email connection; the codes are pushed to the provider.
BulkRemoveTagFromWorkspaceDiscountsWriteRemove a tag from every discount code in the workspace. Irreversible.
BulkRenameTagAcrossWorkspaceDiscountsWriteRename a tag on every discount code in the workspace.
BulkSyncDiscountCodesWriteRe-push the selected discount codes to their providers.
BulkUpdateDiscountCodeStatusWriteSet the status of many discount codes at once; each code is clamped to what it allows.
CreateDiscountCodeWriteCreate a discount code and, with connectionId, place it on that store.
DeleteDiscountCodeWriteDelete a discount code here and at its providers. Irreversible.
DiscountCampaignsReadList the campaigns a discount code is linked to.
DiscountChangesReadPage through a discount code's change history and provider sync state.
DiscountCodeAliasExistsReadCheck whether codes are already used as a code or alias in this workspace.
DiscountCodeFormResponsesReadForm responses that used one discount code.
DiscountCodeOrdersReadPage through orders that used one discount code, with revenue totals.
DiscountCodeOrderSeriesReadDaily order count and revenue series for one discount code.
DiscountCodePartnersReadThe partner one discount code belongs to.
DiscountCodeResponseSeriesReadDaily form-response series for one discount code, total and attributed.
DiscountCodesAggregatesFilteredReadTotals across the discount codes matching a filter: count, usage and value.
DiscountCodesListReadList discount codes with filter, sort and offset paging: code, value, status, usage and tags.
DiscountCodeTagFacetsReadList discount tags with their colour and usage count.
DiscountDetailReadGet one discount code by id with orders, revenue, partner, placements and incentive rules.
DiscountPlacementsByCodeReadList where one discount code is placed (store, email platform) and each placement's sync state.
DiscountPlacementTargetsReadList the products and collections a discount code's placements target.
RemoveDiscountPlacementWriteRemove a discount placement and delete it at the provider. Irreversible.
ResyncDiscountPlacementWriteRe-queue a discount placement's push to its provider.
SearchPlacementTargetsReadSearch a store connection's products or collections to target with a discount.
SetDiscountTagColorWriteSet a discount tag's colour.
SetPlacementTargetsWriteReplace the products and collections a discount placement targets.
SyncAllDiscountCodesWriteRe-push every discount code to its providers.
UpdateDiscountCodeWriteUpdate a discount code and push the change to its placements.
UpdateDiscountPlacementChildWriteEdit the provider-specific fields of one discount placement.
WithdrawDiscountPlacementWriteWithdraw a discount placement without deleting the code.

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.