Discounts and marketing
Admin API: 90 operations and 281 types.
Queries 33
appDiscountTypeappDiscountTypesappDiscountTypesNodesautomaticDiscountDeprecatedautomaticDiscountNodeDeprecatedautomaticDiscountNodesDeprecatedautomaticDiscountsDeprecatedautomaticDiscountSavedSearchescodeDiscountNodeDeprecatedcodeDiscountNodeByCodecodeDiscountNodesDeprecatedcodeDiscountSavedSearchesdiscountCodesCountdiscountNodeReturns one discount, code or automatic, by ID, or null when it does not exist.discountNodesLists every discount in the store, code and automatic, a page at a time with first/after.discountNodesCountdiscountRedeemCodeBulkCreationdiscountRedeemCodeSavedSearchesdiscountTagsgiftCardgiftCardConfigurationgiftCardsgiftCardsCountmarketingActivitiesmarketingActivitymarketingEventmarketingEventspriceListpriceListstanqoryExtDiscountChannelAccessWhether the discount may be featured on the store's sales channels (admin "Sales channel access").tanqoryExtMarketingCampaignOne campaign of the store, or null.tanqoryExtMarketingCampaignsThe store's campaigns, newest first by default.tanqoryExtMarketingPerformanceSales attributed to marketing over a range of days (inclusive, in the store's time zone), read from the store's orders: an order is marketing traffic…
Mutations 57
discountAutomaticActivatediscountAutomaticAppCreatediscountAutomaticAppUpdatediscountAutomaticBasicCreatediscountAutomaticBasicUpdatediscountAutomaticBulkDeletediscountAutomaticBxgyCreatediscountAutomaticBxgyUpdatediscountAutomaticDeactivatediscountAutomaticDeletediscountBulkTagsAdddiscountBulkTagsRemovediscountCodeActivatediscountCodeAppCreatediscountCodeAppUpdatediscountCodeBasicCreatediscountCodeBasicUpdatediscountCodeBulkActivatediscountCodeBulkDeactivatediscountCodeBulkDeletediscountCodeBxgyCreatediscountCodeBxgyUpdatediscountCodeDeactivatediscountCodeDeletediscountCodeRedeemCodeBulkDeletediscountRedeemCodeBulkAddgiftCardCreategiftCardCreditgiftCardDeactivategiftCardDebitgiftCardSendNotificationToRecipientgiftCardUpdatemarketingActivitiesDeleteAllExternalmarketingActivityCreatemarketingActivityCreateExternalDeprecatedmarketingActivityDeleteExternalmarketingActivityUpdatemarketingActivityUpdateExternalmarketingActivityUpsertExternalmarketingEngagementCreatemarketingEngagementsDeleteDeprecatedpriceListCreatepriceListDeletepriceListFixedPricesAddpriceListFixedPricesDeletepriceListFixedPricesUpdatepriceListUpdatesubscriptionDraftDiscountAddDeprecatedsubscriptionDraftDiscountCodeApplyDeprecatedsubscriptionDraftDiscountRemoveDeprecatedsubscriptionDraftDiscountUpdateDeprecatedtanqoryExtDiscountChannelAccessUpdateSets the discount's "Allow discount to be featured on selected channels".tanqoryExtDiscountCommentCreateAdds a staff comment (and up to 10 attached files of the store) to a discount's timeline (the discount node's events).tanqoryExtMarketingActivitiesAssignAssigns marketing activities of the store to a campaign (activityIds), or unassigns them (campaignId null).tanqoryExtMarketingCampaignCreateCreates a campaign.tanqoryExtMarketingCampaignDeleteDeletes a campaign; its activities become unassigned.tanqoryExtMarketingCampaignUpdateUpdates a campaign; omitted fields stay.
Objects 168
AllDiscountItemsAppDiscountTypeAppDiscountTypeConnectionAppDiscountTypeEdgeDiscountAmountDiscountAutomaticActivatePayloadDiscountAutomaticAppDiscountAutomaticAppCreatePayloadDiscountAutomaticAppUpdatePayloadDiscountAutomaticBasicDiscountAutomaticBasicCreatePayloadDiscountAutomaticBasicUpdatePayloadDiscountAutomaticBulkDeletePayloadDiscountAutomaticBxgyDiscountAutomaticBxgyCreatePayloadDiscountAutomaticBxgyUpdatePayloadDiscountAutomaticConnectionDiscountAutomaticDeactivatePayloadDiscountAutomaticDeletePayloadDiscountAutomaticEdgeDiscountAutomaticFreeShippingDiscountAutomaticNodeDiscountAutomaticNodeConnectionDiscountAutomaticNodeEdgeDiscountBulkTagsAddPayloadDiscountBulkTagsRemovePayloadDiscountBuyerSelectionAllDiscountCodeActivatePayloadDiscountCodeAppDiscountCodeAppCreatePayloadDiscountCodeAppUpdatePayloadDiscountCodeBasicDiscountCodeBasicCreatePayloadDiscountCodeBasicUpdatePayloadDiscountCodeBulkActivatePayloadDiscountCodeBulkDeactivatePayloadDiscountCodeBulkDeletePayloadDiscountCodeBxgyDiscountCodeBxgyCreatePayloadDiscountCodeBxgyUpdatePayloadDiscountCodeDeactivatePayloadDiscountCodeDeletePayloadDiscountCodeFreeShippingDiscountCodeNodeDiscountCodeNodeConnectionDiscountCodeNodeEdgeDiscountCodeRedeemCodeBulkDeletePayloadDiscountCollectionsDiscountCombinesWithDiscountContextUnknownDiscountCountriesDiscountCountryAllDiscountCustomerAllDiscountCustomerBuysDiscountCustomerGetsDiscountCustomersDiscountCustomerSegmentsDiscountCustomerSelectionUnknownDiscountMarketsDiscountMinimumQuantityDiscountMinimumSubtotalDiscountNodeA wrapper around any kind of discount, code or automatic, giving it one ID, events and metafields.DiscountNodeConnectionA page of DiscountNode objects, with pageInfo for the next page.DiscountNodeEdgeDiscountOnQuantityDiscountPercentageDiscountProductsDiscountPurchaseAmountDiscountQuantityDiscountRedeemCodeDiscountRedeemCodeBulkAddPayloadDiscountRedeemCodeBulkCreationDiscountRedeemCodeBulkCreationCodeDiscountRedeemCodeBulkCreationCodeConnectionDiscountRedeemCodeBulkCreationCodeEdgeDiscountRedeemCodeConnectionDiscountRedeemCodeEdgeDiscountShareableUrlDiscountUserErrorDutyGiftCardGiftCardConfigurationGiftCardConnectionGiftCardCreatePayloadGiftCardCreditPayloadGiftCardCreditTransactionGiftCardDeactivatePayloadGiftCardDeactivateUserErrorGiftCardDebitPayloadGiftCardDebitTransactionGiftCardEdgeGiftCardExpirationConfigurationGiftCardRecipientGiftCardSendNotificationToRecipientPayloadGiftCardSendNotificationToRecipientUserErrorGiftCardTransactionConnectionGiftCardTransactionEdgeGiftCardTransactionUserErrorGiftCardUpdatePayloadGiftCardUserErrorLineItemLineItemGroupLineItemSellingPlanMarketingActivitiesDeleteAllExternalPayloadMarketingActivityMarketingActivityConnectionMarketingActivityCreateExternalPayloadMarketingActivityCreatePayloadMarketingActivityDeleteExternalPayloadMarketingActivityEdgeMarketingActivityExtensionAppErrorsMarketingActivityUpdateExternalPayloadMarketingActivityUpdatePayloadMarketingActivityUpsertExternalPayloadMarketingActivityUserErrorMarketingBudgetMarketingEngagementMarketingEngagementCreatePayloadMarketingEngagementsDeletePayloadMarketingEventMarketingEventConnectionMarketingEventEdgePriceListPriceListAdjustmentPriceListAdjustmentSettingsPriceListConnectionPriceListCreatePayloadPriceListDeletePayloadPriceListEdgePriceListFixedPricesAddPayloadPriceListFixedPricesDeletePayloadPriceListFixedPricesUpdatePayloadPriceListParentPriceListPricePriceListPriceConnectionPriceListPriceEdgePriceListPriceUserErrorPriceListUpdatePayloadPriceListUserErrorQuantityPriceBreakQuantityPriceBreakConnectionQuantityPriceBreakEdgeQuantityRuleConnectionQuantityRuleEdgeStringEdgeSubscriptionAppliedCodeDiscountSubscriptionDraftDiscountAddPayloadSubscriptionDraftDiscountCodeApplyPayloadSubscriptionDraftDiscountRemovePayloadSubscriptionDraftDiscountUpdatePayloadSubscriptionManualDiscountTanqoryExtDiscountChannelAccessPayloadTanqoryExtMarketingActivitiesAssignPayloadTanqoryExtMarketingCampaignTanqoryExtMarketingCampaignConnectionTanqoryExtMarketingCampaignDeletePayloadTanqoryExtMarketingCampaignEdgeTanqoryExtMarketingCampaignLinkTanqoryExtMarketingCampaignMatchRuleTanqoryExtMarketingCampaignPayloadTanqoryExtMarketingCampaignRowTanqoryExtMarketingCampaignRuleTanqoryExtMarketingCampaignShortLinkTanqoryExtMarketingChannelRowTanqoryExtMarketingDayTanqoryExtMarketingPerformanceTanqoryExtMarketingUtmRowUTMParameters
Input objects 55
DiscountAmountInputDiscountAutomaticAppInputDiscountAutomaticBasicInputDiscountAutomaticBxgyInputDiscountCodeAppInputDiscountCodeBasicInputDiscountCodeBxgyInputDiscountCollectionsInputDiscountCombinesWithInputDiscountContextInputDiscountCustomerBuysInputDiscountCustomerBuysValueInputDiscountCustomerGetsInputDiscountCustomerGetsValueInputDiscountCustomerSegmentsInputDiscountCustomerSelectionInputDiscountCustomersInputDiscountEffectInputDiscountItemsInputDiscountMarketsInputDiscountMinimumQuantityInputDiscountMinimumRequirementInputDiscountMinimumSubtotalInputDiscountOnQuantityInputDiscountProductsInputDiscountRedeemCodeInputGiftCardCreateInputGiftCardCreditInputGiftCardDebitInputGiftCardRecipientInputGiftCardUpdateInputMarketingActivityBudgetInputMarketingActivityCreateExternalInputMarketingActivityCreateInputMarketingActivityUpdateExternalInputMarketingActivityUpdateInputMarketingActivityUpsertExternalInputMarketingEngagementInputPriceListAdjustmentInputPriceListAdjustmentSettingsInputPriceListCreateInputPriceListParentCreateInputPriceListParentUpdateInputPriceListPriceInputPriceListUpdateInputProductDiscountsWithTagsOnSameCartLineInputSubscriptionManualDiscountEntitledLinesInputSubscriptionManualDiscountFixedAmountInputSubscriptionManualDiscountInputSubscriptionManualDiscountLinesInputSubscriptionManualDiscountValueInputTanqoryExtMarketingCampaignInputTanqoryExtMarketingCampaignLinkInputTanqoryExtMarketingCampaignRuleInputUTMInput
Enums 44
AutomaticDiscountSortKeysBadgeTypeCodeDiscountSortKeysDiscountApplicationTargetTypeDiscountBuyerSelectionDiscountClassDiscountCodeSortKeysDiscountErrorCodeDiscountShareableUrlTargetTypeDiscountSortKeysDiscountStatusDiscountTagSortKeysGiftCardConfigurationExpirationUnitGiftCardCrossCurrencyRedemptionStrategyGiftCardDeactivateUserErrorCodeGiftCardErrorCodeGiftCardSendNotificationToRecipientUserErrorCodeGiftCardSortKeysGiftCardTransactionUserErrorCodeMarketingActivityExtensionAppErrorCodeMarketingActivityExternalStatusMarketingActivityHierarchyLevelMarketingActivitySortKeysMarketingActivityStatusMarketingActivityStatusBadgeTypeMarketingActivityUserErrorCodeMarketingBudgetBudgetTypeMarketingChannelMarketingEventSortKeysMarketingTacticMerchandiseDiscountClassPriceListAdjustmentTypePriceListCompareAtModePriceListPriceOriginTypePriceListPriceUserErrorCodePriceListSortKeysPriceListUserErrorCodeQuantityPriceBreakSortKeysQuantityRuleOriginTypeShippingDiscountClassSubscriptionDiscountRejectionReasonTanqoryExtAttributionModelTanqoryExtMarketingCampaignSortKeysTanqoryExtMarketingTraffic
Interfaces and unions 13
DiscountDiscountAutomaticDiscountCodeDiscountContextDiscountCustomerBuysValueDiscountCustomerGetsValueDiscountCustomerSelectionDiscountEffectDiscountItemsDiscountMinimumRequirementDiscountShippingDestinationSelectionGiftCardTransactionSubscriptionDiscount