The existing action mechanism only allows for transmitting parameters using the xxx-input mechanism but this does not allow to specify and validate complex (JSON) payloads.
Such payloads would be needed for things like adding items to carts or performing checkout.