I am developing a headless Magento backend using REST/Graphql on the frontend.

After enabling the Gift Message module in admin, I set correctly set the Cart gift-message like so:


Request body: `

{"giftMessage":{"sender": "person a","recipient": "person b","message": "hello to you"}}

And correctly, receive the response as:


I then place the order and the order is created. Yet, when I GET the full order with REST API, there is no gift-message in the response at all.

The only way to get a gift-message is to manually type it in on Admin Edit Order and hit save, which is unacceptable for various reasons.

Can anyone enlighten me to the flow on this please? Help much appreciated Thanks.

1 Answer 1


You can learn how to add extension_attributes to your order so you can add a gift message when the order is successfully paid.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.