Skip to content

Prana API (1.0)

API Prana

Welcome !!! In our developer portal you will find everything you need to interact with our platform.

Our API works with the REST interface through the HTTPS protocol and using the JSON format for processing calls.

All requests are validated against an API Key that can be obtained manually from the Configuration section of the PRANA app.

Our goal is to offer the clearest possible documentation here.

Any suggestions can be sent to: info@prana.software

API Key

To use your API key, you need only call the api with your key in the header as follow:

X-Api-Key

Download OpenAPI description
Languages
Servers
https://api.prana.software

Stock Regularization

Manage your Stock Regularizations

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Stock Transfer

Manage your Stock Transfers

Operations
Operations

Warehouse Movement

Manage your warehouse movements

Operations
Operations

Request

Get a specific product.

Path
idinteger(int32)required
curl -i -X GET \
  'https://api.prana.software/api/v1/article/{id}'

Responses

OK

Bodyapplication/json
idinteger(int32)required

Unique identifier of the entity

Example: 1
codestring[ 0 .. 20 ] charactersrequired

Code of the article

Example: "ART123"
descriptionstring[ 0 .. 100 ] characters

Description of the article

Example: "Premium leather jacket"
vatTypestringrequired

VAT type of the article

Example: "STANDARD"
purchaseVatTypestringrequired

Purchase VAT type of the article

Example: "STANDARD"
heightnumber

Height of the article

Example: 10.5
widthnumber

Width of the article

Example: 20.3
depthnumber

Depth of the article

Example: 5.2
grossWeightnumber

Gross weight of the article

Example: 1.75
netWeightnumber

Net weight of the article

Example: 1.5
warehouseobject(ApiWarehouseListReadDto)required

Warehouse associated with the article

warehouse.​idinteger(int32)required

Unique identifier of the entity

Example: 1
warehouse.​codestringrequired

Warehouse code (unique per warehouse).

Example: "ALM01"
warehouse.​descriptionstringrequired

Warehouse description.

Example: "Central warehouse"
warehouse.​populationstring

Population or city where the warehouse is located.

Example: "Madrid"
warehouse.​activeboolean

Indicates if the warehouse is active.

Example: true
accumulateWarehouseboolean

Indicates if the warehouse accumulates stock

Example: true
unitWarehouseobject(ApiUnitTypeListReadDto)

Unit type used in the warehouse

salesAccountobject(ApiChartAccountListReadDto)

Sales account associated with the article

purchasingAccountobject(ApiChartAccountListReadDto)

Purchasing account associated with the article

baseCombinationobject(ApiArticleCombinationDefaultReadDto)

Base combination of the article

familyobject(ApiFamilyReadDto)

Family associated with the article

articleCombinationsArray of objects(ApiArticleCombinationReadDto)

List of article combinations

observationsArray of objects(ApiArticleObservationListReadDto)

List of observations about the article

filesArray of objects(ApiArticleFileListReadDto)

List of files associated with the article

tagsArray of strings

List of tags associated with the article

Example: ["premium","leather","fashion"]
showAttribute1boolean

Indicates if attribute 1 should be displayed

Example: true
showAttribute2boolean

Indicates if attribute 2 should be displayed

Example: false
showAttribute3boolean

Indicates if attribute 3 should be displayed

Example: false
showAttribute4boolean

Indicates if attribute 4 should be displayed

Example: false
showAttribute5boolean

Indicates if attribute 5 should be displayed

Example: false
stockQuantitynumber

Current stock quantity

Example: 100.5
salesQuantitynumber

Sales quantity

Example: 75
cancelledQuantitynumber

Cancelled quantity

Example: 5
outboundQuantitynumber

Outbound quantity

Example: 80
pendingDeliveryQuantitynumber

Pending delivery quantity

Example: 25
purchaseQuantitynumber

Purchase quantity

Example: 150
providerCancelledQuantitynumber

Provider cancelled quantity

Example: 10
inboundQuantitynumber

Inbound quantity

Example: 120
pendingReceiptQuantitynumber

Pending receipt quantity

Example: 30
description2string[ 0 .. 100 ] characters

Secondary description of the article

Example: "Available in multiple colors"
articleTypestring(ApiArticleTypeEnum)required

Type of the article

Enum"PACKAGING""EXPENSE""RAW_MATERIAL""MERCHANDISE""OTHERS""FINISHED_PRODUCT""SEMI_FINISHED""SERVICE""ADVERTISING"
Example: "PRODUCT"
phytosanitaryProductobject(ApiPhytosanitaryProductListReadDto)

Phytosanitary product associated with the article

batchControlboolean

Indicates if batch control is enabled for the article

Example: true
serialNumberControlboolean

Indicates if serial number control is enabled for the article

Example: false
category1object(ApiCategoryListReadDto)

Primary category of the article

category2object(ApiCategoryListReadDto)

Secondary category of the article

category3object(ApiCategoryListReadDto)

Tertiary category of the article

category4object(ApiCategoryListReadDto)

Quaternary category of the article

