[api] Allow variants and option types to be created/updated through products api