POST api/SKU/SaveSKU
Request Information
URI Parameters
None.
Body Parameters
SKUCreationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| code | string |
None. |
|
| categoryId | integer |
None. |
|
| subCategoryId | integer |
None. |
|
| brandId | integer |
None. |
|
| parentSKUId | integer |
None. |
|
| skuType | string |
None. |
|
| unitsPerCase | decimal number |
None. |
|
| weightPerUnit | decimal number |
None. |
|
| weightUnit | string |
None. |
|
| promoCountryId | integer |
None. |
|
| promoBasePrice | string |
None. |
|
| vppercase | string |
None. |
|
| isInnovation | boolean |
None. |
|
| isFMP | boolean |
None. |
|
| skuPerCountryCIFs | Collection of EffectiveDateValuePerCountry |
None. |
|
| skuPerCountryPerCaseLCs | Collection of EffectiveDateValuePerCountry |
None. |
|
| skuPerCountryCoPackCosts | Collection of EffectiveDateValuePerCountry |
None. |
|
| skuPerCountryPerChannelPTTs | Collection of EffectiveDateValuePerCountryPerChannel |
None. |
|
| skuPerCountryPerChannelRSPs | Collection of EffectiveDateValuePerCountryPerChannel |
None. |
|
| skuPerDistributorCodes | Collection of SKUCodePerDistributor |
None. |
|
| promoSKUReference | Collection of PromoSKUReference |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"code": "sample string 3",
"categoryId": 4,
"subCategoryId": 5,
"brandId": 6,
"parentSKUId": 7,
"skuType": "sample string 8",
"unitsPerCase": 9.0,
"weightPerUnit": 10.0,
"weightUnit": "sample string 11",
"promoCountryId": 12,
"promoBasePrice": "sample string 13",
"vppercase": "sample string 14",
"isInnovation": true,
"isFMP": true,
"skuPerCountryCIFs": [
{
"id": 1,
"countryId": 2,
"value": 3.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"countryId": 2,
"value": 3.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
],
"skuPerCountryPerCaseLCs": [
{
"id": 1,
"countryId": 2,
"value": 3.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"countryId": 2,
"value": 3.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
],
"skuPerCountryCoPackCosts": [
{
"id": 1,
"countryId": 2,
"value": 3.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"countryId": 2,
"value": 3.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
],
"skuPerCountryPerChannelPTTs": [
{
"id": 1,
"countryId": 2,
"channelId": 3,
"value": 4.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"countryId": 2,
"channelId": 3,
"value": 4.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
],
"skuPerCountryPerChannelRSPs": [
{
"id": 1,
"countryId": 2,
"channelId": 3,
"value": 4.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"countryId": 2,
"channelId": 3,
"value": 4.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
],
"skuPerDistributorCodes": [
{
"id": 1,
"distributorId": 2,
"skuId": 3,
"code": "sample string 4"
},
{
"id": 1,
"distributorId": 2,
"skuId": 3,
"code": "sample string 4"
}
],
"promoSKUReference": [
{
"id": 1,
"skuId": 2,
"promoSkuId": 3,
"promoFormat": 4,
"vpCostPerUnit": 5.0,
"skuReferencePromoDepthPercentages": [
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
],
"skuReferenceTransportNDutiesPercentages": [
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
],
"skuReferenceOtherCostsPercentages": [
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
]
},
{
"id": 1,
"skuId": 2,
"promoSkuId": 3,
"promoFormat": 4,
"vpCostPerUnit": 5.0,
"skuReferencePromoDepthPercentages": [
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
],
"skuReferenceTransportNDutiesPercentages": [
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
],
"skuReferenceOtherCostsPercentages": [
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
},
{
"id": 1,
"value": 2.0,
"effectiveDate": "2026-02-25T11:08:41.0497879+00:00"
}
]
}
]
}
application/xml, text/xml
Sample:
<SKUCreationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICE.WebApi.Models">
<brandId>6</brandId>
<categoryId>4</categoryId>
<code>sample string 3</code>
<id>1</id>
<isFMP>true</isFMP>
<isInnovation>true</isInnovation>
<name>sample string 2</name>
<parentSKUId>7</parentSKUId>
<promoBasePrice>sample string 13</promoBasePrice>
<promoCountryId>12</promoCountryId>
<promoSKUReference>
<PromoSKUReference>
<PromoFormat>4</PromoFormat>
<VPCostPerUnit>5</VPCostPerUnit>
<id>1</id>
<promoSkuId>3</promoSkuId>
<skuId>2</skuId>
<skuReferenceOtherCostsPercentages>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
</skuReferenceOtherCostsPercentages>
<skuReferencePromoDepthPercentages>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
</skuReferencePromoDepthPercentages>
<skuReferenceTransportNDutiesPercentages>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
</skuReferenceTransportNDutiesPercentages>
</PromoSKUReference>
<PromoSKUReference>
<PromoFormat>4</PromoFormat>
<VPCostPerUnit>5</VPCostPerUnit>
<id>1</id>
<promoSkuId>3</promoSkuId>
<skuId>2</skuId>
<skuReferenceOtherCostsPercentages>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
</skuReferenceOtherCostsPercentages>
<skuReferencePromoDepthPercentages>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
</skuReferencePromoDepthPercentages>
<skuReferenceTransportNDutiesPercentages>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
<EffectiveDateValue>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>2</value>
</EffectiveDateValue>
</skuReferenceTransportNDutiesPercentages>
</PromoSKUReference>
</promoSKUReference>
<skuPerCountryCIFs>
<EffectiveDateValuePerCountry>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>3</value>
</EffectiveDateValuePerCountry>
<EffectiveDateValuePerCountry>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>3</value>
</EffectiveDateValuePerCountry>
</skuPerCountryCIFs>
<skuPerCountryCoPackCosts>
<EffectiveDateValuePerCountry>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>3</value>
</EffectiveDateValuePerCountry>
<EffectiveDateValuePerCountry>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>3</value>
</EffectiveDateValuePerCountry>
</skuPerCountryCoPackCosts>
<skuPerCountryPerCaseLCs>
<EffectiveDateValuePerCountry>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>3</value>
</EffectiveDateValuePerCountry>
<EffectiveDateValuePerCountry>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>3</value>
</EffectiveDateValuePerCountry>
</skuPerCountryPerCaseLCs>
<skuPerCountryPerChannelPTTs>
<EffectiveDateValuePerCountryPerChannel>
<channelId>3</channelId>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>4</value>
</EffectiveDateValuePerCountryPerChannel>
<EffectiveDateValuePerCountryPerChannel>
<channelId>3</channelId>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>4</value>
</EffectiveDateValuePerCountryPerChannel>
</skuPerCountryPerChannelPTTs>
<skuPerCountryPerChannelRSPs>
<EffectiveDateValuePerCountryPerChannel>
<channelId>3</channelId>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>4</value>
</EffectiveDateValuePerCountryPerChannel>
<EffectiveDateValuePerCountryPerChannel>
<channelId>3</channelId>
<countryId>2</countryId>
<effectiveDate>2026-02-25T11:08:41.0497879+00:00</effectiveDate>
<id>1</id>
<value>4</value>
</EffectiveDateValuePerCountryPerChannel>
</skuPerCountryPerChannelRSPs>
<skuPerDistributorCodes>
<SKUCodePerDistributor>
<code>sample string 4</code>
<distributorId>2</distributorId>
<id>1</id>
<skuId>3</skuId>
</SKUCodePerDistributor>
<SKUCodePerDistributor>
<code>sample string 4</code>
<distributorId>2</distributorId>
<id>1</id>
<skuId>3</skuId>
</SKUCodePerDistributor>
</skuPerDistributorCodes>
<skuType>sample string 8</skuType>
<subCategoryId>5</subCategoryId>
<unitsPerCase>9</unitsPerCase>
<vppercase>sample string 14</vppercase>
<weightPerUnit>10</weightPerUnit>
<weightUnit>sample string 11</weightUnit>
</SKUCreationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.