Response
application/json
{ "id": 1, "code": "ART123", "description": "Premium leather jacket", "vatType": "STANDARD", "purchaseVatType": "STANDARD", "height": 10.5, "width": 20.3, "depth": 5.2, "grossWeight": 1.75, "netWeight": 1.5, "warehouse": { "id": 1, "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "accumulateWarehouse": true, "unitWarehouse": { "id": 1, "code": "string", "description": "string", "isoCode": "MTR" }, "salesAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "purchasingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "baseCombination": { "id": 1, "defaultArticleCombinationSupplier": { … }, "defaultItemSaleRate": { … }, "defaultEan": { … }, "article": "ART-00123", "articleId": 1024, "articleType": "MERCHANDISE", "unitWarehouseId": 15, "articleDescription": "Men's cotton T-shirt, size L", "attribute1": { … }, "attribute2": { … }, "attribute3": { … }, "attribute4": { … }, "attribute5": { … }, "seasonId": 2024, "season": "Spring/Summer 2024", "category1": "Clothing", "category2": "Men's Wear", "category3": "T-Shirts", "category4": "Casual", "description": "Short-sleeve cotton T-shirt with round neck.", "active": true, "articleVatType": "STANDARD", "assortment": { … }, "sizeRange": { … }, "serialNumberControl": false, "batchControl": true }, "family": { "id": 1, "description": "string", "parent": { … }, "subfamilies": [ … ] }, "articleCombinations": [ { … } ], "observations": [ { … } ], "files": [ { … } ], "tags": [ "premium", "leather", "fashion" ], "showAttribute1": true, "showAttribute2": false, "showAttribute3": false, "showAttribute4": false, "showAttribute5": false, "stockQuantity": 100.5, "salesQuantity": 75, "cancelledQuantity": 5, "outboundQuantity": 80, "pendingDeliveryQuantity": 25, "purchaseQuantity": 150, "providerCancelledQuantity": 10, "inboundQuantity": 120, "pendingReceiptQuantity": 30, "description2": "Available in multiple colors", "articleType": "MERCHANDISE", "phytosanitaryProduct": { "id": 1, "code": "string", "description": "string", "headline": "string", "form": "string", "cancellationDate": "2019-08-24", "saleDeadline": "2019-08-24" }, "batchControl": true, "serialNumberControl": false, "category1": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category2": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category3": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category4": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" } }

Request

Update a specific product.

Path
idinteger(int32)required
Bodyapplication/jsonrequired
baseCombinationinteger(int32)

ID of the base combination

Example: 1
codestring[ 0 .. 20 ] charactersrequired

Code of the article

Example: "ART123"
descriptionstring[ 0 .. 100 ] characters

Description of the article

Example: "Premium leather jacket"
vatTypestringrequired

VAT type of the article

Example: "STANDARD"
purchaseVatTypestringrequired

Purchase VAT type of the article

Example: "STANDARD"
heightnumber

Height of the article

Example: 10.5
widthnumber

Width of the article

Example: 20.3
depthnumber

Depth of the article

Example: 5.2
grossWeightnumber

Gross weight of the article

Example: 1.75
netWeightnumber

Net weight of the article

Example: 1.5
warehouseinteger(int32)required

ID of the warehouse

Example: 1
accumulateWarehouseboolean

Indicates if the warehouse accumulates stock

Example: true
unitWarehouseinteger(int32)

ID of the unit type used in the warehouse

Example: 2
salesAccountinteger(int32)

ID of the sales account

Example: 401
purchasingAccountinteger(int32)

ID of the purchasing account

Example: 601
articleCombinationsArray of objects(ApiArticleCombinationWriteDto)

List of article combinations

familyinteger(int32)

ID of the article family

Example: 5
observationsArray of objects(ApiArticleObservationWriteDto)

List of observations about the article

filesArray of objects(ApiArticleFileWriteDto)

List of files associated with the article

tagsArray of strings

List of tags associated with the article

Example: ["premium","leather","fashion"]
showAttribute1boolean

Indicates if attribute 1 should be displayed

Example: true
showAttribute2boolean

Indicates if attribute 2 should be displayed

Example: false
showAttribute3boolean

Indicates if attribute 3 should be displayed

Example: false
showAttribute4boolean

Indicates if attribute 4 should be displayed

Example: false
showAttribute5boolean

Indicates if attribute 5 should be displayed

Example: false
stockQuantitynumber
salesQuantitynumber
cancelledQuantitynumber
outboundQuantitynumber
pendingDeliveryQuantitynumber
purchaseQuantitynumber
providerCancelledQuantitynumber
inboundQuantitynumber
pendingReceiptQuantitynumber
description2string[ 0 .. 100 ] characters

Secondary description of the article

Example: "Available in multiple colors"
articleTypestring(ApiArticleTypeEnum)

Type of the article

Enum"PACKAGING""EXPENSE""RAW_MATERIAL""MERCHANDISE""OTHERS""FINISHED_PRODUCT""SEMI_FINISHED""SERVICE""ADVERTISING"
Example: "PRODUCT"
batchControlboolean

Indicates if batch control is enabled for the article

Example: true
serialNumberControlboolean

Indicates if serial number control is enabled for the article

Example: false
category1integer(int32)

ID of the primary category

Example: 1
category2integer(int32)

ID of the secondary category

Example: 2
category3integer(int32)

ID of the tertiary category

Example: 3
category4integer(int32)

ID of the quaternary category

Example: 4
phytosanitaryProductinteger(int32)

ID of the phytosanitary product

Example: 101
curl -i -X PUT \
  'https://api.prana.software/api/v1/article/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "baseCombination": 1,
    "code": "ART123",
    "description": "Premium leather jacket",
    "vatType": "STANDARD",
    "purchaseVatType": "STANDARD",
    "height": 10.5,
    "width": 20.3,
    "depth": 5.2,
    "grossWeight": 1.75,
    "netWeight": 1.5,
    "warehouse": 1,
    "accumulateWarehouse": true,
    "unitWarehouse": 2,
    "salesAccount": 401,
    "purchasingAccount": 601,
    "articleCombinations": [
      {
        "id": 123,
        "defaultArticleCombinationSupplier": 5,
        "defaultItemSaleRate": 2,
        "defaultEan": 1,
        "article": 1001,
        "attribute1": 15,
        "attribute2": 22,
        "attribute3": 33,
        "attribute4": 44,
        "attribute5": 55,
        "active": true,
        "creationDate": "2025-01-15",
        "inactiveDate": "2025-12-31",
        "ean": 8412345678901,
        "minimum": 0,
        "articleCombinationSuppliers": [
          {
            "id": 123,
            "articleCombination": 456,
            "supplierCode": "SUP001",
            "supplierReference": "REF123",
            "supplierPrice": 29.99,
            "currency": "EUR",
            "mainSupplier": true,
            "purchasingNotes": "Order in advance during peak season",
            "supplier": 789,
            "usual": true,
            "purchasePrice": 25.99,
            "unitType": 1,
            "sizeRange": 101,
            "changeDate": "2023-05-15",
            "previousPrice": 24.5,
            "netPrice": 21.48,
            "netPriceInCompanyCurrency": 19.5,
            "bomPrice": 18.75,
            "bomPriceInCompanyCurrency": 17,
            "minimumPurchase": 10,
            "yourReference": "REF-T101",
            "discount": 5,
            "waitTime": 5,
            "observations": "Special packaging required",
            "futurePrice": 23.99,
            "multiplesOf": 5
          }
        ],
        "itemSaleRates": [
          {
            "id": 101,
            "rate": 7,
            "articleCombination": 24,
            "price": 31.2,
            "price2": 29.99,
            "rateCode": 42,
            "season": 2025,
            "sizeRange": 3
          }
        ],
        "articleCombinationSizeRanges": [
          {
            "id": 123,
            "articleCombination": 456,
            "sizeRange": 789,
            "assortment": 101,
            "inactive": false,
            "height": 10.5,
            "width": 20.3,
            "depth": 15.7,
            "grossWeight": 500.25,
            "netWeight": 450.75,
            "ean": 8412345678901,
            "cactive": true
          }
        ],
        "season": 0,
        "manufactured": true,
        "maxProductionOrder": 0,
        "maxSizePrint": 0,
        "bought": true,
        "dontOrder": true,
        "description": "string",
        "observations": "string",
        "family": 0,
        "activeB2B": true,
        "availabilityB2B": "STOCK",
        "visibleDateB2B": "2019-08-24",
        "dtoB2B": 0,
        "activeMobility": true,
        "activeTPV": true,
        "activePrestashop": true,
        "maximum": 0,
        "tariffItem": "string",
        "pictures": [
          {
            "id": 0,
            "token": "string",
            "pictureFileName": "string",
            "pictureFileExtension": "string",
            "viewOrder": 0
          }
        ]
      }
    ],
    "family": 5,
    "observations": [
      {
        "id": 0,
        "title": "string",
        "description": "string"
      }
    ],
    "files": [
      {
        "id": 0,
        "token": "string",
        "fileName": "string",
        "fileExtension": "string",
        "fileSize": 0
      }
    ],
    "tags": [
      "premium",
      "leather",
      "fashion"
    ],
    "showAttribute1": true,
    "showAttribute2": false,
    "showAttribute3": false,
    "showAttribute4": false,
    "showAttribute5": false,
    "stockQuantity": 0,
    "salesQuantity": 0,
    "cancelledQuantity": 0,
    "outboundQuantity": 0,
    "pendingDeliveryQuantity": 0,
    "purchaseQuantity": 0,
    "providerCancelledQuantity": 0,
    "inboundQuantity": 0,
    "pendingReceiptQuantity": 0,
    "description2": "Available in multiple colors",
    "articleType": "MERCHANDISE",
    "batchControl": true,
    "serialNumberControl": false,
    "category1": 1,
    "category2": 2,
    "category3": 3,
    "category4": 4,
    "phytosanitaryProduct": 101
  }'

Responses

OK

Bodyapplication/json
idinteger(int32)required

Unique identifier of the entity

Example: 1
codestring[ 0 .. 20 ] charactersrequired

Code of the article

Example: "ART123"
descriptionstring[ 0 .. 100 ] characters

Description of the article

Example: "Premium leather jacket"
vatTypestringrequired

VAT type of the article

Example: "STANDARD"
purchaseVatTypestringrequired

Purchase VAT type of the article

Example: "STANDARD"
heightnumber

Height of the article

Example: 10.5
widthnumber

Width of the article

Example: 20.3
depthnumber

Depth of the article

Example: 5.2
grossWeightnumber

Gross weight of the article

Example: 1.75
netWeightnumber

Net weight of the article

Example: 1.5
warehouseobject(ApiWarehouseListReadDto)required

Warehouse associated with the article

warehouse.​idinteger(int32)required

Unique identifier of the entity

Example: 1
warehouse.​codestringrequired

Warehouse code (unique per warehouse).

Example: "ALM01"
warehouse.​descriptionstringrequired

Warehouse description.

Example: "Central warehouse"
warehouse.​populationstring

Population or city where the warehouse is located.

Example: "Madrid"
warehouse.​activeboolean

Indicates if the warehouse is active.

Example: true
accumulateWarehouseboolean

Indicates if the warehouse accumulates stock

Example: true
unitWarehouseobject(ApiUnitTypeListReadDto)

Unit type used in the warehouse

salesAccountobject(ApiChartAccountListReadDto)

Sales account associated with the article

purchasingAccountobject(ApiChartAccountListReadDto)

Purchasing account associated with the article

baseCombinationobject(ApiArticleCombinationDefaultReadDto)

Base combination of the article

familyobject(ApiFamilyReadDto)

Family associated with the article

articleCombinationsArray of objects(ApiArticleCombinationReadDto)

List of article combinations

observationsArray of objects(ApiArticleObservationListReadDto)

List of observations about the article

filesArray of objects(ApiArticleFileListReadDto)

List of files associated with the article

tagsArray of strings

List of tags associated with the article

Example: ["premium","leather","fashion"]
showAttribute1boolean

Indicates if attribute 1 should be displayed

Example: true
showAttribute2boolean

Indicates if attribute 2 should be displayed

Example: false
showAttribute3boolean

Indicates if attribute 3 should be displayed

Example: false
showAttribute4boolean

Indicates if attribute 4 should be displayed

Example: false
showAttribute5boolean

Indicates if attribute 5 should be displayed

Example: false
stockQuantitynumber

Current stock quantity

Example: 100.5
salesQuantitynumber

Sales quantity

Example: 75
cancelledQuantitynumber

Cancelled quantity

Example: 5
outboundQuantitynumber

Outbound quantity

Example: 80
pendingDeliveryQuantitynumber

Pending delivery quantity

Example: 25
purchaseQuantitynumber

Purchase quantity

Example: 150
providerCancelledQuantitynumber

Provider cancelled quantity

Example: 10
inboundQuantitynumber

Inbound quantity

Example: 120
pendingReceiptQuantitynumber

Pending receipt quantity

Example: 30
description2string[ 0 .. 100 ] characters

Secondary description of the article

Example: "Available in multiple colors"
articleTypestring(ApiArticleTypeEnum)required

Type of the article

Enum"PACKAGING""EXPENSE""RAW_MATERIAL""MERCHANDISE""OTHERS""FINISHED_PRODUCT""SEMI_FINISHED""SERVICE""ADVERTISING"
Example: "PRODUCT"
phytosanitaryProductobject(ApiPhytosanitaryProductListReadDto)

Phytosanitary product associated with the article

batchControlboolean

Indicates if batch control is enabled for the article

Example: true
serialNumberControlboolean

Indicates if serial number control is enabled for the article

Example: false
category1object(ApiCategoryListReadDto)

Primary category of the article

category2object(ApiCategoryListReadDto)

Secondary category of the article

category3object(ApiCategoryListReadDto)

Tertiary category of the article

category4object(ApiCategoryListReadDto)

Quaternary category of the article

Response
application/json
{ "id": 1, "code": "ART123", "description": "Premium leather jacket", "vatType": "STANDARD", "purchaseVatType": "STANDARD", "height": 10.5, "width": 20.3, "depth": 5.2, "grossWeight": 1.75, "netWeight": 1.5, "warehouse": { "id": 1, "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "accumulateWarehouse": true, "unitWarehouse": { "id": 1, "code": "string", "description": "string", "isoCode": "MTR" }, "salesAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "purchasingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "baseCombination": { "id": 1, "defaultArticleCombinationSupplier": { … }, "defaultItemSaleRate": { … }, "defaultEan": { … }, "article": "ART-00123", "articleId": 1024, "articleType": "MERCHANDISE", "unitWarehouseId": 15, "articleDescription": "Men's cotton T-shirt, size L", "attribute1": { … }, "attribute2": { … }, "attribute3": { … }, "attribute4": { … }, "attribute5": { … }, "seasonId": 2024, "season": "Spring/Summer 2024", "category1": "Clothing", "category2": "Men's Wear", "category3": "T-Shirts", "category4": "Casual", "description": "Short-sleeve cotton T-shirt with round neck.", "active": true, "articleVatType": "STANDARD", "assortment": { … }, "sizeRange": { … }, "serialNumberControl": false, "batchControl": true }, "family": { "id": 1, "description": "string", "parent": { … }, "subfamilies": [ … ] }, "articleCombinations": [ { … } ], "observations": [ { … } ], "files": [ { … } ], "tags": [ "premium", "leather", "fashion" ], "showAttribute1": true, "showAttribute2": false, "showAttribute3": false, "showAttribute4": false, "showAttribute5": false, "stockQuantity": 100.5, "salesQuantity": 75, "cancelledQuantity": 5, "outboundQuantity": 80, "pendingDeliveryQuantity": 25, "purchaseQuantity": 150, "providerCancelledQuantity": 10, "inboundQuantity": 120, "pendingReceiptQuantity": 30, "description2": "Available in multiple colors", "articleType": "MERCHANDISE", "phytosanitaryProduct": { "id": 1, "code": "string", "description": "string", "headline": "string", "form": "string", "cancellationDate": "2019-08-24", "saleDeadline": "2019-08-24" }, "batchControl": true, "serialNumberControl": false, "category1": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category2": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category3": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category4": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" } }

Request

Delete specific product.

Path
idinteger(int32)required
curl -i -X DELETE \
  'https://api.prana.software/api/v1/article/{id}'

Responses

OK

Request

Patch specific product.

Path
idinteger(int32)required
Bodyapplication/jsonrequired
property name*objectadditional property
curl -i -X PATCH \
  'https://api.prana.software/api/v1/article/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "property1": {},
    "property2": {}
  }'

Responses

OK

Bodyapplication/json
idinteger(int32)required

Unique identifier of the entity

Example: 1
codestring[ 0 .. 20 ] charactersrequired

Code of the article

Example: "ART123"
descriptionstring[ 0 .. 100 ] characters

Description of the article

Example: "Premium leather jacket"
vatTypestringrequired

VAT type of the article

Example: "STANDARD"
purchaseVatTypestringrequired

Purchase VAT type of the article

Example: "STANDARD"
heightnumber

Height of the article

Example: 10.5
widthnumber

Width of the article

Example: 20.3
depthnumber

Depth of the article

Example: 5.2
grossWeightnumber

Gross weight of the article

Example: 1.75
netWeightnumber

Net weight of the article

Example: 1.5
warehouseobject(ApiWarehouseListReadDto)required

Warehouse associated with the article

warehouse.​idinteger(int32)required

Unique identifier of the entity

Example: 1
warehouse.​codestringrequired

Warehouse code (unique per warehouse).

Example: "ALM01"
warehouse.​descriptionstringrequired

Warehouse description.

Example: "Central warehouse"
warehouse.​populationstring

Population or city where the warehouse is located.

Example: "Madrid"
warehouse.​activeboolean

Indicates if the warehouse is active.

Example: true
accumulateWarehouseboolean

Indicates if the warehouse accumulates stock

Example: true
unitWarehouseobject(ApiUnitTypeListReadDto)

Unit type used in the warehouse

salesAccountobject(ApiChartAccountListReadDto)

Sales account associated with the article

purchasingAccountobject(ApiChartAccountListReadDto)

Purchasing account associated with the article

baseCombinationobject(ApiArticleCombinationDefaultReadDto)

Base combination of the article

familyobject(ApiFamilyReadDto)

Family associated with the article

articleCombinationsArray of objects(ApiArticleCombinationReadDto)

List of article combinations

observationsArray of objects(ApiArticleObservationListReadDto)

List of observations about the article

filesArray of objects(ApiArticleFileListReadDto)

List of files associated with the article

tagsArray of strings

List of tags associated with the article

Example: ["premium","leather","fashion"]
showAttribute1boolean

Indicates if attribute 1 should be displayed

Example: true
showAttribute2boolean

Indicates if attribute 2 should be displayed

Example: false
showAttribute3boolean

Indicates if attribute 3 should be displayed

Example: false
showAttribute4boolean

Indicates if attribute 4 should be displayed

Example: false
showAttribute5boolean

Indicates if attribute 5 should be displayed

Example: false
stockQuantitynumber

Current stock quantity

Example: 100.5
salesQuantitynumber

Sales quantity

Example: 75
cancelledQuantitynumber

Cancelled quantity

Example: 5
outboundQuantitynumber

Outbound quantity

Example: 80
pendingDeliveryQuantitynumber

Pending delivery quantity

Example: 25
purchaseQuantitynumber

Purchase quantity

Example: 150
providerCancelledQuantitynumber

Provider cancelled quantity

Example: 10
inboundQuantitynumber

Inbound quantity

Example: 120
pendingReceiptQuantitynumber

Pending receipt quantity

Example: 30
description2string[ 0 .. 100 ] characters

Secondary description of the article

Example: "Available in multiple colors"
articleTypestring(ApiArticleTypeEnum)required

Type of the article

Enum"PACKAGING""EXPENSE""RAW_MATERIAL""MERCHANDISE""OTHERS""FINISHED_PRODUCT""SEMI_FINISHED""SERVICE""ADVERTISING"
Example: "PRODUCT"
phytosanitaryProductobject(ApiPhytosanitaryProductListReadDto)

Phytosanitary product associated with the article

batchControlboolean

Indicates if batch control is enabled for the article

Example: true
serialNumberControlboolean

Indicates if serial number control is enabled for the article

Example: false
category1object(ApiCategoryListReadDto)

Primary category of the article

category2object(ApiCategoryListReadDto)

Secondary category of the article

category3object(ApiCategoryListReadDto)

Tertiary category of the article

category4object(ApiCategoryListReadDto)

Quaternary category of the article

Response
application/json
{ "id": 1, "code": "ART123", "description": "Premium leather jacket", "vatType": "STANDARD", "purchaseVatType": "STANDARD", "height": 10.5, "width": 20.3, "depth": 5.2, "grossWeight": 1.75, "netWeight": 1.5, "warehouse": { "id": 1, "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "accumulateWarehouse": true, "unitWarehouse": { "id": 1, "code": "string", "description": "string", "isoCode": "MTR" }, "salesAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "purchasingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "baseCombination": { "id": 1, "defaultArticleCombinationSupplier": { … }, "defaultItemSaleRate": { … }, "defaultEan": { … }, "article": "ART-00123", "articleId": 1024, "articleType": "MERCHANDISE", "unitWarehouseId": 15, "articleDescription": "Men's cotton T-shirt, size L", "attribute1": { … }, "attribute2": { … }, "attribute3": { … }, "attribute4": { … }, "attribute5": { … }, "seasonId": 2024, "season": "Spring/Summer 2024", "category1": "Clothing", "category2": "Men's Wear", "category3": "T-Shirts", "category4": "Casual", "description": "Short-sleeve cotton T-shirt with round neck.", "active": true, "articleVatType": "STANDARD", "assortment": { … }, "sizeRange": { … }, "serialNumberControl": false, "batchControl": true }, "family": { "id": 1, "description": "string", "parent": { … }, "subfamilies": [ … ] }, "articleCombinations": [ { … } ], "observations": [ { … } ], "files": [ { … } ], "tags": [ "premium", "leather", "fashion" ], "showAttribute1": true, "showAttribute2": false, "showAttribute3": false, "showAttribute4": false, "showAttribute5": false, "stockQuantity": 100.5, "salesQuantity": 75, "cancelledQuantity": 5, "outboundQuantity": 80, "pendingDeliveryQuantity": 25, "purchaseQuantity": 150, "providerCancelledQuantity": 10, "inboundQuantity": 120, "pendingReceiptQuantity": 30, "description2": "Available in multiple colors", "articleType": "MERCHANDISE", "phytosanitaryProduct": { "id": 1, "code": "string", "description": "string", "headline": "string", "form": "string", "cancellationDate": "2019-08-24", "saleDeadline": "2019-08-24" }, "batchControl": true, "serialNumberControl": false, "category1": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category2": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category3": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category4": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" } }

Request

Create a new product.

Bodyapplication/jsonrequired
baseCombinationinteger(int32)

ID of the base combination

Example: 1
codestring[ 0 .. 20 ] charactersrequired

Code of the article

Example: "ART123"
descriptionstring[ 0 .. 100 ] characters

Description of the article

Example: "Premium leather jacket"
vatTypestringrequired

VAT type of the article

Example: "STANDARD"
purchaseVatTypestringrequired

Purchase VAT type of the article

Example: "STANDARD"
heightnumber

Height of the article

Example: 10.5
widthnumber

Width of the article

Example: 20.3
depthnumber

Depth of the article

Example: 5.2
grossWeightnumber

Gross weight of the article

Example: 1.75
netWeightnumber

Net weight of the article

Example: 1.5
warehouseinteger(int32)required

ID of the warehouse

Example: 1
accumulateWarehouseboolean

Indicates if the warehouse accumulates stock

Example: true
unitWarehouseinteger(int32)

ID of the unit type used in the warehouse

Example: 2
salesAccountinteger(int32)

ID of the sales account

Example: 401
purchasingAccountinteger(int32)

ID of the purchasing account

Example: 601
articleCombinationsArray of objects(ApiArticleCombinationWriteDto)

List of article combinations

familyinteger(int32)

ID of the article family

Example: 5
observationsArray of objects(ApiArticleObservationWriteDto)

List of observations about the article

filesArray of objects(ApiArticleFileWriteDto)

List of files associated with the article

tagsArray of strings

List of tags associated with the article

Example: ["premium","leather","fashion"]
showAttribute1boolean

Indicates if attribute 1 should be displayed

Example: true
showAttribute2boolean

Indicates if attribute 2 should be displayed

Example: false
showAttribute3boolean

Indicates if attribute 3 should be displayed

Example: false
showAttribute4boolean

Indicates if attribute 4 should be displayed

Example: false
showAttribute5boolean

Indicates if attribute 5 should be displayed

Example: false
stockQuantitynumber
salesQuantitynumber
cancelledQuantitynumber
outboundQuantitynumber
pendingDeliveryQuantitynumber
purchaseQuantitynumber
providerCancelledQuantitynumber
inboundQuantitynumber
pendingReceiptQuantitynumber
description2string[ 0 .. 100 ] characters

Secondary description of the article

Example: "Available in multiple colors"
articleTypestring(ApiArticleTypeEnum)

Type of the article

Enum"PACKAGING""EXPENSE""RAW_MATERIAL""MERCHANDISE""OTHERS""FINISHED_PRODUCT""SEMI_FINISHED""SERVICE""ADVERTISING"
Example: "PRODUCT"
batchControlboolean

Indicates if batch control is enabled for the article

Example: true
serialNumberControlboolean

Indicates if serial number control is enabled for the article

Example: false
category1integer(int32)

ID of the primary category

Example: 1
category2integer(int32)

ID of the secondary category

Example: 2
category3integer(int32)

ID of the tertiary category

Example: 3
category4integer(int32)

ID of the quaternary category

Example: 4
phytosanitaryProductinteger(int32)

ID of the phytosanitary product

Example: 101
curl -i -X POST \
  https://api.prana.software/api/v1/article \
  -H 'Content-Type: application/json' \
  -d '{
    "baseCombination": 1,
    "code": "ART123",
    "description": "Premium leather jacket",
    "vatType": "STANDARD",
    "purchaseVatType": "STANDARD",
    "height": 10.5,
    "width": 20.3,
    "depth": 5.2,
    "grossWeight": 1.75,
    "netWeight": 1.5,
    "warehouse": 1,
    "accumulateWarehouse": true,
    "unitWarehouse": 2,
    "salesAccount": 401,
    "purchasingAccount": 601,
    "articleCombinations": [
      {
        "id": 123,
        "defaultArticleCombinationSupplier": 5,
        "defaultItemSaleRate": 2,
        "defaultEan": 1,
        "article": 1001,
        "attribute1": 15,
        "attribute2": 22,
        "attribute3": 33,
        "attribute4": 44,
        "attribute5": 55,
        "active": true,
        "creationDate": "2025-01-15",
        "inactiveDate": "2025-12-31",
        "ean": 8412345678901,
        "minimum": 0,
        "articleCombinationSuppliers": [
          {
            "id": 123,
            "articleCombination": 456,
            "supplierCode": "SUP001",
            "supplierReference": "REF123",
            "supplierPrice": 29.99,
            "currency": "EUR",
            "mainSupplier": true,
            "purchasingNotes": "Order in advance during peak season",
            "supplier": 789,
            "usual": true,
            "purchasePrice": 25.99,
            "unitType": 1,
            "sizeRange": 101,
            "changeDate": "2023-05-15",
            "previousPrice": 24.5,
            "netPrice": 21.48,
            "netPriceInCompanyCurrency": 19.5,
            "bomPrice": 18.75,
            "bomPriceInCompanyCurrency": 17,
            "minimumPurchase": 10,
            "yourReference": "REF-T101",
            "discount": 5,
            "waitTime": 5,
            "observations": "Special packaging required",
            "futurePrice": 23.99,
            "multiplesOf": 5
          }
        ],
        "itemSaleRates": [
          {
            "id": 101,
            "rate": 7,
            "articleCombination": 24,
            "price": 31.2,
            "price2": 29.99,
            "rateCode": 42,
            "season": 2025,
            "sizeRange": 3
          }
        ],
        "articleCombinationSizeRanges": [
          {
            "id": 123,
            "articleCombination": 456,
            "sizeRange": 789,
            "assortment": 101,
            "inactive": false,
            "height": 10.5,
            "width": 20.3,
            "depth": 15.7,
            "grossWeight": 500.25,
            "netWeight": 450.75,
            "ean": 8412345678901,
            "cactive": true
          }
        ],
        "season": 0,
        "manufactured": true,
        "maxProductionOrder": 0,
        "maxSizePrint": 0,
        "bought": true,
        "dontOrder": true,
        "description": "string",
        "observations": "string",
        "family": 0,
        "activeB2B": true,
        "availabilityB2B": "STOCK",
        "visibleDateB2B": "2019-08-24",
        "dtoB2B": 0,
        "activeMobility": true,
        "activeTPV": true,
        "activePrestashop": true,
        "maximum": 0,
        "tariffItem": "string",
        "pictures": [
          {
            "id": 0,
            "token": "string",
            "pictureFileName": "string",
            "pictureFileExtension": "string",
            "viewOrder": 0
          }
        ]
      }
    ],
    "family": 5,
    "observations": [
      {
        "id": 0,
        "title": "string",
        "description": "string"
      }
    ],
    "files": [
      {
        "id": 0,
        "token": "string",
        "fileName": "string",
        "fileExtension": "string",
        "fileSize": 0
      }
    ],
    "tags": [
      "premium",
      "leather",
      "fashion"
    ],
    "showAttribute1": true,
    "showAttribute2": false,
    "showAttribute3": false,
    "showAttribute4": false,
    "showAttribute5": false,
    "stockQuantity": 0,
    "salesQuantity": 0,
    "cancelledQuantity": 0,
    "outboundQuantity": 0,
    "pendingDeliveryQuantity": 0,
    "purchaseQuantity": 0,
    "providerCancelledQuantity": 0,
    "inboundQuantity": 0,
    "pendingReceiptQuantity": 0,
    "description2": "Available in multiple colors",
    "articleType": "MERCHANDISE",
    "batchControl": true,
    "serialNumberControl": false,
    "category1": 1,
    "category2": 2,
    "category3": 3,
    "category4": 4,
    "phytosanitaryProduct": 101
  }'

Responses

OK

Bodyapplication/json
idinteger(int32)required

Unique identifier of the entity

Example: 1
codestring[ 0 .. 20 ] charactersrequired

Code of the article

Example: "ART123"
descriptionstring[ 0 .. 100 ] characters

Description of the article

Example: "Premium leather jacket"
vatTypestringrequired

VAT type of the article

Example: "STANDARD"
purchaseVatTypestringrequired

Purchase VAT type of the article

Example: "STANDARD"
heightnumber

Height of the article

Example: 10.5
widthnumber

Width of the article

Example: 20.3
depthnumber

Depth of the article

Example: 5.2
grossWeightnumber

Gross weight of the article

Example: 1.75
netWeightnumber

Net weight of the article

Example: 1.5
warehouseobject(ApiWarehouseListReadDto)required

Warehouse associated with the article

warehouse.​idinteger(int32)required

Unique identifier of the entity

Example: 1
warehouse.​codestringrequired

Warehouse code (unique per warehouse).

Example: "ALM01"
warehouse.​descriptionstringrequired

Warehouse description.

Example: "Central warehouse"
warehouse.​populationstring

Population or city where the warehouse is located.

Example: "Madrid"
warehouse.​activeboolean

Indicates if the warehouse is active.

Example: true
accumulateWarehouseboolean

Indicates if the warehouse accumulates stock

Example: true
unitWarehouseobject(ApiUnitTypeListReadDto)

Unit type used in the warehouse

salesAccountobject(ApiChartAccountListReadDto)

Sales account associated with the article

purchasingAccountobject(ApiChartAccountListReadDto)

Purchasing account associated with the article

baseCombinationobject(ApiArticleCombinationDefaultReadDto)

Base combination of the article

familyobject(ApiFamilyReadDto)

Family associated with the article

articleCombinationsArray of objects(ApiArticleCombinationReadDto)

List of article combinations

observationsArray of objects(ApiArticleObservationListReadDto)

List of observations about the article

filesArray of objects(ApiArticleFileListReadDto)

List of files associated with the article

tagsArray of strings

List of tags associated with the article

Example: ["premium","leather","fashion"]
showAttribute1boolean

Indicates if attribute 1 should be displayed

Example: true
showAttribute2boolean

Indicates if attribute 2 should be displayed

Example: false
showAttribute3boolean

Indicates if attribute 3 should be displayed

Example: false
showAttribute4boolean

Indicates if attribute 4 should be displayed

Example: false
showAttribute5boolean

Indicates if attribute 5 should be displayed

Example: false
stockQuantitynumber

Current stock quantity

Example: 100.5
salesQuantitynumber

Sales quantity

Example: 75
cancelledQuantitynumber

Cancelled quantity

Example: 5
outboundQuantitynumber

Outbound quantity

Example: 80
pendingDeliveryQuantitynumber

Pending delivery quantity

Example: 25
purchaseQuantitynumber

Purchase quantity

Example: 150
providerCancelledQuantitynumber

Provider cancelled quantity

Example: 10
inboundQuantitynumber

Inbound quantity

Example: 120
pendingReceiptQuantitynumber

Pending receipt quantity

Example: 30
description2string[ 0 .. 100 ] characters

Secondary description of the article

Example: "Available in multiple colors"
articleTypestring(ApiArticleTypeEnum)required

Type of the article

Enum"PACKAGING""EXPENSE""RAW_MATERIAL""MERCHANDISE""OTHERS""FINISHED_PRODUCT""SEMI_FINISHED""SERVICE""ADVERTISING"
Example: "PRODUCT"
phytosanitaryProductobject(ApiPhytosanitaryProductListReadDto)

Phytosanitary product associated with the article

batchControlboolean

Indicates if batch control is enabled for the article

Example: true
serialNumberControlboolean

Indicates if serial number control is enabled for the article

Example: false
category1object(ApiCategoryListReadDto)

Primary category of the article

category2object(ApiCategoryListReadDto)

Secondary category of the article

category3object(ApiCategoryListReadDto)

Tertiary category of the article

category4object(ApiCategoryListReadDto)

Quaternary category of the article

Response
application/json
{ "id": 1, "code": "ART123", "description": "Premium leather jacket", "vatType": "STANDARD", "purchaseVatType": "STANDARD", "height": 10.5, "width": 20.3, "depth": 5.2, "grossWeight": 1.75, "netWeight": 1.5, "warehouse": { "id": 1, "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "accumulateWarehouse": true, "unitWarehouse": { "id": 1, "code": "string", "description": "string", "isoCode": "MTR" }, "salesAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "purchasingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "baseCombination": { "id": 1, "defaultArticleCombinationSupplier": { … }, "defaultItemSaleRate": { … }, "defaultEan": { … }, "article": "ART-00123", "articleId": 1024, "articleType": "MERCHANDISE", "unitWarehouseId": 15, "articleDescription": "Men's cotton T-shirt, size L", "attribute1": { … }, "attribute2": { … }, "attribute3": { … }, "attribute4": { … }, "attribute5": { … }, "seasonId": 2024, "season": "Spring/Summer 2024", "category1": "Clothing", "category2": "Men's Wear", "category3": "T-Shirts", "category4": "Casual", "description": "Short-sleeve cotton T-shirt with round neck.", "active": true, "articleVatType": "STANDARD", "assortment": { … }, "sizeRange": { … }, "serialNumberControl": false, "batchControl": true }, "family": { "id": 1, "description": "string", "parent": { … }, "subfamilies": [ … ] }, "articleCombinations": [ { … } ], "observations": [ { … } ], "files": [ { … } ], "tags": [ "premium", "leather", "fashion" ], "showAttribute1": true, "showAttribute2": false, "showAttribute3": false, "showAttribute4": false, "showAttribute5": false, "stockQuantity": 100.5, "salesQuantity": 75, "cancelledQuantity": 5, "outboundQuantity": 80, "pendingDeliveryQuantity": 25, "purchaseQuantity": 150, "providerCancelledQuantity": 10, "inboundQuantity": 120, "pendingReceiptQuantity": 30, "description2": "Available in multiple colors", "articleType": "MERCHANDISE", "phytosanitaryProduct": { "id": 1, "code": "string", "description": "string", "headline": "string", "form": "string", "cancellationDate": "2019-08-24", "saleDeadline": "2019-08-24" }, "batchControl": true, "serialNumberControl": false, "category1": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category2": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category3": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" }, "category4": { "id": 1, "code": "FOOTWEAR", "description": "Footwear and shoes" } }

Request

Get all your products.

Bodyapplication/jsonrequired
conditionobject(ApiCondition)

Condition to filter results

sortCriteriaArray of objects(ApiSortDto)

List of sorting criteria to apply

pageNumberinteger(int32)required

Page number to retrieve (0-based)

Example: 0
pageSizeinteger(int32)required

Number of items per page

Example: 20
curl -i -X POST \
  https://api.prana.software/api/v1/article/search \
  -H 'Content-Type: application/json' \
  -d '{
    "condition": {
      "field": "name",
      "value": "Example Value",
      "type": "EQ",
      "endValue": 100,
      "innerConditions": [
        {}
      ],
      "conditionType": "AND",
      "empty": false,
      "compareFields": false
    },
    "sortCriteria": [
      {
        "sortField": "name",
        "sortDirection": "ASC"
      }
    ],
    "pageNumber": 0,
    "pageSize": 20
  }'

Responses

OK

Bodyapplication/json
dataArray of objects(ApiArticleListReadDto)required

List of data items for the current page

data[].​idinteger(int32)required

Unique identifier of the entity

Example: 1
data[].​codestringrequired

Code of the article

Example: "ART123"
data[].​descriptionstring

Description of the article

Example: "Premium leather jacket"
data[].​description2string

Secondary description of the article

Example: "Available in multiple colors"
data[].​warehousestringrequired

Warehouse associated with the article

Example: "MAIN"
data[].​category1string

Primary category of the article

Example: "Clothing"
data[].​category2string

Secondary category of the article

Example: "Jackets"
data[].​category3string

Tertiary category of the article

Example: "Leather"
data[].​category4string

Quaternary category of the article

Example: "Premium"
data[].​vatTypestringrequired

VAT type of the article

Example: "STANDARD"
data[].​purchaseVatTypestringrequired

Purchase VAT type of the article

Example: "STANDARD"
data[].​seasonstring

Season associated with the article

Example: "FALL2023"
data[].​familystring

Family of the article

Example: "OUTDOOR"
data[].​subfamilystring

Subfamily of the article

Example: "WINTER"
data[].​baseCombinationobject(ApiArticleCombinationListReadDto)

Base combination of the article

data[].​tagsArray of strings

List of tags associated with the article

Example: ["premium","leather","fashion"]
data[].​showAttribute1boolean

Indicates if attribute 1 should be displayed

Example: true
data[].​showAttribute2boolean

Indicates if attribute 2 should be displayed

Example: false
data[].​showAttribute3boolean

Indicates if attribute 3 should be displayed

Example: false
data[].​showAttribute4boolean

Indicates if attribute 4 should be displayed

Example: false
data[].​showAttribute5boolean

Indicates if attribute 5 should be displayed

Example: false
pageinteger(int32)required

Current page number (0-based)

Example: 0
totalinteger(int32)required

Total number of items across all pages

Example: 150
pagesinteger(int64)required

Last page number (0-based)

Example: 14
sizeinteger(int32)required

Number of items per page

Example: 10
Response
application/json
{ "data": [ { … } ], "page": 0, "total": 150, "pages": 14, "size": 10 }

Request

Get all your products with aditional info.

Bodyapplication/jsonrequired
conditionobject(ApiCondition)

Condition to filter results

sortCriteriaArray of objects(ApiSortDto)

List of sorting criteria to apply

pageNumberinteger(int32)required

Page number to retrieve (0-based)

Example: 0
pageSizeinteger(int32)required

Number of items per page

Example: 20
curl -i -X POST \
  https://api.prana.software/api/v1/article/search/preview \
  -H 'Content-Type: application/json' \
  -d '{
    "condition": {
      "field": "name",
      "value": "Example Value",
      "type": "EQ",
      "endValue": 100,
      "innerConditions": [
        {}
      ],
      "conditionType": "AND",
      "empty": false,
      "compareFields": false
    },
    "sortCriteria": [
      {
        "sortField": "name",
        "sortDirection": "ASC"
      }
    ],
    "pageNumber": 0,
    "pageSize": 20
  }'

Responses

OK

Bodyapplication/json
dataArray of objects(ApiArticlePreviewReadDto)required

List of data items for the current page

data[].​idinteger(int32)required

Unique identifier of the entity

Example: 1
data[].​baseCombinationIdinteger(int32)

ID of the base combination

Example: 1234
data[].​activeboolean

Indicates if the article is active

Example: true
data[].​codestringrequired

Code of the article

Example: "ART123"
data[].​descriptionstring

Description of the article

Example: "Red cotton shirt"
data[].​combinationCodesArray of strings

List of combination codes

Example: ["COMBO-1","COMBO-2"]
data[].​familystring

Family of the article

Example: "Textile"
data[].​subfamilystring

Subfamily of the article

Example: "Shirts"
data[].​salePricenumber

Sale price of the article

Example: 29.99
data[].​stockQuantitynumber

Stock quantity available

Example: 150
data[].​creationDatestring(date)

Date when the article was created

Example: "2025-01-15"
data[].​inactiveDatestring(date)

Date when the article became inactive

Example: "2025-12-31"
data[].​eanstring

EAN code of the article

Example: 8412345678901
data[].​unitCodestring

Unit code for measurement

Example: "UN"
data[].​vatTypestring

Sale VAT type

Example: "GENERAL"
data[].​purchaseVatTypestring

Purchase VAT type

Example: "REDUCED"
data[].​supplierCommercialNamestring

Supplier commercial name

Example: "Proveedor S.A."
data[].​purchasePricenumber

Purchase price of the article

Example: 15.5
data[].​pendingDeliveryQuantitynumber

Pending delivery quantity

Example: 10
data[].​pendingReceiptQuantitynumber

Pending receipt quantity

Example: 5
data[].​purchasingAccountCodestring

Purchasing account code

Example: 600000
data[].​salesAccountCodestring

Sales account code

Example: 700000
data[].​tagsArray of strings

List of tags associated with the article

Example: ["NEW","OFFER"]
data[].​baseCombinationPictureUrlstring

URL of the base combination picture

Example: "https://example.com/image.jpg"
data[].​baseCombinationPictureTokenstring

Token of the base combination picture

Example: "image.jpg"
pageinteger(int32)required

Current page number (0-based)

Example: 0
totalinteger(int32)required

Total number of items across all pages

Example: 150
pagesinteger(int64)required

Last page number (0-based)

Example: 14
sizeinteger(int32)required

Number of items per page

Example: 10
Response
application/json
{ "data": [ { … } ], "page": 0, "total": 150, "pages": 14, "size": 10 }

Request

Get all your product variants.

Bodyapplication/jsonrequired
conditionobject(ApiCondition)

Condition to filter results

sortCriteriaArray of objects(ApiSortDto)

List of sorting criteria to apply

pageNumberinteger(int32)required

Page number to retrieve (0-based)

Example: 0
pageSizeinteger(int32)required

Number of items per page

Example: 20
curl -i -X POST \
  https://api.prana.software/api/v1/article-combination/search \
  -H 'Content-Type: application/json' \
  -d '{
    "condition": {
      "field": "name",
      "value": "Example Value",
      "type": "EQ",
      "endValue": 100,
      "innerConditions": [
        {}
      ],
      "conditionType": "AND",
      "empty": false,
      "compareFields": false
    },
    "sortCriteria": [
      {
        "sortField": "name",
        "sortDirection": "ASC"
      }
    ],
    "pageNumber": 0,
    "pageSize": 20
  }'

