I would like to setup the products/variants not to require a shipping address and I would like to use the shipping notification email to notify the users and sent them their download url (as the products are digitally distributed).
Right now it looks like I cannot specify a tracking_url for variants where the ‘Require a shipping address’ is disabled. Is this the intended behaviour or is there another way?
This is the code I have right now:
f = ShopifyAPI::Fulfillment.new
f.prefix_options[:order_id] = <shopify order id>
f.tracking_number = <some number>
f.tracking_url = <url>
f.notify_customer = true
f.line_items = ids
f.save
This is the intended behaviour.