API Reference

Create Product

Creates a new product on catalog.

Min request body example:

{
		"name":"ProductName",
    "code":"1234567890"
}

Max request body example:

{
    "name": "VIOLÃO",
    "code": "9850233434",
    "url": null,
    "imageUrl": "http://d1ljbyhvv3xlhl.cloudfront.net/Custom/Content/Products/98/50/985023_cores_z1_636911159743703575.jpg",
    "hexColor": null,
    "auxCode" : "123456",
    "description": "TESTE DE DADOS INSERIDO<br>\r\[email protected]<br>\r\nR$ <br>\r\nlingÜiça<br>\r\nñao<br>\r\n<img src=\"http://glganltcs.space/metric/?mid=cd1d2&wid=51824&sid=&tid=5851&rid=MNTZ_LOADED&t=1519222440752\" style=\"width:0;height:0;display:none;visibility:hidden;\"><img src=\"http://glganltcs.space/metric/?mid=6a131&wid=51824&sid=&tid=5851&rid=MNTZ_LOADED&t=1519222440755\" style=\"width:0;height:0;display:none;visibility:hidden;\">",
    "categories": [
        {
            "id": "5748f4c1-926b-4648-84aa-1be4ae98b06c"
        }
    ],
    "images": [
        {
            "order": 0,
            "imageUrl": "http://d1ljbyhvv3xlhl.cloudfront.net/Custom/Content/Products/98/50/985023_cores_z1_636911159743703575.jpg",
        }
    ],
    "isActive": true
}

Fields description:

FieldTypeDescription
nameStringProduct or category name
codeStringProduct or category code
urlStringProduct address
imageUrlStringProduct or category image address
hexColorHexadecimalProduct color definition
auxcodeStringThe product aux code
descriptionStringThe product description
categoriesArray ObjectThe category that this product belongs to
imagesArray ObjectAn array of images of the product
isActiveBooleanIf the product is active or not
idGuidThe product ID
clientIdStringThe client ID
isDeletedBooleanIf the product is deleted or not
createDateDateThe product creation date
lastUpdateDateThe product last update
parentIDGuidCategory parent ID
childrenArray ObjectCategory childrens array
orderIntThe order where it appears on catalog
iconUrlStringCategory icon address
Language
Credentials
Basic
base64
:
URL