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

Admin API / Types

CreateDiscountCodePayload

Union

The result of createDiscountCode.

union CreateDiscountCodePayload = CreateDiscountCodeSuccess | CurrencyMismatchError | DiscountCodeTakenError | IdempotencyConflictError | UnauthorizedError

Members

  • CreateDiscountCodeSuccess
  • CurrencyMismatchError
  • DiscountCodeTakenError
  • IdempotencyConflictError
  • UnauthorizedError

Returned by

  • Mutation.createDiscountCode
© 2026 District
Privacy policyTerms of service