Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Api Orders (Promotions: Free Shipping) Rate Topic   - - - - -

 
  • soldierly
  • Member
  • Members
  • Join Date: 10-Jun 09
  • 112 posts

Posted 12 May 2018 - 12:51 PM #1

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": [
""
],


CSCART 4.7.4 ULT


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 14 May 2018 - 06:31 AM #2

Please post this issue to the bug tracker


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.