Update only a specific note_attribute

Highlighted
Shopify Partner
38 0 2

I'm using the order API to update  note_attributes.
Is there a way to add/update only one specific note_attribute. Right now I'm only able to replace the whole array.

This would be really important since just fetching an order to get the current note_attributes and then adding the new one, opens a really huge concurrency issue, where data could be lost or overridden.

Best,
Gerwin.

 

0 Likes
Shopify Staff (Retired)
Shopify Staff (Retired)
46 0 3

Hi Gerwin,

At this time there isn't a way to update a single note_attribute. The existing note_attributes will be overwritten each time you make your request.

Thanks,

Kristina
Engineer, Developer Experience

0 Likes