Add Line Item Properties to Order after Checkout

billyaternesta
Shopify Partner
3 0 1

Hello,

I've seen this question raised here, but I wanted to add some context to it.  

Why can't we update line item properties (aka customAttributes) in the Shopify Admin UI or using the Admin API (Graphql or REST)?  The reason I think this is necessary, is because for some reason you are able to delete them in the UI when viewing an existing order:

billyaternesta_0-1697037760054.png

 

Reviewing this documentation about editing existing orders,  it's clear that the type of edits you can make are limited.  Updating customAttributes on order line items is not one of the choices, neither is deleting them, unless you are in the Admin UI of course.  This allows store owners to enter an irrecoverable state.  

We should either be able to edit custom attributes of an order, or we should not be able to delete them in the UI.  I'm sure you've guessed by now that we have lost some data on an order 😎.

Thanks for your help.

Replies 7 (7)

Liam
Shopify Staff
2731 301 778

Hi Billyaternesta,

 

Thanks for providing this context on managing/ updating line item properties. As you've noticed, Shopify does not support the modification of customAttributes through the Admin API, either in GraphQL or REST. The ability to edit customAttributes was not initially included in the API's design, and this is why it's not listed as an option in the documentation.

 

As for the ability to delete customAttributes in the Admin UI - I believe this feature was included in the UI to provide store owners with more flexibility in managing their orders. If you've lost data in an order I totally understand the inconvenience this may cause - I'll bring your feedback to our product teams on this! 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Rosstheboss
Shopify Partner
27 1 20

Hi Liam,

 

Does Shopify have any plans on letting merchants manage line item properties of orders? A lot of customers want to change orders (which is why Shopify has an edit order feature) and merchants can't edit orders without either refunding the customer or completely messing up their accounting, making it impossible to reconcile sales and payouts. 

 

Hopefully this is recognized as a serious need.

Kristen_Z
Shopify Partner
9 0 2

I agree. adding & changing line item properties in the admin backend is very important to our products

Rosstheboss
Shopify Partner
27 1 20

Hi Liam,

 

I see that Shopify has been releasing API updates on a semi-annual basis now and has updated the draft orders and other parts of the API. Do you know if editing the line item properties is on the horizon? This is such a huge oversight to allow merchants to utilize a powerful tool, but then hamstring them by only allowing the creation and not editing of those fields. There are a lot of customers that this would change the way that they do business (myself included) because natively editing orders would allow us to properly reconcile our books/accounting.

Wizaniac
Visitor
1 0 0

Hi Liam,
I'd also like to weigh in on this feature request as a developer. It would be greatly beneficial if the suggested API change will let us add line items to an already checked out order. Hoping to see this feature get implemented super fast.
Thanks!

NicoRi
Excursionist
15 0 2

As to raise some more attention, I'd just like to chime in on this feature request - and it would be absolutely marvelous if this change, should it come to the Admin UI (which likely uses the API anyway), could also be reflected in the POS app for creating new orders.

zhuddart
Shopify Partner
9 0 2

I wouldn't count on Shopify to update features based on what their customer base actually requests, I have been waiting for this for 3 years! I even raised it with our Plus account manager. It seems they would rather waste their resources on subpar AI and flashy ui updates