Create SKU

Creates a new SKU from scratch

🚧

Warning!

You can't create a new SKU as active. To set an SKU as active, it must have:

  • At least one SKU File associated with it.
  • At least one active component associated with it, if the SKU is set as a kit.

If you create an SKU with IsActive as true, it will return a 400 - Bad Request.

🚧

Attention!

The PackagedWeightKg and WeightKg attributes are not exclusive in Kilos. It can be used in another weight unit. It is important to maintain consistency and use the same weight unit on both attributes.

Request body has the following properties:

AttributeTypeDescription
ProductIdintegerProduct ID
IsActivebooleanShows if the SKU is active. To avoid receiving a 400 - Bad Request this attribute must be false
NamestringSKU Name
RefIdstringSKU RefId
PackagedHeightdecimalPackaged Height
PackagedLengthdecimalPackaged Length
PackagedWidthdecimalPackaged Width
PackagedWeightKgdecimalPackaged Weight
HeightdecimalSKU Height
LengthdecimalSKU Length
WidthdecimalSKU Width
WeightKgdecimalSKU Weight
CubicWeightdecimalCubic Weight
IsKitbooleanShows if the SKU is a Kit
CreationDatestringSKU Creation Date
RewardValuedecimalHow much the client will get rewarded by buying the SKU
EstimatedDateArrivalstringSKU Estimated Date Arrival
ManufacturerCodestringManufacturer Code
CommercialConditionIdintegerCommercial Condition ID
MeasurementUnitstringMeasurement Unit
UnitMultiplierdecimalMultiplies the number of SKUs inserted on the cart
ModalTypestringDefines deliver model. The possible values are: "CHEMICALS", "ELECTRONICS", "FURNITURE", "GLASS", "LIQUID", "MATTRESSES", "REFRIGERATED", "TIRES", "WHITE_GOODS" and "FIREARMS"
KitItensSellApartbooleanDefines if Kit components can be sold apart

Request body example:

{
   "ProductId": 310117069,
   "IsActive": true,
   "Name": "sku test",
   "RefId": "125478",
   "PackagedHeight": 10,
   "PackagedLength": 10,
   "PackagedWidth": 10,
   "PackagedWeightKg": 10,
   "Height": null,
   "Length": null,
   "Width": null,
   "WeightKg": null,
   "CubicWeight": 0.1667,
   "IsKit": false,
   "CreationDate": null,
   "RewardValue": null,
   "EstimatedDateArrival": null,
   "ManufacturerCode": "123",
   "CommercialConditionId": 1,
   "MeasurementUnit": "un",
   "UnitMultiplier": 1,
   "ModalType": null,
   "KitItensSellApart": false
}

Response has the following properties:

AttributeTypeDescription
IdintegerSKU ID
ProductIdintegerProduct ID
IsActivebooleanShows if the SKU is active
NamestringSKU Name
RefIdstringSKU RefId
PackagedHeightdecimalPackaged Height
PackagedLengthdecimalPackaged Length
PackagedWidthdecimalPackaged Width
PackagedWeightKgdecimalPackaged Weight in Kilos
HeightdecimalSKU Height
LengthdecimalSKU Length
WidthdecimalSKU Width
WeightKgdecimalSKU Weight in Kilos
CubicWeightdecimalCubic Weight
IsKitbooleanShows if the SKU is a Kit
CreationDatestringSKU Creation Date
RewardValuedecimalHow much the client will get rewarded by buying the SKU
EstimatedDateArrivalstringSKU Estimated Date Arrival
ManufacturerCodestringManufacturer Code
CommercialConditionIdintegerCommercial Condition ID
MeasurementUnitstringMeasurement Unit
UnitMultiplierdecimalMultiplies the number of SKUs inserted on the cart
ModalTypestringDefines deliver model. The possible values are: "CHEMICALS", "ELECTRONICS", "FURNITURE", "GLASS", "LIQUID", "MATTRESSES", "REFRIGERATED", "TIRES", "WHITE_GOODS" and "FIREARMS"
KitItensSellApartbooleanDefines if Kit components can be sold apart
VideosstringList of Videos URLs
{
   "Id":3,
   "ProductId": 310117069,
   "IsActive": true,
   "Name": "sku test",
   "RefId": "125478",
   "PackagedHeight": 10,
   "PackagedLength": 10,
   "PackagedWidth": 10,
   "PackagedWeightKg": 10,
   "Height": null,
   "Length": null,
   "Width": null,
   "WeightKg": null,
   "CubicWeight": 0.1667,
   "IsKit": false,
   "CreationDate": null,
   "RewardValue": null,
   "EstimatedDateArrival": null,
   "ManufacturerCode": "123",
   "CommercialConditionId": 1,
   "MeasurementUnit": "un",
   "UnitMultiplier": 1,
   "ModalType": null,
   "KitItensSellApart": false
}
Language
Authentication
URL
Click Try It! to start a request and see the response here!