POST v1/store/login/user/orders/unsubmitted/items/{orderItemID}/price/calculate
Gets the price of the order item that has not been submitted.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderItemID |
The unique ID of the order item. |
globally unique identifier |
Required |
Body Parameters
The order item model.
OrderItemModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
The unique ID of the order item. |
globally unique identifier |
None. |
| FriendlyID |
The friendly ID of the order item. |
integer |
None. |
| ProductID |
The unique ID of the order item's product. |
globally unique identifier |
None. |
| Quantity |
The number of units of the product to be purchased in the order item. |
integer |
None. |
| Items |
The component order items of the order item. |
Collection of SubOrderItemModel |
None. |
| DeliveryMethod |
The selected delivery method of the order item. |
DeliveryMethod |
None. |
| DeliveryServiceID |
The selected delivery service id of the order item. |
globally unique identifier |
None. |
| Properties |
The order item's property values. |
Collection of OrderItemPropertyModel |
None. |
Request Formats
application/json
Sample not available.
text/json
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Returns the price of the provided order item model.
OrderItemPriceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Price |
The price of the order item. Includes delivery price. |
ProductPriceModel |
None. |
| IsMinimumPrice |
Indicates whether the price is the product's minimum price and not the actual price. |
boolean |
None. |
| MailingFee |
The price of mailing delivery of the order item. |
decimal number |
None. |
| ProductPrice |
The price of the product. Does not include the delivery price. |
decimal number |
None. |
Response Formats
application/json, text/json
{
"Price": {
"Price": 1.0,
"Tax": 2.0
},
"IsMinimumPrice": true,
"MailingFee": 2.0,
"ProductPrice": 3.0
}