# PriceRuleDiscountCode - admin-graphql - OBJECT Version: 2024-10 ## Description A discount code of a price rule. ### Access Scopes `read_price_rules` access scope. ## Fields * [app](/docs/api/admin-graphql/2024-10/objects/App): App - The application that created the discount code. * [code](/docs/api/admin-graphql/2024-10/scalars/String): String! - The code to apply the discount. * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - A globally-unique ID. * [usageCount](/docs/api/admin-graphql/2024-10/scalars/Int): Int! - The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count. ## Connections ## Related queries ## Related mutations ## Related Unions ## Examples