post https://{environment}.neomode.com.br/management/catalog/skus
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:
Field | Type | Description |
---|---|---|
id | Guid | Sku ID |
productId | Guid | Product ID |
name | String | Sku name |
url | String | Sku address |
hexColor | Hexadecimal | Product sku color defined |
isActive | Boolean | If the collection is active or not |
lastUpdate | Date | Category last update |
images | Array Object | The images of this sku |
clientId | String | The client ID |
code | String | Product sku code |
auxCode | String | Product sku aux code |
barcode | String | Product sku barcode |
minStock | Int | Product sku minimum stock |
imageUrl | String | Sku image address |
stocks | Array Object | The stocks of this product sku |
attributes | Array Object | The sku attributtes array |