Wie können Zuschläge und Rabatte über die API aktualisiert werden?

Hier ist ein Beispiel Aufruf über die Shopware Sync API: {{baseUrl}}/_action/sync

[
    {
        "action": "upsert",
        "entity": "acris_rule_s_d",
        "priority": 10,
        "payload": [
            {
                "id": "01947370acd87ca888b378a25830807d",
                "internalName": "Internal Name (required)",
                "internalId": "Internal ID",
                "displayName": "Name for display (required)",
                "infoText": "Infotext for display
", "active": true, "type": "absolute", "calculateQuantity": "no", "priority": 10, "affectedTypes": [ "product" ], "calculationBase": "good", "promotionOrder": "beforePromotion", "taxType": "auto", "price": [ { "net": 100, "gross": 119, "linked": false, "currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca" } ], "assignMethod": "lineItem", "icon": "default", "salesChannels": [ { "id": "0192c41809a773eca68f8da8237b29ac" } ], "rules": [ { "id": "0192c416f26072a9b8ee920fc9e6f223" } ] } ] } ]