Skip to content

Article_Update

PUT
/v1/articles/{id}
curl --request PUT \
--url https://rms.dev.caspeco.net/api/booking/v1/articles/1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'system: example' \
--data '{ "id": 1, "name": "example", "articleGroupId": 1, "sortOrder": 1, "departmentIds": [ 1 ], "description": "example", "price": 1, "inPrice": 1, "useCalculatedInPrice": true, "priceIsIncludingVat": true, "vatPercent": 1, "articleNumber": "example", "supplierArticleNumber": "example", "supplierId": 1, "subArticles": [ { "id": 1, "subArticleId": 1, "parentArticleId": 1, "quantity": 1, "quantityAsString": "example", "overridePrice": 1, "discount": 1, "offsetMinutes": 1, "information": "example" } ], "parentArticles": [ { "id": 1, "subArticleId": 1, "parentArticleId": 1, "quantity": 1, "quantityAsString": "example", "overridePrice": 1, "discount": 1, "offsetMinutes": 1, "information": "example" } ], "unit": "example", "receiptText": "example", "keepStockBalance": true, "hidden": true, "articleGroupHidden": true, "furnishingIds": [ 1 ], "canChangeTax": true, "isContainer": true, "canChangePrice": true, "priceModel": 0, "roundUpTo": 1, "isDayBreak": true, "inactivatedUntil": "2026-04-15T12:00:00Z", "changeDate": "2026-04-15T12:00:00Z", "articleGroupChangeDate": "2026-04-15T12:00:00Z", "dayBreakTime": "example", "preparationTime": 1, "restorationTime": 1, "stockBalance": 1, "stockType": 0, "includedInResourcePool": true, "isRentalArticle": true, "deliverOnStartTime": true, "showPrinting": true, "specialFood": true, "copyInformation": true, "isSubInvoice": true, "webFlags": 0, "isPackage": 0, "nonDiscountable": true, "centralKey": "example", "binaryFlags": 0, "image": "example", "imageUrl": "example", "imageFilename": "example", "imageUploadData": "example", "tableInfos": [ { "tableId": 1, "templateId": 1, "unitId": 1, "templateName": "example", "tableName": "example", "articleId": 1, "sectionId": 1 } ], "accounting": { "account": "example", "vatAccount": "example", "costOfGoodsAccount": "example", "costCenter": "example" } }'
id
required
integer format: int64
system
required
string

The system name / database to query

