Gift Card Adjustment Linked Orders

Shopify Partner
2 0 0

I am using this api, I found that there is order_transaction_id in the api parameters, I want to know how to associate it with the order 

Reply 1 (1)

Shopify Staff
1442 236 492

Hey @leee,

Taking a closer look at the order_transaction_id field description for the Gift Card Adjustment resource, this field cannot be written manually. For the field to update, it requires an applicable order_transaction to occur that is associated with an adjustment, and will update automatically. 

A unique numeric identifier of the order transaction that issued the adjustment (if it was caused by an application of a gift card to an order).

I hope this helps clarify the expected results - Cheers!

Lastly, don't ever hesitate to provide direct feedback on both API and development documentation if you feel something is missing or that additional clarification is required - most of the pages include a dedicated feedback tool:

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit or the Shopify Web Design and Development Blog