Update SKU

Updates an existing SKU.

Request body example

{
   "Id": 310118448,
   "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": 310118449,
    "ProductId": 1,
    "IsActive": true,
    "ActivateIfPossible": true,
    "Name": "sku test",
    "RefId": "1254789",
    "PackagedHeight": 10.0,
    "PackagedLength": 10.0,
    "PackagedWidth": 10.0,
    "PackagedWeightKg": 10.0,
    "Height": null,
    "Length": null,
    "Width": null,
    "WeightKg": null,
    "CubicWeight": 0.1667,
    "IsKit": false,
    "CreationDate": "2020-04-22T12:12:47.5219561",
    "RewardValue": null,
    "EstimatedDateArrival": null,
    "ManufacturerCode": "123",
    "CommercialConditionId": 1,
    "MeasurementUnit": "un",
    "UnitMultiplier": 1.0,
    "ModalType": null,
    "KitItensSellApart": false,
    "Videos": [ "https://www.youtube.com/" ]
}

🚧

Warning!

You can't update an SKU as active if it doesn't 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 update an SKU with IsActive as true without this conditions, 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!