viewCart

viewCart (DSX090A). For JSON interface the program is DSX090AJ.

viewCart requires a session id. By default only ordered lines will be returned, additional lines added by the system such as FREIGHT will not be returned. A field includeGeneratedLines when true will cause the additional lines to be returned as well. The cart must already exist. If successful, full details of the cart are returned.

The details are extensive and are grouped as follows:

– Order Header: details relating to shipment deliveryand pricing. Generally these fields take default values based on the customer.
– Entry Options: for fields with a defined list of possible values this is the lit of values
– Order Totals: The total value of the cart
– Payment Options: A list of methods which can be used to pay
– Installment details.
– Installment Payment Options.
– Cart Lines: a list of the lies on the cart.
– Payment Details: This list what has already paid and is only relevant if paying with multiple vouchers.
– Total Paid.

Input parameters:

Field ID Description Type Length Constraints
sessionID Session ID String Mandatory
lineNumber Line number Integer 5,0 Mandatory

Response:

Field Description Type Occurrence
processNumber Process number String 1..1
lineNumber Line number Integer 0..1
shoppingCart Shopping cart viewCartOutput 0..1
messageSet Message set messageSetDataType

Complex type

0..1