Books API sales order created with item lines without rate have by default 0

Books API sales order created with item lines without rate have by default 0

I found that on your api.

I can create an invoice from the api with item line without rate, in that case it will have the default rate i've configured for that item on the dashboard. 

But for sales order the default rate is always 0.

Here a sample request : 
  1. #!/bin/bash
    BODY='
  2. {
  3.   "line_items": [{
  4.     "quantity": 1,
  5.     "item_id": "330148000000114045"
  6.   }],
  7.   "customer_id": "330148000000114143"
  8. }'

  9. ENCODED=$(php -r  "echo rawurlencode('$BODY');")

  10. curl -XPOST "https://books.zoho.com/api/v3/salesorders?organization_id=XXXX&authtoken=XXXXX&JSONString=$ENCODED" -H "Content-Type: application/json"