POST api/promozionicarrello/PrivateSale/Create
Create Private Sale
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| _privateSaleCreateParameter | Private Sale Create Parameter |
Define this parameter in the request body. |
Request body formats
text/json, application/json
Sample:
{
"nome": "Private Sale Numero Cinque",
"teaser": "PS5",
"descrizione": "Descrizione Private Sale Numero Cinque",
"data_inizio": "20150610",
"data_fine": "20150810",
"id_tipo_sconto": 2,
"id_comportamento": 1,
"valore": 25.00,
"skus": ["7463309","7463308"]
}
text/xml, application/xml, application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
text/json, application/json
Sample:
{
"id": "20021",
"nome": "Private Sale Numero Cinque",
"teaser": "PS5",
"descrizione": "Descrizione Private Sale Numero Cinque",
"data_inizio": "20150610",
"data_fine": "20150810",
"id_tipologia": 36,
"tipologia": "Private Sale",
"id_tipo_sconto": 2,
"tipo_sconto": "Percentuale",
"id_comportamento": 1,
"comportamento": "Sconto",
"valore": "25.00",
"skus": [
"7463308",
"7463309"
],
"smart_group": "6729",
"attiva": false
}
text/xml, application/xml
Sample: