Discounts API
Explore the discounts API in Saleor 3.23.43. Choose an operation below, then follow its type links for arguments and return fields.
Start with Configure promotions for the implementation workflow.
API walkthrough · Authentication · Download schema
Queries
Mutations
- promotionBulkDelete
- promotionCreate
- promotionDelete
- promotionRuleCreate
- promotionRuleDelete
- promotionRuleTranslate
- promotionRuleUpdate
- promotionTranslate
- promotionUpdate
- saleBulkDelete
- voucherBulkDelete
- voucherCataloguesAdd
- voucherCataloguesRemove
- voucherChannelListingUpdate
- voucherCodeBulkDelete
- voucherCreate
- voucherDelete
- voucherTranslate
- voucherUpdate
Objects
- DiscountError
- ExportVoucherCodes
- OrderDiscount
- Promotion
- PromotionBulkDelete
- PromotionCountableConnection
- PromotionCountableEdge
- PromotionCreate
- PromotionCreated
- PromotionCreatedEvent
- PromotionDelete
- PromotionDeleted
- PromotionEnded
- PromotionEndedEvent
- PromotionRule
- PromotionRuleCreate
- PromotionRuleCreated
- PromotionRuleCreatedEvent
- PromotionRuleDelete
- PromotionRuleDeleted
- PromotionRuleDeletedEvent
- PromotionRuleTranslatableContent
- PromotionRuleTranslate
- PromotionRuleTranslation
- PromotionRuleUpdate
- PromotionRuleUpdated
- PromotionRuleUpdatedEvent
- PromotionStarted
- PromotionStartedEvent
- PromotionTranslatableContent
- PromotionTranslate
- PromotionTranslation
- PromotionUpdate
- PromotionUpdated
- PromotionUpdatedEvent
- Sale
- SaleAddCatalogues
- SaleBulkDelete
- SaleChannelListing
- SaleChannelListingUpdate
- SaleCountableConnection
- SaleCountableEdge
- SaleCreate
- SaleCreated
- SaleDelete
- SaleDeleted
- SaleRemoveCatalogues
- SaleToggle
- SaleTranslatableContent
- SaleTranslate
- SaleTranslation
- SaleUpdate
- SaleUpdated
- Voucher
- VoucherAddCatalogues
- VoucherBulkDelete
- VoucherChannelListing
- VoucherChannelListingUpdate
- VoucherCodeBulkDelete
- VoucherCodeBulkDeleteError
- VoucherCodeCountableConnection
- VoucherCodeCountableEdge
- VoucherCodeExportCompleted
- VoucherCountableConnection
- VoucherCountableEdge
- VoucherCreate
- VoucherCreated
- VoucherDelete
- VoucherDeleted
- VoucherMetadataUpdated
- VoucherRemoveCatalogues
- VoucherTranslatableContent
- VoucherTranslate
- VoucherTranslation
- VoucherUpdate
- VoucherUpdated
Inputs
- CatalogueInput
- CataloguePredicateInput
- DiscountedObjectWhereInput
- ExportVoucherCodesInput
- OrderPredicateInput
- PromotionCreateInput
- PromotionRuleInput
- PromotionSortingInput
- PromotionTypeEnumFilterInput
- PromotionWhereInput
- SaleChannelListingAddInput
- SaleChannelListingInput
- SaleFilterInput
- SaleInput
- SaleSortingInput
- VoucherChannelListingAddInput
- VoucherChannelListingInput
- VoucherFilterInput
- VoucherInput
- VoucherSortingInput
Enums
- DiscountErrorCode
- DiscountStatusEnum
- DiscountValueTypeEnum
- OrderDiscountType
- PromoCodeRejectionReason
- PromotionEventsEnum
- PromotionSortField
- PromotionTypeEnum
- RewardTypeEnum
- RewardValueTypeEnum
- SaleSortField
- SaleType
- VoucherCodeBulkDeleteErrorCode
- VoucherDiscountType
- VoucherTypeEnum
Deprecated operations remain available through search and the Deprecated section of the API navigation.