pixiCanMergeOrders

Api call returns a status if order can be merge with an order or not

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


Request

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

Request body

Name Type Required Description
Reason string false

Reason

Type: varchar(128)

Default value: NULL

Example:

Available from: LOU Official (6.3.0.4452)

CanMerge integer false

Can Merge

Type: int

Default value: NULL

Example:

Available from: LOU Official (6.3.0.4452)

SourceOrderNr integer true

Source OrderNr

Type: int

Default value:

Example: 123

Available from: LOU Official (6.3.0.4452)

TargetOrderNr integer true

Target OrderNr

Type: int

Default value:

Example: 123

Available from: LOU Official (6.3.0.4452)


Response

1. Result set

Name Type Description
Reason string

Code + textual description of the result. Code may be used to automatically translate the return of the function. Possible values are: 200 OK 401 Both orders must exist 402 Orders must belong to the same customer 403 All involved orderlines must have status ANG 404 Payment types on both orders must match and not be a creditcard type 405 None of the orderlines in either orders can be on picklists

Type: varchar

Available from: / (25.7.0.59144)

CanMerge integer

0 = operation is not possible, 1 = operation is possible

Type: int

Available from: / (25.7.0.59144)