POST api/products/{id}/prices/{type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
|
| type | string |
Required |
Body Parameters
PriceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Amount | decimal number |
None. |
|
| Currency | string |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| Symbol | string |
None. |
|
| IsSymbolBefore | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "aacf3a8b-1fbe-40d1-a4a8-77a91415242e",
"amount": 1.0,
"currency": "sample string 2",
"productId": "0da1a260-e75b-445d-a00e-a2ab562a65ec",
"symbol": "sample string 3",
"isSymbolBefore": true
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.