pixiGetCustomerOrderAccount

Returns orders for given customer.

Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes:


Request

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

Request body

Name Type Required Description
CustKey integer true

Required Customer ID, references table customers.

Type: int

Default value:

Example: 123

Available from: LOU Official - Update 46 (6.9.46.27927)

OrderDateTo string false

Additional filter by Order date to.

Type: datetime

Default value: NULL

Example: 2017-12-31 23:59:96

Available from: LOU Official - Update 46 (6.9.46.27927)

OrderDateFrom string false

Additional filter by Order date from.

Type: datetime

Default value: NULL

Example: 2017-01-01 00:00:00

Available from: LOU Official - Update 46 (6.9.46.27927)


Response

1. Customer information

Name Type Description
CeMail string

Customers eMail

Type: varchar

Available from: / (25.8.0.59841)

ShopID string

Shop ID

Type: varchar

Available from: / (25.8.0.59841)

AddrRef integer

Billing Address ID

Type: int

Available from: / (25.8.0.59841)

CustomerLocked string

Information if a customer is locked or not. Returns char(1) - N - no, customer is not locked. Y - yes, customer is locked. (Reason for the lock can be found in the "Comment" Field returned by the same call)

Type: varchar

Available from: / (25.8.0.59841)

CustomerNrExternal string

External Reference to the Customer (imported from Shop)

Type: varchar

Available from: / (25.8.0.59841)

2. Detail customer information

Name Type Description
Fax string

Fax

Type: varchar

Available from: / (25.8.0.59841)

ZIP string

ZIP

Type: varchar

Available from: / (25.8.0.59841)

City string

City

Type: varchar

Available from: / (25.8.0.59841)

Fax2 string

Fax2

Type: varchar

Available from: / (25.8.0.59841)

Name string

Name

Type: varchar

Available from: / (25.8.0.59841)

Note string

Note

Type: varchar

Available from: / (25.8.0.59841)

CCCVC string

CC CVC

Type: varchar

Available from: / (25.8.0.59841)

Name2 string

Name 2

Type: varchar

Available from: / (25.8.0.59841)

Phone string

Phone

Type: varchar

Available from: / (25.8.0.59841)

State string

State

Type: varchar

Available from: / (25.8.0.59841)

VATID string

VAT ID

Type: varchar

Available from: / (25.8.0.59841)

ZIPMB string

ZIP MB

Type: varchar

Available from: / (25.8.0.59841)

eMail string

E-Mail address

Type: varchar

Available from: / (25.8.0.59841)

AddrNr string

Address Number

Type: varchar

Available from: / (25.8.0.59841)

Anrede string

Salutation

Type: varchar

Available from: / (25.8.0.59841)

CCName string

CC Name

Type: varchar

Available from: / (25.8.0.59841)

CCType string

CC Type

Type: varchar

Available from: / (25.8.0.59841)

CareOf string

Customer of

Type: varchar

Available from: / (25.8.0.59841)

Phone2 string

Phone2

Type: varchar

Available from: / (25.8.0.59841)

Street string

Street

Type: varchar

Available from: / (25.8.0.59841)

eMail2 string

E-Mail address 2

Type: varchar

Available from: / (25.8.0.59841)

AddrKey integer

Address ID

Type: int

Available from: / (25.8.0.59841)

Address string

Address

Type: varchar

Available from: / (25.8.0.59841)

BankBIC string

Bank BIC

Type: varchar

Available from: / (25.8.0.59841)

BankBLZ string

Bank BLZ

Type: varchar

Available from: / (25.8.0.59841)

Country string

Country

Type: varchar

Available from: / (25.8.0.59841)

HouseNr string

House Number

Type: varchar

Available from: / (25.8.0.59841)

Mailbox string

Mailbox

Type: varchar

Available from: / (25.8.0.59841)

AddrType string

Address Type

Type: varchar

Available from: / (25.8.0.59841)

BankIBAN string

Bank IBAN

Type: varchar

Available from: / (25.8.0.59841)

BankName string

Name of the Bank

Type: varchar

