# DiscountCodeBasicCreatePayload - admin-graphql - PAYLOAD Version: 2024-07 ## Description Return type for `discountCodeBasicCreate` mutation. ### Access Scopes ## Fields * [codeDiscountNode](/docs/api/admin-graphql/2024-07/objects/DiscountCodeNode): DiscountCodeNode - The discount code that was created. * [userErrors](/docs/api/admin-graphql/2024-07/objects/DiscountUserError): DiscountUserError! - The list of errors that occurred from executing the mutation. ## Connections ## Mutations with this payload * [discountCodeBasicCreate](/docs/api/admin-graphql/2024-07/mutations/discountCodeBasicCreate) ## Examples