Media typeapplication/json
object
id
integer format: int64
name
string
nullable
articleGroupId
integer format: int64
sortOrder
integer format: int32
departmentIds
Array<integer>
nullable
description
string
nullable
price
number format: decimal
inPrice
number format: decimal
useCalculatedInPrice
boolean
priceIsIncludingVat
boolean
vatPercent
number format: decimal
articleNumber
string
nullable
supplierArticleNumber
string
nullable
supplierId
integer format: int64
subArticles
Array<object>
nullable
object
id
integer format: int64
subArticleId
integer format: int64
parentArticleId
integer format: int64
quantity
number format: double
quantityAsString
string
nullable
overridePrice
number format: double
discount
number format: double
offsetMinutes
integer format: int32
information
string
nullable
parentArticles
Array<object>
nullable
object
id
integer format: int64
subArticleId
integer format: int64
parentArticleId
integer format: int64
quantity
number format: double
quantityAsString
string
nullable
overridePrice
number format: double
discount
number format: double
offsetMinutes
integer format: int32
information
string
nullable
unit
string
nullable
receiptText
string
nullable
keepStockBalance
boolean
hidden
boolean
articleGroupHidden
boolean
furnishingIds
Array<integer>
nullable
canChangeTax
boolean
isContainer
boolean
canChangePrice
boolean
priceModel
integer
Allowed values: 0 1
roundUpTo
integer
Allowed values: 1 15 30 60 120 240
isDayBreak
boolean
inactivatedUntil
string format: date-time
changeDate
string format: date-time
nullable
articleGroupChangeDate
string format: date-time
nullable
dayBreakTime
string
nullable
preparationTime
integer format: int32
restorationTime
integer format: int32
stockBalance
integer format: int32
stockType
integer
Allowed values: 0 1 2 3
includedInResourcePool
boolean
isRentalArticle
boolean
deliverOnStartTime
boolean
showPrinting
boolean
specialFood
boolean
copyInformation
boolean
isSubInvoice
boolean
webFlags
integer
Allowed values: 0 1 2 3
isPackage
integer
Allowed values: 0 1 2
nonDiscountable
boolean
nullable
centralKey
string
nullable
binaryFlags
integer
Allowed values: 0 1 2 8
image
string
nullable
imageUrl
string
nullable
imageFilename
string
nullable
imageUploadData
string
nullable
tableInfos
Array<object>
nullable
object
tableId
integer format: int64
templateId
integer format: int64
unitId
integer format: int64
templateName
string
nullable
tableName
string
nullable
articleId
integer format: int64
sectionId
integer format: int64
accounting
One of:
object
account
string
nullable
vatAccount
string
nullable
costOfGoodsAccount
string
nullable
costCenter
string
nullable
Media typeapplication/json
object
id
integer format: int64
name
string
nullable
articleGroupId
integer format: int64
sortOrder
integer format: int32
departmentIds
Array<integer>
nullable
description
string
nullable
price
number format: decimal
inPrice
number format: decimal
useCalculatedInPrice
boolean
priceIsIncludingVat
boolean
vatPercent
number format: decimal
articleNumber
string
nullable
supplierArticleNumber
string
nullable
supplierId
integer format: int64
subArticles
Array<object>
nullable
object
id
integer format: int64
subArticleId
integer format: int64
parentArticleId
integer format: int64
quantity
number format: double
quantityAsString
string
nullable
overridePrice
number format: double
discount
number format: double
offsetMinutes
integer format: int32
information
string
nullable
parentArticles
Array<object>
nullable
object
id
integer format: int64
subArticleId
integer format: int64
parentArticleId
integer format: int64
quantity
number format: double
quantityAsString
string
nullable
overridePrice
number format: double
discount
number format: double
offsetMinutes
integer format: int32
information
string
nullable
unit
string
nullable
receiptText
string
nullable
keepStockBalance
boolean
hidden
boolean
articleGroupHidden
boolean
furnishingIds
Array<integer>
nullable
canChangeTax
boolean
isContainer
boolean
canChangePrice
boolean
priceModel
integer
Allowed values: 0 1
roundUpTo
integer
Allowed values: 1 15 30 60 120 240
isDayBreak
boolean
inactivatedUntil
string format: date-time
changeDate
string format: date-time
nullable
articleGroupChangeDate
string format: date-time
nullable
dayBreakTime
string
nullable
preparationTime
integer format: int32
restorationTime
integer format: int32
stockBalance
integer format: int32
stockType
integer
Allowed values: 0 1 2 3
includedInResourcePool
boolean
isRentalArticle
boolean
deliverOnStartTime
boolean
showPrinting
boolean
specialFood
boolean
copyInformation
boolean
isSubInvoice
boolean
webFlags
integer
Allowed values: 0 1 2 3
isPackage
integer
Allowed values: 0 1 2
nonDiscountable
boolean
nullable
centralKey
string
nullable
binaryFlags
integer
Allowed values: 0 1 2 8
image
string
nullable
imageUrl
string
nullable
imageFilename
string
nullable
imageUploadData
string
nullable
tableInfos
Array<object>
nullable
object
tableId
integer format: int64
templateId
integer format: int64
unitId
integer format: int64
templateName
string
nullable
tableName
string
nullable
articleId
integer format: int64
sectionId
integer format: int64
accounting
One of:
object
account
string
nullable
vatAccount
string
nullable
costOfGoodsAccount
string
nullable
costCenter
string
nullable
Example
{
"priceModel": 0,
"roundUpTo": 1,
"stockType": 0,
"webFlags": 0,
"isPackage": 0,
"binaryFlags": 0
}