Hello @SagarOZiva ,
When adding a shipping discount via REST API, you need to specifically cite “shipping_line” as your target_type with the discount. This is the case even if you are specifically using a code that is already marked as being shipping-specific in your admin, as API-applied discounts do not utilize the parameters of any codes that share their name in the admin.
Best,
Graham