Available from: / (25.8.0.59841)

CCExpiry string

CC Expiry

Type: varchar

Available from: / (25.8.0.59841)

CCNumber string

CC Number

Type: varchar

Available from: / (25.8.0.59841)

LastName string

Last Name

Type: varchar

Available from: / (25.8.0.59841)

BirthDate string

Birth Date

Type: datetime

Available from: / (25.8.0.59841)

FirstName string

First Name

Type: varchar

Available from: / (25.8.0.59841)

CntCodeISO2 string

Country Code ISO2

Type: char

Available from: / (25.8.0.59841)

CntCodeISO3 string

Country Code ISO3

Type: char

Available from: / (25.8.0.59841)

PaymentType string

Payment type code

Type: varchar

Available from: / (25.8.0.59841)

AddressLocked string

Address Locked

Type: varchar

Available from: / (25.8.0.59841)

BankAccountName string

Bank Account Name

Type: varchar

Available from: / (25.8.0.59841)

BankAccountNumber string

Bank Account Number

Type: varchar

Available from: / (25.8.0.59841)

3. Customer orders information filtered by date range

Name Type Description
DFType integer

DF Type

Type: int

Available from: / (25.8.0.59841)

OrderNr integer

pixi Order Number

Type: int

Available from: / (25.8.0.59841)

CCAuthID string

CC Authorization ID

Type: varchar

Available from: / (25.8.0.59841)

Referrer string

Referrer

Type: varchar

Available from: / (25.8.0.59841)

ShipDate string

Ship this order at this date only! not before

Type: datetime

Available from: / (25.8.0.59841)

ShopNote string

Note received with this order from the shop

Type: varchar

Available from: / (25.8.0.59841)

DHLExtras string

DHL Extras

Type: varchar

Available from: / (25.8.0.59841)

DHLProdukt string

DHL Produkt

Type: varchar

Available from: / (25.8.0.59841)

OrderTotal number

Order Total

Type: money

Available from: / (25.8.0.59841)

GiftMessage string

Gift Message

Type: varchar

Available from: / (25.8.0.59841)

OrderLocked string

Y/N flag indicating whether the order is locked

Type: varchar

Available from: / (25.8.0.59841)

OrderStatus string

Order Status

Type: varchar

Available from: / (25.8.0.59841)

SubShopLogo string

Sub Shop Logo

Type: varchar

Available from: / (25.8.0.59841)

SubShopName string

Sub Shop Name

Type: varchar

Available from: / (25.8.0.59841)

DHLVerfahren string

DHL Verfahren

Type: varchar

Available from: / (25.8.0.59841)

ShipInstruct string

Ship Instruct

Type: varchar

Available from: / (25.8.0.59841)

OrderDiscount number

Order Discount

Type: money

Available from: / (25.8.0.59841)

AddressRemarks string

Address Remarks

Type: varchar

Available from: / (25.8.0.59841)

BillingAddrRef integer

Billing Address ID

Type: int

Available from: / (25.8.0.59841)

OrderHeaderKey integer

ID of the order header record

Type: int

Available from: / (25.8.0.59841)

ShipVendorCode string

Shipping vendor code

Type: varchar

Available from: / (25.8.0.59841)

OrderNrExternal string

External order number

Type: varchar

Available from: / (25.8.0.59841)

OrderlinesTotal number

Orderlines Total

Type: money

Available from: / (25.8.0.59841)

ShippingAddrRef integer

Shipping Address ID

Type: int

Available from: / (25.8.0.59841)

OrderCurrencyCode string

Order Currency Code

Type: varchar

Available from: / (25.8.0.59841)

OrderlinesDiscount number

Orderlines Discount

Type: money

Available from: / (25.8.0.59841)

PartialDeliveryActive boolean

Partial Delivery Active

Type: bit

Available from: / (25.8.0.59841)

CancelUnavailableItems boolean

Cancel Unavailable Items

Type: bit

Available from: / (25.8.0.59841)

PartialDeliveryForRemaining boolean

Partial Delivery For Remaining

Type: bit

Available from: / (25.8.0.59841)

