My goal here so to make the listing say "Free International Shipping". Trying to set up international options and it said I need to set ShipToLocation I tried the line below:
internationalShippingOptions.ShipToLocation.Add("Worldwide");
But when the program hits it I get this error:
"Object reference not set to an instance of an object"
If you would like to see the full method it is:
    static ShippingDetailsType BuildShippingDetails()
    {
        ShippingDetailsType sd = new ShippingDetailsType();
        sd.ApplyShippingDiscount = false;
        sd.ShippingType = ShippingTypeCodeType.Flat;
        AmountType amount = new AmountType();
        amount.Value = 0;
        amount.currencyID = CurrencyCodeType.USD;            
        ShippingServiceOptionsTypeCollection shippingOptions = new ShippingServiceOptionsTypeCollection();
        ShippingServiceOptionsType domesticShippingOptions = new ShippingServiceOptionsType();
        domesticShippingOptions.ShippingService = ShippingServiceCodeType.EconomyShippingFromOutsideUS.ToString();
        domesticShippingOptions.FreeShipping = true;
        domesticShippingOptions.ShippingServiceCost = amount;
        domesticShippingOptions.ShippingServicePriority = 1;
        shippingOptions.Add(domesticShippingOptions);
        ShippingServiceOptionsType internationalShippingOptions = new ShippingServiceOptionsType();
        InternationalShippingServiceOptionsType internationalShippingOptions = new InternationalShippingServiceOptionsType();
        internationalShippingOptions.ShippingService = ShippingServiceCodeType.StandardInternational.ToString();
        internationalShippingOptions.ShipToLocation.Add("Worldwide");
        internationalShippingOptions.FreeShipping = true;
        sd.InternationalShippingServiceOption = new InternationalShippingServiceOptionsTypeCollection(new InternationalShippingServiceOptionsType[] { internationalShippingOptions });
        sd.ShippingServiceOptions = shippingOptions;
        return sd;
    }
 
    