POST api/store-portal/products
Request Information
URI Parameters
None.
Body Parameters
StoreProductUpsertRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| ImageUrl | string |
None. |
|
| Price | decimal number |
None. |
|
| IsAvailable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"imageUrl": "sample string 2",
"price": 3.0,
"isAvailable": true
}
application/xml, text/xml
Sample:
<StoreProductUpsertRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.StorePortal"> <ImageUrl>sample string 2</ImageUrl> <IsAvailable>true</IsAvailable> <Name>sample string 1</Name> <Price>3</Price> </StoreProductUpsertRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.