Wie können GPSR Produktinformationen über die API aktualisiert werden?

Das Plugin speichert die GPSR Informationen auf den Zusatzfeldern am Produkt. Hier ein Beispielaufruf der Sync-API auf das Produkt:

{
    "key": "write",
    "action": "upsert",
    "entity": "product",
    "payload": [
        {
            "id": "2a88d9b59d474c7e869d8071649be43c",
            "customFields": {
                "acris_gpsr_product_type": "Product type and product identifiers",
                "acris_gpsr_product_manufacturer": "Manufacturer information",
                "acris_gpsr_product_contact": "Responsible person (EU)",
                "acris_gpsr_product_hint_warning": "Warning note",
                "acris_gpsr_product_hint_safety": "Safety note",
                "acris_gpsr_product_hint_information": "Important information"
            },
            "acrisGpsrDownloads": [
                {
                    "mediaId": "0198552916a47a52a355375995611bdb",
                    "gpsrType": "warning_note"
                },
                {
                    "mediaId": "0198552916a47a52a355375995611bdb",
                    "gpsrType": "security_note"
                },
                {
                    "mediaId": "0198552916a47a52a355375995611bdb",
                    "gpsrType": "important_info"
                }
            ]
        }
    ]
}
Die Dokumente sind im Knoten acrisGpsrDownloads enthalten. Die 3 Typen der Dokumente sind "warning_note", "security_note" und "important_info". Die Medien Dateien müssen bei dem Aufruf bereits zu den Shopware Medien hochgeladen worden sein und die UUID muss bekannt sein.