Create Sku by Code

Creates a new product sku by using its code

Request body example:

{
    "productId":"409027D7-D72B-4FF9-AAF2-00055901DE9A",
    "productCode":"45983098940353",
    "id": "E0E69B88-DEA9-4508-BFD2-39F4289C6F0B",
    "code": "23412432435365234",
    "auxCode": "1234-aux",
    "barcode": "000000040433",
    "name": "Teste Sku",
    "minStock": 0,
    "isActive": true,
    "imageUrl": "https://dev-lori.neomode.com.br/assets/img/logo_s.png",
    "images": [],
    "Attributes": []
}

Fields description:

FieldTypeDescription
idGuidSku ID
productIdGuidProduct ID
nameStringSku name
urlStringSku address
hexColorHexadecimalProduct sku color defined
isActiveBooleanIf the collection is active or not
lastUpdateDateCategory last update
imagesArray ObjectThe images of this sku
clientIdStringThe client ID
codeStringProduct sku code
auxCodeStringProduct sku aux code
barcodeStringProduct sku barcode
minStockIntProduct sku minimum stock
imageUrlStringSku image address
stocksArray ObjectThe stocks of this product sku
attributesArray ObjectThe sku attributtes array
Language
Authorization
Basic
base64
:
URL