developers
IntroductionMarketplace APIAdmin APIWebhooks
  • Overview
  • Authentication
  • Cookbook
  • Explorer
  • Reference index

Admin API / Types

UpdateDiscountCodePayload

Union

The result of updateDiscountCode.

union UpdateDiscountCodePayload = CurrencyMismatchError | DiscountCodeNotFoundError | UnauthorizedError | UpdateDiscountCodeSuccess

Members

  • CurrencyMismatchError
  • DiscountCodeNotFoundError
  • UnauthorizedError
  • UpdateDiscountCodeSuccess

Returned by

  • Mutation.updateDiscountCode
© 2026 District
Privacy policyTerms of service