PUT v1/{organizationId}/products/{guid}

Update an existing product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
guid

Unique identifier for the product

globally unique identifier

Required

organizationId

string

None.

Body Parameters

Content of the product to update

UpdateProduct
NameDescriptionTypeAdditional information
ProductNumber

Number of the product (Varekode)

string

None.

Name

Product name

string

None.

BaseAmountValue

Amount excl. VAT

decimal number

None.

Quantity

Quantity

decimal number

None.

AccountNumber

Account number

integer

None.

Unit

Product unit. Available unit types: hours, parts, km, day, week, month, kilogram, cubicMetre, set, litre, box, case, carton, metre, package, shipment, squareMetre, session, tonne.

string

None.

ExternalReference

Your external id This can be used for ID'ing in external apps/services e.g. a web shop. The maximum length is 128 characters

string

String length: inclusive between 0 and 128

Sample:
{
  "ProductNumber": "sample string 1",
  "Name": "skrewdriver",
  "BaseAmountValue": 20.0,
  "Quantity": 5.0,
  "AccountNumber": 1000,
  "Unit": "parts",
  "ExternalReference": "Fx. WebShopID:42"
}

Response Information

Resource Description

Returns 200 (OK) if the product is updated successfully

Ok
Sample:

Sample not available.