.This call allows you to change the stock of a certain SKU.
...
If adjust_pending parameter set to true, Browntape will deduct the pending_dispatch_stock before saving the stock. If set to false, then the stock will be stored as is.
If adjust_back_orders param is set to true, BT will deduct the open back orders (Myntra & Jabong) for that SKU before saving the stock.
Pending Dispatch Stock corresponds to the stock deducted for the orders received for a particular custom_code and those orders are pending to be shipped.
Eg:
Sr NoSNo | custom_code | Current BT stock | Pending Dispatch Stock | API Stock | Adjust_Pending | Final Stock |
---|---|---|---|---|---|---|
1 | ABC_210 | 80 | 0 | 100 | TRUE | 100 |
2 | ABC_123 | 50 | 0 | 100 | FALSE | 100 |
3 | ABC_456 | 70 | 10 | 100 | TRUE | 90 |
4 | ABC_789 | 30 | 10 | 100 | FALSE | 100 |
...