pixi Developer & Integration Documentation

pixiSupplierOrderLineUpdate

Description

Updates properties of an existing supplier order line. Price, estimated delivery date, and comment can each be updated independently. Omitting or passing NULL for an optional parameter leaves the corresponding field unchanged.


Request Parameters

#

Name

Type

Required

Example

Description

1

AppName

string

1

MyApp

Name of the application executing the API call.

2

UserId

int

0

42

ID of the user executing the API call. Either UserId or UserName must be provided.

3

UserName

string

1

jsmith

Username of the user executing the API call. Either UserId or UserName must be provided.

4

SupplierOrderLineId

int

1

131

ID of the supplier order line to update.

5

SupplierPrice

decimal

0

12.50

New supplier price. If NULL or omitted, the existing price is unchanged.

6

EstimatedDeliveryDate

datetime

0

2026-09-01

New estimated delivery date. Only the date part is used; time is ignored. If NULL or omitted, the existing date is unchanged.

7

Comment

string

0

Delayed shipment

Comment to add to the order line. If NULL or omitted, the existing comment is unchanged.


Request body

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dem="https://api.pixi.eu/soap/demosandbox/">
<soapenv:Header/>
<soapenv:Body>
<dem:pixiSupplierOrderLineUpdate>
<dem:AppName>MyApp</dem:AppName>
<dem:UserId>42</dem:UserId>
<dem:UserName>jsmith</dem:UserName>
<dem:SupplierOrderLineId>131</dem:SupplierOrderLineId>
<dem:SupplierPrice>12.50</dem:SupplierPrice>
<dem:EstimatedDeliveryDate>2026-09-01</dem:EstimatedDeliveryDate>
<dem:Comment>Delayed shipment</dem:Comment>
</dem:pixiSupplierOrderLineUpdate>
</soapenv:Body>
</soapenv:Envelope>


Response


Body 1: Updated Record

Returned on success.

#

Name

Type

Description

1

Updated_SupplierOrderLineId

int

ID of the supplier order line that was updated.


Body 2: Error Information

Returned instead of Body 1 when an unexpected error occurs.

#

Name

Type

Description

1

ReturnCode

string

Always "ERROR" on failure.

2

ErrorMessage

string

Description of the error.


Additional Notes

Either UserId or UserName must be provided.
At least one of SupplierPrice, EstimatedDeliveryDate, or Comment should be provided for a meaningful update.

EstimatedDeliveryDate: only the date portion is stored; any time component in the input is discarded.

Empty string values for SupplierPrice and Comment are treated as NULL (no update).