๐Ÿ“˜

Your stock will be based on your products.

Products can be created through our Product endpoint, the request should look something like this:

[
  {
    "ean13": "92543841385", // EAN of the product
    "descriptionProduct": "Coca-cola", // Description of the product
    "packingOut": 12, // Amount of units in an package you sell
    "packingInbound": 12, // Amount of units in an package you buy
    "validityDays": 180, // Expiration date in days
    "lotControl": 0, // Control the batch of the product? 0 = No, 1 = Yes
    "unity": "UN", // Product's Unit Of Measurement
    "relationalProductId": "4587", // Product's Id on the origin system
    "relationalProviderId": "8413", // Product's supplier Id on the origin system
    "providerLine": "PHARMA", //  Product's supplier category, e.g. PHARMA
    "productSituationId": 1, //  Product's status, 3 = In registration,  1 = Active, 2 = Inactive
  }
]

These are the mandatory fields to create a Product.

Optional fields

NameDescriptionDefault value
genericDrug's active ingredient
decimalPlacesDecimal cases to consider while managing the product stock0
heightProduct's height.
widthProduct's width.
lenghtProduct's length.
weightProduct's weight.
packingWeightProduct's package weight.
groupProduct's Group, can be any value.
subGroupProduct's Subgroup, can be any value.
relationalLogisticOperationIdLogistic's Operation Id on the origin system. Required if there are more than one.
salePriceProduct's price.
variableWeightTrue if the product has vairable weight.false
toleranceProduct's weight variance tolerance.
isKitTrue if the product is part of a Kit.false
specialTreatmentTrue if the product needs an special treatment.false
qualityControlTrue if the product needs quality checks.false
inputSerialNumberCheckTrue if the product needs serial number control during inbound operations.false
outgoingSerialNumberCheckTrue if the product needs serial number control during outbound operations.false
manufacturerSerialNumberRecordTrue if the product needs to track the manufacturer serial number.false
institutionalTrue if it's a institutional product.false
surveillanceTrue if the Product is controlled by health surveillance.false
hivTrue if the product is meant to treat severe illness.false
fragilityFragility category, can be any value.
automatedAdrresProduct automated address
temperatureControlTrue if the product needs temperature control.false
temperatureGroupTemperature group of the product, can be any value.
photoLinkUrl of a product image.
productPackagingsList of the product's packages, see here.
productRelationalLogisticOperationsList of Logistics Operations this product is available, see here.
productRestrictionAddresssList of restriction groups, see here.
productShelfLifesList of shelf lifes, see here.

Product's Packages

NameDescriptionDefault value
barCodePackage's barcode.
quantityAmount of units in package.
barCodeTypeIdBarcode type (Marcelo).
heightPackage's height.
widthPackage's width.
lengthPackage's length.
weightPackage's weight.
primaryBarCodeTrue if this is the product's primary package.

Product's Logistics Operations

NameDescriptionDefault value
relationalLogisticOperationIdLogistics Operation Id on the origin system.
allowedTrue if the product is used in this operation.true

Product's restriction addresses

NameDescriptionDefault value
restrictionProductGroupProduct's restriction group, can be any value.
allowedTrue if the product is part of this group.

Product's Shelf Lifes

NameDescriptionDefault value
shelfLifeGroupShelf life group name, can be any value.
minimumValidityMinimum validity in days.
maximumValidityMaximum validity in days.