Responses

OK

Bodyapplication/json
dataArray of objects(ApiArticleCombinationListReadDto)required

List of data items for the current page

data[].​idinteger(int32)required

Unique identifier of the entity

Example: 1
data[].​articlestring

Article code

Example: 123456
data[].​articleIdinteger(int32)

Internal article identifier

Example: 876
data[].​articleTypestring(ApiArticleTypeEnum)

Type of article

Enum"PACKAGING""EXPENSE""RAW_MATERIAL""MERCHANDISE""OTHERS""FINISHED_PRODUCT""SEMI_FINISHED""SERVICE""ADVERTISING"
Example: "MERCHANDISE"
data[].​unitWarehouseIdinteger(int32)

Warehouse ID where the item is stored

Example: 55
data[].​articleDescriptionstring

Description of the article

Example: "Blue cotton T-shirt"
data[].​attribute1object(ApiAttributeListReadDto)

First attribute of the article. See ApiAttributeListReadDto

data[].​attribute2object(ApiAttributeListReadDto)

Second attribute of the article. See ApiAttributeListReadDto

data[].​attribute3object(ApiAttributeListReadDto)

Third attribute of the article. See ApiAttributeListReadDto

data[].​attribute4object(ApiAttributeListReadDto)

Fourth attribute of the article. See ApiAttributeListReadDto