4. Customer orderlines information (including reservations)

Name Type Description
Qty integer

Quantity

Type: int

Available from: / (25.8.0.59841)

BoxNr integer

Box Number

Type: int

Available from: / (25.8.0.59841)

Price number

Price

Type: money

Available from: / (25.8.0.59841)

DFType string

DF Type

Type: varchar

Available from: / (25.8.0.59841)

EANUPC string

Item barcode

Type: varchar

Available from: / (25.8.0.59841)

InvRef integer

Invoice ID

Type: int

Available from: / (25.8.0.59841)

ResQty string

Reserved Quantity

Type: bigint

Available from: / (25.8.0.59841)

Status string

Status

Type: varchar

Available from: / (25.8.0.59841)

OrderNr integer

pixi Order Number

Type: int

Available from: / (25.8.0.59841)

SupplNr string

Supplier number (code)

Type: varchar

Available from: / (25.8.0.59841)

Discount string

Discount (Net value in case of B2B Invoice)

Type: smallint

Available from: / (25.8.0.59841)

ItemNote string

Item Note

Type: varchar

Available from: / (25.8.0.59841)

SerialNr string

Item serial number

Type: varchar

Available from: / (25.8.0.59841)

ShipCost number

The total shipping costs of the whole order

Type: money

Available from: / (25.8.0.59841)

ShipDate string

Ship this order at this date only! not before

Type: datetime

Available from: / (25.8.0.59841)

FullPrice number

Full Price

Type: money

Available from: / (25.8.0.59841)

ItemNrInt string

Shop item number

Type: varchar

Available from: / (25.8.0.59841)

OrdShopID string

Shop ID

Type: varchar

Available from: / (25.8.0.59841)

OrderDate string

Order Date

Type: datetime

Available from: / (25.8.0.59841)

DFShipDate string

DF Ship Date

Type: datetime

Available from: / (25.8.0.59841)

LineItemID string

Line Item ID

Type: varchar

Available from: / (25.8.0.59841)

LocationID string

Location ID

Type: varchar

Available from: / (25.8.0.59841)

SupplPrice number

Supplier price of the item

Type: money

Available from: / (25.8.0.59841)

VATPercent number

VAT Percent

Type: numeric

Available from: / (25.8.0.59841)

ArticleName string

Article Name

Type: varchar

Available from: / (25.8.0.59841)

ItemNrSuppl string

Supplier item number

Type: varchar

Available from: / (25.8.0.59841)

DiscountPerc number

Discount Percent

Type: numeric

Available from: / (25.8.0.59841)

OrderlineKey integer

ID for the Orderline record

Type: int

Available from: / (25.8.0.59841)

DiscountValue number

Discount Value

Type: money

Available from: / (25.8.0.59841)

OrderCurrency string

Order Currency

Type: varchar

Available from: / (25.8.0.59841)

SOrderlineRef integer

Supplier Orderline ID

Type: int

Available from: / (25.8.0.59841)

BillingAddrRef integer

Billing Address ID

Type: int

Available from: / (25.8.0.59841)

PickListNrUsed integer

Pick List Number Used

Type: int

Available from: / (25.8.0.59841)

ShippingAddrRef integer

Shipping Addrress ID

Type: int

Available from: / (25.8.0.59841)

EstimatedDelivery string

Estimated Delivery

Type: datetime

Available from: / (25.8.0.59841)

InvoiceNrExternal string

Invoice Number External

Type: varchar

Available from: / (25.8.0.59841)

LastOrdLocationID string

Last Order Location ID

Type: varchar

Available from: / (25.8.0.59841)

RealSOrderlineRef integer

Real Supplier Orderline ID

Type: int

Available from: / (25.8.0.59841)

BundleOrderlineRef integer

Bundle Orderline ID

Type: int

Available from: / (25.8.0.59841)

ShipCost_OrderCurr number

Ship Cost Order Currency

Type: money

Available from: / (25.8.0.59841)

DFShipmentTrackingID string

Direct fullfilement shipment tracking ID

Type: varchar

