Add shipping cost in draft order API

Annadurai
Visitor
1 0 0

 

Last few days We are creating draft order manuallly through the following api,

 

 

[POST] /admin/api/2022-07/draft_orders.json

 

 

In the above api , we can add shipping cost in the order.

 

 

Now we could not add shopping cost in the draft order.

 

 

Payload

{

   "shipping_line" : {

      "custom" : "true",

      "title" : "Shipping Cost",

      "price":200

   }

}

Replies 0 (0)