# How to create/update a gift note

**URL:** <https://community.shiphero.com/t/how-to-create-update-a-gift-note/350>\
**Category:** GraphQL API\
**Created:** [February 17, 2020, 9:24pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350 "2020-02-17T21:24:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![albrana](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/albrana/32/91_2.png) [@albrana](https://community.shiphero.com/u/albrana)\
**Post date:** [February 17, 2020, 9:24pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350/1 "2020-02-17T21:24:02Z")

</div>

Can someone give me a simple example of how to create or update an order gift note please?

---

<div class="post-metadata">

**Author:** ![albrana](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/albrana/32/91_2.png) [@albrana](https://community.shiphero.com/u/albrana)\
**Post date:** [February 17, 2020, 10:06pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350/2 "2020-02-17T22:06:33Z")

</div>

What are the valid values for note\_attributes name field?

---

<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:** [February 18, 2020, 2:27pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350/3 "2020-02-18T14:27:50Z")

</div>

Hi @albrana  
The ability to add/modify an order’s gift note is not available currently on the API.  
I already made the request for our team to add it to the order and order\_update mutation. I will let you know as soon as it’s approved or there’s any update about it.  
Thanks!,  
Tom

---

<div class="post-metadata">

**Author:** ![albrana](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/albrana/32/91_2.png) [@albrana](https://community.shiphero.com/u/albrana)\
**Post date:** [February 18, 2020, 9:56pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350/4 "2020-02-18T21:56:11Z")

</div>

Thanks Tomas. I appreciate the update.

---

<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:** [March 3, 2020, 2:57pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350/5 "2020-03-03T14:57:56Z")

</div>

Hi @albrana!  
This should be available now when creating/updating an order.  
Thanks for the patience on this!  
Tom

---

<div class="post-metadata">

**Author:** ![albrana](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/albrana/32/91_2.png) [@albrana](https://community.shiphero.com/u/albrana)\
**Post date:** [March 3, 2020, 7:09pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350/6 "2020-03-03T19:09:31Z")

</div>

Thanks Tomas, but can you give me a simple example for creating/updating a gift note please?

---

<div class="post-metadata">

**Author:** ![albrana](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/albrana/32/91_2.png) [@albrana](https://community.shiphero.com/u/albrana)\
**Post date:** [March 3, 2020, 7:15pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350/7 "2020-03-03T19:15:44Z")

</div>

This is not working: note\_attributes: [{ name: “gift\_note”, value: “test gift note” }]

---

<div class="post-metadata">

**Author:** ![seba](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@seba](https://community.shiphero.com/u/seba)\
**Post date:** [March 3, 2020, 8:01pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350/8 "2020-03-03T20:01:09Z")

</div>

@albrana you should use the `gift_note` field in the create/update order mutation

---

<div class="post-metadata">

**Author:** ![albrana](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/albrana/32/91_2.png) [@albrana](https://community.shiphero.com/u/albrana)\
**Post date:** [March 14, 2020, 11:42pm UTC](https://community.shiphero.com/t/how-to-create-update-a-gift-note/350/9 "2020-03-14T23:42:35Z")

</div>

Thanks @seba, this is working for me now.
