pixiGetOrderComments

This API call returns all order comments, with their creation date and user, filtered by the order number or the order number shop.

Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes: This API call returns order comments, optionally filtered by order number.

    **How it works:**
    - The order is identified by `@OrderNr` (internal pixi* order number) and/or `@OrderNrShop` (order number external, also known as shop order number).
    - If neither `@OrderNr` nor `@OrderNrShop` is provided, all comments are returned (no order filter).
    - If both are provided, comments matching either the internal or the external order number are returned.
    - Only comments created after `@Since` are returned. If `@Since` is not provided, all comments are returned.
    
    **Row limit:**
    - The result set is always limited to a maximum of **1000 rows**.
    - If `@RowCount` is not provided or `0`, it is set to `1000`.
    - If `@RowCount` is greater than `1000`, it is capped at `1000`.

Request

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

Request body

Name Type Required Description
Since string false

Returns only comments created after this date/time. If NULL, defaults to '2000-01-01'.

Type: datetime

Default value: 2000-01-01

Example: date format: YYYYMMDD hh:mm:ss[.mmm]

Available from: (26.6.0.11854)

OrderNr integer false

Filter by internal pixi* order number. If neither @OrderNr nor @OrderNrShop is provided, all comments are returned.

Type: int

Default value: NULL

Example: 120544

Available from: LOU Official - Update 46 (6.9.46.27927)

RowCount integer false

Maximum number of returned rows. If NULL or 0 it is set to 1000. If greater than 1000 it is capped to 1000.

Type: int

Default value: 1000

Example: 100

Available from: (26.6.0.11854)

OrderNrShop string false

Filter by order number external (shop order number). If neither @OrderNr nor @OrderNrShop is provided, all comments are returned.

Type: varchar(50)

Default value: NULL

Example: 20100602114632

Available from: LOU Official - Update 46 (6.9.46.27927)


Response

1. List of order comments matching the provided filter, limited to `@RowCount` rows. If neither `@OrderNr` nor `@OrderNrShop` is provided, all comments are returned.

Name Type Description
Comment string

Order comment text.

Type: varchar

Available from: / (26.6.0.11854)

OrderNr integer

Internal pixi* order number.

Type: int

Available from: / (26.6.0.11854)

CreateEmp string

pixi* user name that created the comment.

Type: varchar

Available from: / (26.6.0.11854)

CreateDate string

Date and time the comment was created.

Type: datetime

Available from: / (26.6.0.11854)

OrderNrExternal string

Order number external (shop order number).

Type: varchar

Available from: / (26.6.0.11854)