Create SKU

Creates a new SKU.

Request body example

{
   "ProductId": 310117069,
   "IsActive": true,
   "ActivateIfPossible": 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,
   "Videos": [ "https://www.youtube.com/" ]
}

Response body example

{
   "Id":3,
   "ProductId": 310117069,
   "IsActive": true,
   "ActivateIfPossible": 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,
   "Videos": [ "https://www.youtube.com/" ]
}

🚧

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.

Language
Authentication
URL
Click Try It! to start a request and see the response here!