Foreign online sale and income tax?

If I am selling on a foreign online platform and ship merchandises directly from the US to another country, should I pay income tax to the US, or to the country I am shipping the merchandises to?