Metadata Plus - Is it possible to create, delete and update via the commerce API?

Vote:
 

We have a PIM, in which we set our model structure. This we want to push into epi commerce. Is it possible to create metaclasses and metafields via the epi commerce api?

Thanks in advance!

#249563
Mar 04, 2021 15:29
Vote:
 

Although Nodes, metaclasses, and meta fields have clear representation in the database but Episerver supports the code first approach. 

However, you can write a service API that can create meta fields and metaclasses based on request. (useful if you have master & slave catalogue structure)

#249568
Mar 04, 2021 18:04
Vote:
 

Not sure what you meant "epi commerce api", but you can use MetaClass and MetaField class (in Mediachase.MetaDataPlus.Configurator namespace ) to create metaclasses and metafields (and to link them together) 

#249593
Mar 04, 2021 23:14
Daniel Sandberg - Mar 05, 2021 7:56
My bad. I was thinking of Service API.
Vote:
 

You can just write extensions to ServiceAPI (it's "just a REST endpoint"), using MetaClass and MetaField under the hood to do the same. But it's not available out of the box

#249599
Mar 05, 2021 8:32
Daniel Sandberg - Mar 05, 2021 12:06
Okay, Thank you for the explanation Quan.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.