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": "659dd680-4cce-4b0a-8828-48a1903567f3",
"amount": 1.0,
"currency": "sample string 2",
"productId": "cf214039-63e7-4918-8938-e76428c7694a"
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.