The API call updates the item status. In case we provide also parameter @SupplierID. We can use the call to update the "Active" status for a specific supplier for the item.

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


Request

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

Request body

Name Type Required Description
Enabled boolean false

Used for setting the item to enabled/active. (Default value: 1)

Type: bit

Default value: 1

Example:

Available from: LOU Official (6.3.0.4452)

ItemKey integer false

pixi* Item ID. (Optional in case value for parameter @ItemNrInt is provided)

Type: int

Default value: NULL

Example:

Available from: LOU Official (6.3.0.4452)

ItemNrInt string false

pixi* Item number internal. (Optional in case value for parameter @ItemKey is provided)

Type: varchar(50)

Default value: NULL

Example:

Available from: LOU Official (6.3.0.4452)

SupplierID string false

pixi* Supplier ID. Used when updating the "Active" status for an item for specific supplier.

Type: varchar(4)

Default value: NULL

Example:

Available from: AVA 17.02 (8.4.26.28957)


Response

1. Return status

Name Type Description
Active boolean

Item active status

Type: bit

Available from: 25.06 (25.6.0.58802)

Enabled boolean

1 = item is marked as active in pixi* 0 = item is marked as inactive in pixi*

Type: bit

Available from: 25.06 (25.6.0.58802)

ItemKey integer

pixi* internal item key

Type: int

Available from: 25.06 (25.6.0.58802)

SupplNr string

Suplier Id

Type: varchar

Available from: 25.06 (25.6.0.58802)

ItemNrInt string

shop-specific id (SUPPLIER_AID)

Type: varchar

Available from: 25.06 (25.6.0.58802)

2. Return status

Name Type Description
Status string

Status

Type: varchar

Available from: 25.06 (25.6.0.58802)

ErrorMsg string

Error message

Type: varchar

Available from: 25.06 (25.6.0.58802)