How to properly populate a <sw-select-field...> in a module-name-detail.html.twig file with a collection say UnitCollection (entity and collection already set up)?
I had a look into /vendor/shopware/platform/src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-packaging-form/sw-product-packaging-form.html.twig and got it working!
Can anybody help me with creating orders through the API. These are old orders I am importing. I post to the /order endpoint.
I got most of it working now, except for deliveries and transactions.
I post them in the same call - but for both I get this error:
This field is write-protected. (Got: "crud" scope and "system" is required)"