POST api/v1/SaleProducts/PostAttributes
Varyasyonlarin miktarlarini ve satis taslak urunun icerigini gunceller. Step 2
Request Information
URI Parameters
None.
Body Parameters
SaleProductBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| productId | integer |
None. |
|
| title | string |
None. |
|
| description | string |
None. |
|
| price | decimal number |
None. |
|
| Currency | integer |
None. |
|
| AddressId | integer |
None. |
|
| includingShipping | boolean |
None. |
|
| Attributes | Collection of SaleAttributeBindingModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"productId": 2,
"title": "sample string 3",
"description": "sample string 4",
"price": 5.1,
"Currency": 6,
"AddressId": 7,
"includingShipping": true,
"Attributes": [
{
"id": 1,
"AttributeId": 1,
"count": 2
},
{
"id": 1,
"AttributeId": 1,
"count": 2
}
]
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.