Update single product

Update single product

Request
Security:
path Parameters
id
required
integer

Product id

Request Body schema:

Optional description

id
integer

Product id

packageWeightValue
number

Package weight value

packageWeightUnit
any
Default: "KG"

Package weight unit

Enum: "KG" "G"
basePrice
number

Product price with VAT included

vat
number

Product VAT

stockLevel
integer

Stock level

sku
string

Stock keeping unit

Responses
200

Successfully

400

Invalid request

404

Not found

500

Internal server error

put/product/api/v1/merchant-integration/product/{id}
Request samples
{
  • "packageWeightValue": 184,
  • "packageWeightUnit": "KG",
  • "basePrice": 40000,
  • "vat": 20,
  • "stockLevel": 5,
  • "sku": "LXG9HET6O3"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "errors": [ ],
  • "myProductId": 456
}
Copyright © Ananas 2023. All right reserved.