---
title: DiscountAllocation - Customer API
description: >-
  Represents an amount discounting the line that has been allocated by a
  discount.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/objects/DiscountAllocation'
  md: 'https://shopify.dev/docs/api/customer/latest/objects/DiscountAllocation.md'
api_name: customer
api_type: graphql
type: object
---

# Discount​Allocation

object

Requires `customer_read_orders` access scope or `customer_read_draft_orders` access scope.

Represents an amount discounting the line that has been allocated by a discount.

## Fields

* allocated​Amount

  [Money​V2!](https://shopify.dev/docs/api/customer/latest/objects/MoneyV2)

  non-null

  The amount of discount allocated.

* discount​Application

  [Discount​Application!](https://shopify.dev/docs/api/customer/latest/interfaces/DiscountApplication)

  non-null

  The discount from which this allocated amount originated.

***

## Map

### Fields with this object

* [DraftOrderLineItem.discountAllocations](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItem#field-DraftOrderLineItem.fields.discountAllocations)
* [LineItem.discountAllocations](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-LineItem.fields.discountAllocations)
* [Order.shippingDiscountAllocations](https://shopify.dev/docs/api/customer/latest/objects/Order#field-Order.fields.shippingDiscountAllocations)