Available from: / (25.8.0.59841)

OriginalOrderlineRef integer

Original Orderline ID

Type: int

Available from: / (25.8.0.59841)

5. Customer bundle orderlines information

Name Type Description
Qty integer

Quantity

Type: int

Available from: / (25.8.0.59841)

BoxNr integer

Box Number

Type: int

Available from: / (25.8.0.59841)

Price number

Price

Type: money

Available from: / (25.8.0.59841)

DFType string

DF Type

Type: varchar

Available from: / (25.8.0.59841)

EANUPC string

Item barcode

Type: varchar

Available from: / (25.8.0.59841)

InvRef integer

Invoice ID

Type: int

Available from: / (25.8.0.59841)

Status string

Status

Type: varchar

Available from: / (25.8.0.59841)

OrderNr integer

pixi Order Number

Type: int

Available from: / (25.8.0.59841)

SupplNr string

Supplier number (code)

Type: varchar

Available from: / (25.8.0.59841)

Discount string

Discount

Type: smallint

Available from: / (25.8.0.59841)

ItemNote string

Item Note

Type: varchar

Available from: / (25.8.0.59841)

ShipCost number

The total shipping costs of the whole order

Type: money

Available from: / (25.8.0.59841)

ShipDate string

Ship this order at this date only! not before

Type: datetime

Available from: / (25.8.0.59841)

FullPrice number

Full Price

Type: money

Available from: / (25.8.0.59841)

ItemNrInt string

Shop item number

Type: varchar

Available from: / (25.8.0.59841)

OrdShopID string

Shop ID

Type: varchar

Available from: / (25.8.0.59841)

OrderDate string

Order Date

Type: datetime

Available from: / (25.8.0.59841)

LineItemID string

Line Item ID

Type: varchar

Available from: / (25.8.0.59841)

LocationID string

Location ID

Type: varchar

Available from: / (25.8.0.59841)

SupplPrice number

Supplier price of the item

Type: money

Available from: / (25.8.0.59841)

VATPercent number

VAT Percent

Type: numeric

Available from: / (25.8.0.59841)

ArticleName string

Article Name

Type: varchar

Available from: / (25.8.0.59841)

ItemNrSuppl string

Supplier item number

Type: varchar

Available from: / (25.8.0.59841)

DiscountPerc number

Discount Perc

Type: numeric

Available from: / (25.8.0.59841)

OrderlineKey integer

ID for the Orderline record

Type: int

Available from: / (25.8.0.59841)

DiscountValue number

Discount Value

Type: money

Available from: / (25.8.0.59841)

OrderCurrency string

Order Currency

Type: varchar

Available from: / (25.8.0.59841)

BillingAddrRef integer

Billing Address ID

Type: int

Available from: / (25.8.0.59841)

ShippingAddrRef integer

Shipping Address ID

Type: int

Available from: / (25.8.0.59841)

LastOrdLocationID string

Last Order Location ID

Type: varchar

Available from: / (25.8.0.59841)

ShipCost_OrderCurr number

Ship Cost Order Currency

Type: money

Available from: / (25.8.0.59841)

OriginalOrderlineRef integer

Original Orderline ID

Type: int

Available from: / (25.8.0.59841)

6. Customer invoices information

Name Type Description
BoxNr integer

Box Number

Type: int

Available from: / (25.8.0.59841)

Payed string

Payed

Type: datetime

Available from: / (25.8.0.59841)

Total number

Total

Type: money

Available from: / (25.8.0.59841)

VATNo string

VAT Number

Type: varchar

Available from: / (25.8.0.59841)

PayDay string

Pay Day

Type: datetime

Available from: / (25.8.0.59841)

VATLow number

VAT Low Amount

Type: money

Available from: / (25.8.0.59841)

BankBLZ string

Bank BLZ

Type: varchar

Available from: / (25.8.0.59841)

DueDate string

Due Date

Type: datetime

Available from: / (25.8.0.59841)

InvDate string

Invoice Date

Type: datetime

Available from: / (25.8.0.59841)

VATHigh number

VAT High Amount

Type: money

