Applying order_wide discounts to service changes

Is there a way to make order wide discounts apply to service_charges as well as to the line items? In the order below shipping is added as a service charge for $3 and we have one line item for $2. The service charge is set to calculation_phase => SUBTOTAL .

When I add a discount with Scope => ORDER it still says the order total is $3 not $2 as I would expect. Looking through the results I can see that the total_discount_money for the product is $2 and there is no such field on the service charge.

Can I make the discount apply to the service charge as well? Would it be better to bill shipping as a line item instead of a service_charge?

{
  /* ... */
  "id": "XaOLee3CAwZMsYUQ4gFoajGiuaB",
  "location_id": "LM0BVYG4D7QCP",
  "line_items": [
    {
      /* ... */
      "quantity": "1",
      "name": "another_test_product",
      "variation_name": "Color: green ($2.00)",
      "base_price_money": {
        "amount": 200,
        "currency": "USD"
      },
      "gross_sales_money": {
        "amount": 200,
        "currency": "USD"
      },
      "total_discount_money": {
        "amount": 200,
        "currency": "USD"
      },
      "total_money": {
        "amount": 0,
        "currency": "USD"
      },
      "applied_discounts": [
        {
          "uid": "89BaPdHAcIp7I94YOF89a",
          "discount_uid": "d9Q4fQU8CcM1drSpKTpkOC",
          "applied_money": {
            "amount": 200,
            "currency": "USD"
          }
        }
      ],
      "item_type": "ITEM"
    }
  ],
  "discounts": [
    {
      "uid": "d9Q4fQU8CcM1drSpKTpkOC",
      "name": "Discounts",
      "amount_money": {
        "amount": 300,
        "currency": "USD"
      },
      "applied_money": {
        "amount": 200,
        "currency": "USD"
      },
      "type": "FIXED_AMOUNT",
      "scope": "ORDER"
    }
  ],
  "total_discount_money": {
    "amount": 200,
    "currency": "USD"
  },
  "total_money": {
    "amount": 300,
    "currency": "USD"
  },
  "service_charges": [
    {
      "uid": "wTk08QheZkPLFpkIDoyaoD",
      "name": "Shipping",
      "amount_money": {
        "amount": 300,
        "currency": "USD"
      },
      "applied_money": {
        "amount": 300,
        "currency": "USD"
      },
      "calculation_phase": "SUBTOTAL_PHASE",
      "taxable": false,
      "total_money": {
        "amount": 300,
        "currency": "USD"
      },
      "total_tax_money": {
        "amount": 0,
        "currency": "USD"
      },
      "type": "CUSTOM"
    }
  ],
  "total_service_charge_money": {
    "amount": 300,
    "currency": "USD"
  },
  "net_amounts": {
    "total_money": {
      "amount": 300,
      "currency": "USD"
    },
    "tax_money": {
      "amount": 0,
      "currency": "USD"
    },
    "discount_money": {
      "amount": 200,
      "currency": "USD"
    },
    "tip_money": {
      "amount": 0,
      "currency": "USD"
    },
    "service_charge_money": {
      "amount": 300,
      "currency": "USD"
    }
  },
  "customer_id": "T35EDQCEY0W0VCX487DG1Z21RC",
  "net_amount_due_money": {
    "amount": 300,
    "currency": "USD"
  }
}

:wave: At this time discounts aren’t able to have discounts apply to them which is why in the order the discount didn’t apply. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

OK, I’ll just add the shipping as a line-item for now then.