Sets EAN code for Item.

Since pixi version: LOU Official (6.3.0.4452) Additional notes:


Request

POST https://apigateway.descartes.com/tms/pixi/pixiSetItemEan

Request body

Name Type Required Description
NewEan string true

EAN (new)

Type: varchar(13)

Default value:

Example: abcdef

Available from: LOU Official (6.3.0.4452)

OldEan string false

EAN (current)

Type: varchar(13)

Default value: NULL

Example: 123

Available from: LOU Official (6.3.0.4452)

ItemKey integer false

Item Id

Type: int

Default value: NULL

Example: 123

Available from: LOU Official (6.3.0.4452)

ItemNrInt string false

Internal Item Number

Type: varchar(50)

Default value: NULL

Example: 123

Available from: LOU Official (6.3.0.4452)

ItemNrSuppl string false

Supplier Item Number

Type: varchar(50)

Default value: NULL

Example: 123

Available from: LOU Official (6.3.0.4452)

ResultMessage string false

Result message (output)

Type: varchar(256)

Default value: NULL

Example: 123

Available from: LOU Official (6.3.0.4452)

SupressDataset boolean false

Suppres result

Type: bit

Default value: 0

Example: 123

Available from: LOU Official (6.3.0.4452)


Response

1. Picklist data

Name Type Description
ResultMessage string

The function returns the result dataset unless the parameter SuppressDataset is 1. The result of function can be one of the following messages:
200 Item updated
401 No item ID provided
402 Item not found
403 More than one item is found
404 Unexpected error: (error nr and error messages)
405 Setting BMECatImport_Update_EANUPC is off which is preventing the EAN from being updated

Type: varchar

Available from: 25.06 (25.6.0.58802)