POST
/
products
/
{productId}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

productId
string
required

ID of the product to update

Body

application/json
ageRestriction
boolean

Age restriction

barcode
string

Product barcode

category
string

Category ID of the product

costPrice
integer

Cost price in cents

declarations
string

Product declarations

depositProduct
integer

Deposit amount in cents

description
string

Product description

index
integer

Product index

margin
number

Product margin

name
string

Name of the product

price
integer

Price in cents

salePercentage
number

Sale percentage

salePrice
integer

Sale price in cents

salePriceDateFrom
string

Sale start date

salePriceDateTo
string

Sale end date

saleStop
boolean

Sale stop

showOnHomescreen
boolean

Show on homescreen

showOnScale
boolean

Show on scale

showOnScreen
boolean

Show on screen

supplier
string

Supplier of the product

taxCategory
enum<string>

Tax category

Available options:
8.1,
2.6,
3.8,
0

Response

200 - application/json
success
boolean