data[].​attribute5object(ApiAttributeListReadDto)

Fifth attribute of the article. See ApiAttributeListReadDto

data[].​seasonIdinteger(int32)

Season identifier

Example: 1
data[].​seasonstring

Season name

Example: "Summer 2025"
data[].​category1string

First article category

Example: "Men"
data[].​category2string

Second article category

Example: "Shirts"
data[].​category3string

Third article category

Example: "Cotton"
data[].​category4string

Fourth article category

Example: "Casual"
data[].​descriptionstring

Combination description

Example: "Casual blue T-shirt, 100% cotton"
data[].​activeboolean

Indicates if the article is active

Example: true
data[].​articleVatTypestring(ApiArticleVatTypeEnum)

VAT type for the article

Enum"SUPER_REDUCED""REDUCED""GENERAL""EXEMPT"
Example: "GENERAL"
data[].​assortmentobject(ApiAssortmentListReadDto)

Assortment information. See ApiAssortmentListReadDto

data[].​sizeRangeobject(ApiSizeRangeListReadDto)

Size range information. See ApiSizeRangeListReadDto

data[].​serialNumberControlboolean

Indicates if serial number control is used

Example: false
data[].​batchControlboolean

Indicates if batch control is used

Example: false
data[].​eanstring

EAN code of the product variant

Example: 8437000000012
pageinteger(int32)required

Current page number (0-based)

Example: 0
totalinteger(int32)required

Total number of items across all pages

Example: 150
pagesinteger(int64)required

Last page number (0-based)

Example: 14
sizeinteger(int32)required

Number of items per page

Example: 10
Response
application/json
{ "data": [ { … } ], "page": 0, "total": 150, "pages": 14, "size": 10 }
Operations

DeliveryNote

Manage your DeliveryNotes

Operations

Warehouse Accumulate

Manage your warehouse accumulates

Operations
Operations
Operations

Entity Last Update

Manage the last-updated timestamps for entities

Operations

Period

Retrieves the available accounting periods in the app

Operations
Operations
Operations

Purchase Invoice

Manage your Purchase Invoices

Operations
Operations
Operations

Payment Method

Manage your Payment Methods

Operations
Operations

Recurring Billing Templates

Manage your recurring billing templates

Operations
Operations

Billing Series

Manage your Billing Series

Operations
Operations
Operations

PurchaseDeliveryNote

Manage your PurchaseDeliveryNotes

Operations
Operations
Operations