# DraftOrderPlatformDiscount - admin-graphql - OBJECT Version: 2025-01 ## Description The platform discounts applied to the draft order. ### Access Scopes `read_draft_orders` access scope. ## Fields * [allocations](/docs/api/admin-graphql/2025-01/objects/DraftOrderPlatformDiscountAllocation): DraftOrderPlatformDiscountAllocation! - Price reduction allocations across the draft order's lines. * [automaticDiscount](/docs/api/admin-graphql/2025-01/scalars/Boolean): Boolean! - Whether the discount is an automatic discount. * [bxgyDiscount](/docs/api/admin-graphql/2025-01/scalars/Boolean): Boolean! - Whether the discount is a buy x get y discount. * [code](/docs/api/admin-graphql/2025-01/scalars/String): String - If a code-based discount, the code used to add the discount. * [discountClass](/docs/api/admin-graphql/2025-01/enums/DiscountClass): DiscountClass! - The discount class. * [discountNode](/docs/api/admin-graphql/2025-01/objects/DiscountNode): DiscountNode - The discount node for the platform discount. * [id](/docs/api/admin-graphql/2025-01/scalars/ID): ID - The ID of the discount. * [presentationLevel](/docs/api/admin-graphql/2025-01/scalars/String): String! - Whether the discount is line, order or shipping level. * [shortSummary](/docs/api/admin-graphql/2025-01/scalars/String): String! - The short summary of the discount. * [summary](/docs/api/admin-graphql/2025-01/scalars/String): String! - The summary of the discount. * [title](/docs/api/admin-graphql/2025-01/scalars/String): String! - The name of the discount. * [totalAmount](/docs/api/admin-graphql/2025-01/objects/MoneyV2): MoneyV2! - The discount total amount in shop currency. * [totalAmountPriceSet](/docs/api/admin-graphql/2025-01/objects/MoneyBag): MoneyBag! - The amount of money discounted, with values shown in both shop currency and presentment currency. ## Connections ## Related queries ## Related mutations ## Related Unions ## Examples