Available from: / (25.8.0.59841)

CCPPayID string

ID of credit card payment

Type: varchar

Available from: / (25.8.0.59841)

Discount number

Discount

Type: money

Available from: / (25.8.0.59841)

PayedSum number

Payed Sum

Type: money

Available from: / (25.8.0.59841)

VATHText string

Text representation of high VAT

Type: varchar

Available from: / (25.8.0.59841)

VATLText string

Text representation of low VAT

Type: varchar

Available from: / (25.8.0.59841)

ChargeVAT string

The flag that marks if the VAT should be charged

Type: char

Available from: / (25.8.0.59841)

InvShopID string

Invoice Shop ID

Type: varchar

Available from: / (25.8.0.59841)

InvoiceNr string

pixi Invoice Number

Type: varchar

Available from: / (25.8.0.59841)

VoucherID string

ID of the voucher

Type: varchar

Available from: / (25.8.0.59841)

InvoiceKey integer

Invoice ID

Type: int

Available from: / (25.8.0.59841)

ShipVendor string

Shipping vendor code

Type: varchar

Available from: / (25.8.0.59841)

TrackingID string

Tracking ID of the shipment. Applies to the orders that have been shipped

Type: varchar

Available from: / (25.8.0.59841)

VATBaseLow number

VAT BaseLow

Type: money

Available from: / (25.8.0.59841)

VATLowPerc number

The VAT percent of low VAT

Type: numeric

Available from: / (25.8.0.59841)

InvShipLock string

Invoice Ship Lock

Type: varchar

Available from: / (25.8.0.59841)

PaymentType string

Payment type code

Type: varchar

Available from: / (25.8.0.59841)

ScanOutDate string

Invoice ship out date

Type: datetime

Available from: / (25.8.0.59841)

VATBaseHigh number

VAT BaseHigh

Type: money

Available from: / (25.8.0.59841)

VATHighPerc number

The VAT percent of high VAT

Type: numeric

Available from: / (25.8.0.59841)

ReturnReason string

Return Reason

Type: varchar

Available from: / (25.8.0.59841)

InvLocationID string

Invoice Location ID

Type: varchar

Available from: / (25.8.0.59841)

OrderCurrency string

Order Currency

Type: varchar

Available from: / (25.8.0.59841)

VATinShipCost string

VAT in Ship Cost

Type: varchar

Available from: / (25.8.0.59841)

BillingAddrRef integer

Billing Address ID

Type: int

Available from: / (25.8.0.59841)

RefToInvoiceNr string

Reference to the original invoice number in case of returns

Type: varchar

Available from: / (25.8.0.59841)

Total_ShipCost number

The total of ship costs

Type: money

Available from: / (25.8.0.59841)

BankAccountName string

Bank Account Name

Type: varchar

Available from: / (25.8.0.59841)

RefToInvoiceKey integer

Reference to the original invoice ID

Type: int

Available from: / (25.8.0.59841)

ShippingAddrRef integer

Shipping Address ID

Type: int

Available from: / (25.8.0.59841)

Total_OrderCurr number

Total Order Currency

Type: money

Available from: / (25.8.0.59841)

PackageNetWeight number

Package Net Weight

Type: decimal

Available from: / (25.8.0.59841)

ReturnTrackingID string

Return Tracking ID

Type: varchar

Available from: / (25.8.0.59841)

VATLow_OrderCurr number

VAT Low Amount Order Currency

Type: money

Available from: / (25.8.0.59841)

BankAccountNumber string

Bank Account Number

Type: varchar

Available from: / (25.8.0.59841)

VATHigh_OrderCurr number

VAT High Amount Order Currency

Type: money

Available from: / (25.8.0.59841)

PackageGrossWeight number

Package Gross Weight

Type: decimal

Available from: / (25.8.0.59841)

VATBaseLow_ShipCost number

VAT Base Low Amount Ship Cost

Type: money

Available from: / (25.8.0.59841)

VATBaseHigh_ShipCost number

VAT Base High Amount Ship Cost

Type: money

Available from: / (25.8.0.59841)

