Newer Version Available
Calculate Taxes Line Item Input
Calculate taxes line item input.
- JSON example
-
1{ 2 "lineId": "lineId1", 3 "productId": "01txx0000006pTkAAI", 4 "quantity": "1", 5 "unitPrice": "100", 6 "totalPrice": "100", 7 "adjustments": [ 8 { 9 "id": "lineAdjustment1", 10 "type": "promotional", 11 "amount": "-10" 12 }, 13 { 14 "id": "lineAdjustment2", 15 "type": "tiered", 16 "amount": "-5" 17 } 18 ] 19} - Properties
-
Name Type Description Required or Optional Available Version lineId String Line ID. Required 58.0 productId String Product ID. Required 58.0 quantity String Quantity of product. Required 58.0 unitPrice String Unit price of the product. Required 58.0 totalPrice String Total price for the item. Required 58.0 adjustments Line Adjustment Input[] List of adjustment inputs. Optional 58.0