POST api/products/{id}/prices
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | 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. |
Request Formats
application/json, text/json
Sample:
{
"id": "71a991ee-60d1-4540-9e53-fb376007e1c8",
"amount": 1.0,
"currency": "sample string 2",
"productId": "a1db61ab-6e3a-4ce5-9e40-c19e1401e434"
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.