# API OrderLineItem difference between id and identifier

**URL:** https://forum.shopware.com/t/api-orderlineitem-difference-between-id-and-identifier/100634
**Category:** Shopware 6 (English)
**Created:** [26. Juli 2023 um 09:40 UTC](https://forum.shopware.com/t/api-orderlineitem-difference-between-id-and-identifier/100634 "2023-07-26T09:40:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mbr](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mbr](https://forum.shopware.com/u/mbr)
#### Post date: [26. Juli 2023 um 09:40 UTC](https://forum.shopware.com/t/api-orderlineitem-difference-between-id-and-identifier/100634/1 "2023-07-26T09:40:35Z")

</div>

I wonder what’s the difference between `id` and `identifier` in the OrderLineItem object.

Yes, they have different values, but what are they referrencing / what does reference them?

I mentioned when working on discount-information that in the `payload` if it is discount-data there’s an entry `composition` which contains the discount-composition referring to `identifier`.
