promotion: adds cargo when updating the status of orders.
when the order status is updated, it adds a shipping charge. wrong
Before:
Totals
Subtotal: $972.00
Total: $972.00
Api Put Orders Status:
After
Totals
Subtotal: $972.00
Shipping: $10.00
Total: $982.00
GET .../api/orders/100145
before:
"chosen_shippings": [
{
"shipping_id": "1",
"shipping": "Peşin Ödeme",
"delivery_time": "Aras Kargo",
"description": "",
"rate_calculation": "M",
"service_params": [],
"destination": "I",
"min_weight": "0.000",
"max_weight": "0.000",
"service_id": "0",
"free_shipping": true,
"module": null,
"service_code": null,
"disable_payment_ids": [
""
],
after:
PUT status .../api/orders/100145
{
"status": "A",
}
"chosen_shippings": [
{
"shipping_id": "1",
"shipping": "Peşin Ödeme",
"delivery_time": "Aras Kargo",
"description": "",
"rate_calculation": "M",
"service_params": [],
"destination": "I",
"min_weight": "0.000",
"max_weight": "0.000",
"service_id": "0",
"free_shipping": false,
"module": null,
"service_code": null,
"disable_payment_ids": [
""
],