Welcome to Just Answer. I am here to help you resolve your tax and finance concerns. Please feel free to ask anytime you need extra help.
If you purchased the electronics and paid NY sales tax you can claim a credit for the tax on the return of those items. The item was, effectively, not purchased. Therefore the tax that was paid should not have been paid.
Under these circumstances, you will not be able to claim a refund due you for this tax. NYS views you as the end consumer and if you had returned the items would offer the credit. However, the items not being returned, you will not eligible for a return of the sales tax.