VATBaseLow_OrderCurr number

VAT Base Low Order Currency

Type: money

Available from: / (25.8.0.59841)

VATBaseHigh_OrderCurr number

VAT Base High Order Currency

Type: money

Available from: / (25.8.0.59841)

Total_ShipCost_OrderCurr number

Total Ship Cost Order Currency

Type: money

Available from: / (25.8.0.59841)

7. Customer invoice lines information

Name Type Description
EANUPC string

Item barcode

Type: varchar

Available from: / (25.8.0.59841)

ItemQty integer

Item Quantity

Type: int

Available from: / (25.8.0.59841)

ItemRef integer

Item ID

Type: int

Available from: / (25.8.0.59841)

ItemVAT string

Item VAT

Type: varchar

Available from: / (25.8.0.59841)

ItemText string

Item Text

Type: varchar

Available from: / (25.8.0.59841)

OrderQty integer

Order Quantity

Type: int

Available from: / (25.8.0.59841)

SerialNr string

Item serial number

Type: varchar

Available from: / (25.8.0.59841)

ShipCost number

The total shipping costs of the whole order

Type: money

Available from: / (25.8.0.59841)

FullPrice number

Full Price

Type: money

Available from: / (25.8.0.59841)

ItemPrice number

Item Price

Type: money

Available from: / (25.8.0.59841)

InvlineKey integer

Invline ID

Type: int

Available from: / (25.8.0.59841)

InvoiceRef integer

Invoice ID

Type: int

Available from: / (25.8.0.59841)

DiscountPerc number

Discount Perc

Type: numeric

Available from: / (25.8.0.59841)

ItemDiscount string

Item Discount

Type: smallint

Available from: / (25.8.0.59841)

OrderlineRef integer

Orderline ID

Type: int

Available from: / (25.8.0.59841)

DiscountValue number

Discount Value

Type: money

Available from: / (25.8.0.59841)

OrderCurrencyCode string

Order Currency Code

Type: varchar

Available from: / (25.8.0.59841)

ShipCost_OrderCurr number

Ship Cost Order Currency

Type: money

Available from: / (25.8.0.59841)

ItemPrice_OrderCurr number

Item Price Order Currency

Type: money

Available from: / (25.8.0.59841)

8. Customer account financial summary information

Name Type Description
IsMatched boolean

Is Matched

Type: bit

Available from: / (25.8.0.59841)

OpenOrders number

Open Orders

Type: money

Available from: / (25.8.0.59841)

OpenToMatch number

Open To Match

Type: money

Available from: / (25.8.0.59841)

CurrencyCode string

Currency code

Type: varchar

Available from: / (25.8.0.59841)

SuggestedRefund number

Suggested Refund

Type: money

Available from: / (25.8.0.59841)

FinancialBalance number

Financial Balance

Type: money

Available from: / (25.8.0.59841)

9. Customer account information

Name Type Description
Amount number

Amount

Type: money

Available from: / (25.8.0.59841)

Comment string

Comment

Type: varchar

Available from: / (25.8.0.59841)

EventID string

Event ID

Type: varchar

Available from: / (25.8.0.59841)

Matched number

Matched

Type: money

Available from: / (25.8.0.59841)

DTAUSRef integer

DTAUS ID

Type: int

Available from: / (25.8.0.59841)

EventDate string

Event Date

Type: datetime

Available from: / (25.8.0.59841)

Reference string

Reference

Type: varchar

Available from: / (25.8.0.59841)

InvoiceRef integer

Invoice ID

Type: int

Available from: / (25.8.0.59841)

BanklineRef integer

Bankline ID

Type: int

Available from: / (25.8.0.59841)

DoNotRefund boolean

Do Not Refund

Type: bit

Available from: / (25.8.0.59841)

CurrencyCode string

Currency code

Type: varchar

Available from: / (25.8.0.59841)

ManualBookingRef integer

Manual Booking ID

Type: int

Available from: / (25.8.0.59841)

CustomerAccountKey integer

Customer Account ID

Type: int

Available from: / (25.8.0.59841)