Could we deploy a canister on a specified subnet?

I want some extra information for this, im unable to check wallet_create_canister method in motoko , do you have some example for that, already tried to use it according to docs, getting some error…
if you could help with that :
Blog for error