I've reached a point on a project where I'm stuck, and I think it's probably due to not knowing the right terminology to search for.
What I need to do is access external services via API. In this case, it's shipping. The customer buys a product and depending on the product type, a different shipping provider is used, and also a different external API.
Ie they order Ice Cream and need it delivered immediately so provider A is used, another time they order a large boulder, so provider B is used.
Internally I want to use the one API, that then uses the correct API externally depending on the product.
So, what's this concept called? Or even more awesome, are there existing tutorials for it?