pixiUpdateInvoicePackage

API call procedure which updates invoice package info. This API sends MQ event "PackageLabelSaved" which triggers printing of Shipping label.

Since pixi version: AVA Official - Update 23 (8.4.23.27873) Additional notes:


Request

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

Request body

Name Type Required Description
PackageId integer true

Reference for InvoicePackage table

Type: int

Default value:

Example: 123

Available from: AVA Official - Update 23 (8.4.23.27873)

InvoiceKey integer false

Reference for Invoices table.

Type: int

Default value: NULL

Example: 123

Available from: AVA Official - Update 23 (8.4.23.27873)

TrackingId string false

Used for updating the tracking Id of the package.

Type: varchar(512)

Default value: NULL

Example: abcdefg

Available from: AVA Official - Update 23 (8.4.23.27873)

ReturnLabelUrl string false

Used for updating the return label url.

Type: varchar(8000)

Default value: NULL

Example: abcdefg

Available from: AVA Official - Update 23 (8.4.23.27873)

ReturnTrackingId string false

Used for updating the return tracking Id of the package.

Type: varchar(512)

Default value: NULL

Example: abcdefg

Available from: AVA Official - Update 23 (8.4.23.27873)

ShippingLabelUrl string false

Used for updating the shipping vendor label url.

Type: varchar(8000)

Default value: NULL

Example: abcdefg

Available from: AVA Official - Update 23 (8.4.23.27873)

ExternalShipmentId string false

Used for updating the external shipment ID of the package.

Type: varchar(512)

Default value: NULL

Example: abcdefg

Available from: AVA 17.11 (8.4.35.32155)

MessageFromProvider string false

Allows to transmit a message from the provider, such as an error message when the label cannot be produced

Type: varchar(-1)

Default value: NULL

Example: abcdefg

Available from: AVA 17.11 (8.4.35.32155)

ResetClientNotifiedFlag boolean false

Mark the order for re-export to shop with new tracking or return tracking ID

Type: bit

Default value: 0

Example: 0 or 1

Available from: 19.04 (9.0.2.38390)

MessageFromProviderDetail string false

Allows to transmit a message from the provider, such as an error message details when the label cannot be produced

Type: varchar(-1)

Default value: NULL

Example: abcdefg

Available from: AVA 17.11 (8.4.35.32155)


Response

Name Type Description
Response string

Returns a message if the execution was successfull (200) or not (400,500)

Type: varchar

Available from: 25.06 (25.6.0.58802)