Purchase VAT type. If not provided, defaults to vatType.
Default:""
Example:"Standard VAT"
List of article combinations.
Default:""
List of associated article size ranges.
Default:""
Article type.
Default:""
Enum:"PACKAGING""EXPENSE""RAW_MATERIAL""MERCHANDISE""OTHERS""FINISHED_PRODUCT""SEMI_FINISHED""SERVICE""ADVERTISING"
Indicates if serial number control is active for this article.
Default:false
Example:true
Indicates if batch expiration date should be shown.
Default:false
Example:true
Number of days before expiration to show an alert.
Default:""
Example:30
List of article presentation.
Default:""
PUT
curl -i -X PUT \
'https://api.prana.software/api/v1/article/{id}' \
-H 'Content-Type: application/json' \
-d '{
"baseCombination": 1,
"code": "ART001",
"description": "Blue T-Shirt",
"vatType": "Standard VAT",
"purchaseVatType": "Standard VAT",
"height": 10,
"width": 5,
"depth": 3,
"grossWeight": 1.5,
"netWeight": 1.2,
"warehouse": 1,
"accumulateWarehouse": false,
"unitWarehouse": 1,
"salesAccount": 700,
"purchasingAccount": 600,
"articleCombinations": "",
"family": 10,
"observations": "",
"files": "",
"tags": "",
"showAttribute1": true,
"showAttribute2": true,
"showAttribute3": false,
"showAttribute4": false,
"showAttribute5": false,
"stockQuantity": 0,
"salesQuantity": 0,
"cancelledQuantity": 0,
"outboundQuantity": 0,
"pendingDeliveryQuantity": 0,
"purchaseQuantity": 0,
"providerCancelledQuantity": 0,
"inboundQuantity": 0,
"pendingReceiptQuantity": 0,
"articleSizeRanges": "",
"description2": "Premium cotton",
"articleType": "PACKAGING",
"batchControl": true,
"serialNumberControl": true,
"showBatchExpirationDate": true,
"batchExpirationDaysAlert": 30,
"usesPresentations": false,
"category1": 1,
"category2": 2,
"category3": 3,
"category4": 4,
"phytosanitaryProduct": 5,
"articlePresentations": "",
"pack": false
}'OK
List of article combinations.
Default:""
List of associated article size ranges.
Default:""
Article type.
Default:""
Enum:"PACKAGING""EXPENSE""RAW_MATERIAL""MERCHANDISE""OTHERS""FINISHED_PRODUCT""SEMI_FINISHED""SERVICE""ADVERTISING"
Phytosanitary product information.
Default:""
Indicates if serial number control is active for this article.
Default:false
Example:true
Indicates if batch expiration date should be shown.
Default:false
Example:true
Number of days before expiration to show an alert.
Default:""
Example:30
List of article presentations.
Default:""
Response
{ "id": "", "code": "ART001", "description": "Blue T-Shirt", "vatType": "Standard VAT", "purchaseVatType": "Standard VAT", "height": 10, "width": 5, "depth": 3, "grossWeight": 1.5, "netWeight": 1.2, "warehouse": { "id": "", "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "accumulateWarehouse": false, "unitWarehouse": { "id": "", "code": "KG", "description": "Kilogram", "isoCode": "DMK" }, "salesAccount": { "id": "", "code": "1000", "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": "100", "parentDescription": "Assets" }, "purchasingAccount": { "id": "", "code": "1000", "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": "100", "parentDescription": "Assets" }, "baseCombination": { "id": "", "defaultArticleCombinationSupplier": { … }, "defaultItemSaleRate": { … }, "defaultEan": null, "article": "string", "articleId": 0, "articleType": "PACKAGING", "unitWarehouseId": 0, "articleDescription": "string", "attribute1": null, "attribute2": null, "attribute3": null, "attribute4": null, "attribute5": null, "seasonId": 0, "season": "string", "category1": "string", "category2": "string", "category3": "string", "category4": "string", "description": "string", "active": true, "articleVatType": "string", "purchaseArticleVatType": "string", "assortment": null, "sizeRange": null, "serialNumberControl": true, "batchControl": true }, "family": null, "articleCombinations": "", "observations": "", "files": "", "tags": "", "showAttribute1": true, "showAttribute2": true, "showAttribute3": false, "showAttribute4": false, "showAttribute5": false, "stockQuantity": 50, "salesQuantity": 30, "cancelledQuantity": 2, "outboundQuantity": 10, "pendingDeliveryQuantity": 5, "purchaseQuantity": 100, "providerCancelledQuantity": 1, "inboundQuantity": 80, "pendingReceiptQuantity": 20, "articleSizeRanges": "", "description2": "Premium cotton", "articleType": "PACKAGING", "phytosanitaryProduct": { "id": "", "code": "PHYT-001", "description": "Herbicide type A", "headline": "Active Ingredient", "form": "Liquid", "cancellationDate": "2025-12-31", "saleDeadline": "2025-11-30" }, "batchControl": true, "serialNumberControl": true, "showBatchExpirationDate": true, "batchExpirationDaysAlert": 30, "usesPresentations": false, "presentationsCount": 4, "articlePresentations": "", "category1": null, "category2": null, "category3": null, "category4": null, "pack": false }