# Partner\_line\_item\_id and Orders being deleted (or overwritten)

**URL:** <https://community.shiphero.com/t/partner-line-item-id-and-orders-being-deleted-or-overwritten/317>\
**Category:** GraphQL API\
**Created:** [January 30, 2020, 8:59pm UTC](https://community.shiphero.com/t/partner-line-item-id-and-orders-being-deleted-or-overwritten/317 "2020-01-30T20:59:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fairweather](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fairweather](https://community.shiphero.com/u/fairweather)\
**Post date:** [January 30, 2020, 8:59pm UTC](https://community.shiphero.com/t/partner-line-item-id-and-orders-being-deleted-or-overwritten/317/1 "2020-01-30T20:59:08Z")

</div>

I just started adding some test orders through the GraphQL API. I was using identical information on each test but changed the OrderNumber field. After the first order went in, it showed up in the list. I changed the order id and created another order through the API and when I refreshed the page, my old order was gone and only the new one was there. I did this several times until I changed one value: “partner\_line\_item\_id” on the line item. When I changed that to something else and sent the order\_create request, I would then get a new order.

Is this the desired behavior?

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [January 31, 2020, 7:28pm UTC](https://community.shiphero.com/t/partner-line-item-id-and-orders-being-deleted-or-overwritten/317/2 "2020-01-31T19:28:17Z")

</div>

Hi @fairweather  
Yes, that is the desired behavior.  
The `partner_line_item_id` has to be unique across all of the line items. It works as an identifier for all of the line items on the account.  
If you repeat the `partner_line_item_id` it will overwrite the previous one.  
Let me know if that doesn’t help.  
Thanks!
