Gift Card - Custom Line item

Gift Card - Custom Line item

sakshigupta
Shopify Partner
6 0 0

Hi all when we create a draft order using the api, we have the option to add a custom product as a line item, it has a property called 

"gift_card": true
Even after marking this as true shopify still marks the order created product as gift_card false.

{"draft_order":{ "line_items":[{  "title":"Custom Tee","price":"20.00","quantity":2, "gift_card": true, "requires_shipping" : false, "taxable" : false}]}}
What is the way to mark this as a gift card?
Replies 0 (0)