POST api/Products/POST
Request Information
URI Parameters
None.
Body Parameters
Product| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Key | string |
None. |
|
| ProductShapes | Collection of ProductShape |
None. |
|
| Searchable | boolean |
None. |
|
| Returnable | boolean |
None. |
|
| Favorite | boolean |
None. |
|
| FridgeItem | boolean |
None. |
|
| AllowPriceOverride | boolean |
None. |
|
| InternationalCode | string |
None. |
|
| ProfitMargin | decimal number |
None. |
|
| ProductMedicines | Collection of ProductMedicine |
None. |
|
| ProductTranslators | Collection of ProductTranslator |
None. |
|
| ShortageTypeId | integer |
None. |
|
| MainImageUrl | string |
None. |
|
| ProductSubCategories | Collection of ProductSubCategory |
None. |
|
| ShortageType | ShortageType |
None. |
|
| MaximumReturnDays | integer |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |