def create(self, store_id, product_id, data):
self.store_id = store_id<EOL>self.product_id = product_id<EOL>if '<STR_LIT:id>' not in data:<EOL><INDENT>raise KeyError('<STR_LIT>')<EOL><DEDENT>if '<STR_LIT:title>' not in data:<EOL><INDENT>raise KeyError('<STR_LIT>')<EOL><DEDENT>response = self._mc_client._post(url=self._build_path(store_id, '<STR_LIT>', product_id, '<STR_LIT>'), data=data)<EOL>if response is not None:<EOL><INDENT>self.image_id = response['<STR_LIT:id>']<EOL><DEDENT>else:<EOL><INDENT>self.image_id = None<EOL><DEDENT>return response<EOL>
Add a new image to the product.

:param store_id: The store id.
:type store_id: :py:class:`str`
:param product_id: The id for the product of a store.
:type product_id: :py:class:`str`
:param data: The request body parameters
:type data: :py:class:`dict`
data = {
    "id": string*,
    "url": string*
}