Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Gift Card - Custom Line item

Gift Card - Custom Line item

sakshigupta
Shopify Partner
8 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)