# PriceRuleDiscountCode - admin - OBJECT Version: 2025-01 ## Description A discount code of a price rule. ### Access Scopes `read_price_rules` access scope. ## Fields * [app](/docs/api/admin/2025-01/objects/App): App - The application that created the discount code. * [code](/docs/api/admin/2025-01/scalars/String): String! - The code to apply the discount. * [id](/docs/api/admin/2025-01/scalars/ID): ID! - A globally-unique ID. * [usageCount](/docs/api/admin/2025-01/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