This mutation assumes that below already exists in the system:
template with code template
textarea attribute with code description
textarea attribute with code short_description
text attribute with code text
pl_PL
language is active
Note that each mutation is aliased (create: (...)
).
Aliasing is required if there are at least two same mutations in one batch - productAddAttributeValueTranslationsTextarea
in this case.
For simplicity, all mutations have been aliased in the example but it'd also suffice to only alias duplicates.