You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
DiscountCodeInfo
export type DiscountCodeInfo = {
__typename?: 'DiscountCodeInfo';
discountCodeRef: Reference;
state?: Maybe<DiscountCodeState>;
discountCode?: Maybe<DiscountCode>;
};