v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
Products

Update product

Updates the accounting code and/or additional info of a product identified by id. Updating an id that does not match any product also returns 200 without applying any change — no 404 is raised.

patch/products/{companyId}/{id}

Path parameters

idstring required
companyIdstring required

Request body

additionalInfoobject

Free-form key/value metadata to attach to the product. Replaces the existing value entirely.

accountingCodestring nullable

Accounting account code to link the product to.

Example request

{
  "accountingCode": "5720001"
}

Response

Successful Response

idstring required

Embat product ID