POST api/partners/v1/folderproducts/createnew
Request Information
URI Parameters
None.
Body Parameters
PartnerFolderProductCreateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerFolderId | integer |
None. |
|
| ProductId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| UnitPrice | decimal number |
None. |
|
| DiscountValue | decimal number |
None. |
|
| PayoutValue | decimal number |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Notes | string |
None. |
|
| Treatments | Collection of PartnerFolderProductTreatmentCreateRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerFolderId": 1,
"ProductId": 2,
"Quantity": 3.1,
"UnitPrice": 4.1,
"DiscountValue": 5.1,
"PayoutValue": 6.1,
"StartDate": "2026-11-16T01:50:46.387621+02:00",
"EndDate": "2026-11-16T01:50:46.387621+02:00",
"Notes": "sample string 9",
"Treatments": [
{
"TreatmentId": 1,
"Quantity": 2
},
{
"TreatmentId": 1,
"Quantity": 2
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PartnerFolderProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerFolderId | integer |
None. |
|
| ProductId | integer |
None. |
|
| ProductType | ProductTypes |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Quantity | decimal number |
None. |
|
| UnitPrice | decimal number |
None. |
|
| DiscountValue | decimal number |
None. |
|
| PayoutValue | decimal number |
None. |
|
| ProductDescription | string |
None. |
|
| Notes | string |
None. |
|
| State | FolderProductStates |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerFolderId": 2,
"ProductId": 3,
"ProductType": 0,
"StartDate": "2026-11-16T01:50:46.387621+02:00",
"EndDate": "2026-11-16T01:50:46.387621+02:00",
"Quantity": 6.1,
"UnitPrice": 7.1,
"DiscountValue": 8.1,
"PayoutValue": 9.1,
"ProductDescription": "sample string 10",
"Notes": "sample string 11",
"State": 0
}