We have a carrier with different costs for different zones. Some of these zones only apply to a state of a country. For example: Canary Islands in Spain.
When we create an order through Webservice, the shipping costs are always taken from the zone of the country given in the delivery address, even if we have chosen a state that belongs to another Zone.
Following the example above, if we choose the state of Canary Islands, the costs that Prestashop computes are taken from Europe Zone that is the zone of Spain. The expected behaviour should be to take the Canary Islands zone.
If we do the same process via Web, the behaviour is as expected.
If we choose other Spanish state via Webservice, it takes the Europe zone costs as expected.
Please see the attached images.