Search Orders

Service URL: GET /orders

Parameters:

typeId – String – the id of the customer order type – required.

earliestDate – Date – List orders created after, or on, this date – Optional, defaults to 60 days ago

latestDate – Date – List orders created before, or on, this date – Optional, defaults to now

pageSize – Integer – The maximum number of orders to return on a single page – Optional, defaults to 10, limited to 100.

pageOffset – Integer – The offset, in rows, of the first order to return – Optional defaults to 0

Response Body:

IListOrdersResponse:

orderList – List<ICustomerOrder> – A list of order details, including the orderId.

Remarks:

This service can be used to list orders associated with the customer. 

Scenarios

ScenarioOutcomeExpected behaviourStatus CodeResponse
1The orders service recieves no query paramsSuccessThe service should return the customers orders, limited to 10 and within the date range of today and 60 days ago.200IListOrdersResponse: OrderList: List of customer orders.
2The orders service recieves a value for the earliestDate paramSuccessThe service should return the customers orders, limited to 10 and within the date range of today and <EarliestDateParam> days ago.200IListOrdersResponse: OrderList: List of customer orders.
3The orders service recieves a value for the latestDate paramSuccessThe service should return the customers orders, limited to 10 and within the date range of <LatestDateParam>and 60 days ago.200IListOrdersResponse: OrderList: List of customer orders.
4The orders service recieves a value for the pageSize paramSuccessThe service should return the customers orders, limited to <PageSizeParam> and within the date range of today and 60 days ago.200IListOrdersResponse: OrderList: List of customer orders.
5The orders service recieves a value for the pageOffset paramSuccessThe service should return the customers orders, limited to 10, with an offset of <PageOffsetParam> and within the date range of today and 60 days ago.200IListOrdersResponse: OrderList: List of customer orders.

Example Request

GET http://localhost:8080/WebRestApi/rest/orders?typeId=CUSTOMER_ORDER

Example Response 

{
    "orderList": [
        {
            "products": [
                {
                    "productId": "VV639JS-12",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Vans Canvas Shoes"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "From Vans"
                            }
                        ]
                    },
                    "productInfo": "Length 39in/99cm. Sits on the knee.\nMachine washable.\nCotton.",
                    "imageURL": "image://PRODUCT/VV639JS-1.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1544090247382,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "VV639JS",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "VV639JS-1",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "MENS_SHOES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "VANS",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "ALL"
                    },
                    "colourId": {
                        "id": "RED",
                        "colourRangeId": "MENS_SHOES"
                    },
                    "sizeId": {
                        "id": "12",
                        "sizeRangeId": "MENS_SHOES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 1,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010001000011811291048036",
                        "userId": {
                            "id": "1"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "VV639JS-12"
                        },
                        "createdDate": "2018-11-29T10:48:03.000+00:00",
                        "customerOrderId": "19",
                        "lastUpdated": 1543488556000,
                        "lineNumber": 1,
                        "netPrice": 5995,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "SUBMITTED",
                        "taxAmount": 0,
                        "unitPrice": 5995,
                        "voided": false,
                        "effectiveNetValue": 5995,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCashPayment": {
                        "transactionId": "00010001000011811291048036",
                        "customerOrderId": "19",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCashPayment",
                        "voided": false,
                        "amount": 5995,
                        "status": "COMMITTED",
                        "createdDate": "2018-11-29T10:49:01.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1543488541000,
                        "isRefund": false,
                        "refundAvailable": 5995,
                        "tenderId": {
                            "tenderId": "CASH_UK",
                            "groupId": {
                                "id": "UK",
                                "groupTypeId": "region",
                                "groupHierarchyId": "All"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "1"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "transactionId": "00010001000011811291048036",
                "customerOrderId": "19",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "19",
                "internalReferenceId": "b91e7311-3b85-4c95-8c59-e02006dafac8",
                "locationId": {
                    "id": "0001"
                },
                "userId": {
                    "id": "1"
                },
                "createdDate": "2018-11-29T10:48:37.000+00:00",
                "authorisedByUserKey": {},
                "authorisedDate": "2018-11-29T10:48:37.000+00:00",
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerTitle": "Mr",
                "customerFirstName": "Mark",
                "customerSurname": "Harrison",
                "customerPostcode": "SG141PB",
                "currencyId": {
                    "id": "GBP"
                },
                "orderValue": 5995,
                "balanceOwed": -5995,
                "taxAmount": 0,
                "taxInclusive": false,
                "totalPayments": 5995,
                "totalsLastCalculated": 1543488561000,
                "voided": false,
                "status": "SUBMITTED",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1543488561000,
                "address": [
                    {
                        "county": "Hertfordshire",
                        "email": "demo@enactor.co.uk",
                        "phone1": "01295768256",
                        "postCode": "SG141PB",
                        "street1": "1 Enactor House",
                        "street2": "Bluecoats Avenue",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1543488541000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    }
                ],
                "deviceId": {
                    "id": "pos1@0001.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderFulfilments": [
                {
                    "customerOrderId": "19",
                    "fulfilmentId": 1,
                    "sourceType": "locationStockFulfilment",
                    "sourceId": "0100",
                    "destinationType": "COLLECTION",
                    "destinationLocationId": {
                        "id": "0001"
                    },
                    "destinationAddress": {
                        "isTemplate": false,
                        "countryCodeId": {},
                        "typeId": {}
                    },
                    "destinationName": {},
                    "deliveryCharge": 0,
                    "deliveryChargeForeignCurrencyId": {},
                    "deliveryChargeForeignAmount": 0,
                    "lastUpdated": 1543488572000,
                    "deliveryTypeId": {},
                    "trackingDetails": {}
                }
            ]
        },
        {
            "products": [
                {
                    "productId": "DF517XM-1",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Button Down Collar Red"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Check Button Down Collar Western Shirt"
                            }
                        ]
                    },
                    "productInfo": "Machine washable. Cotton.",
                    "imageURL": "image://PRODUCT/DF517XM-2.jpg",
                    "posDetails": {
                        "operatorMessage": {},
                        "customerMessage": {},
                        "cashierAgeRestrict": 0,
                        "numberCopyReceipts": 0,
                        "maxDiscount": 0,
                        "maxEmployeeDiscount": 0,
                        "returnsTimeLimit": 0,
                        "maxQtyPerTransaction": 0,
                        "customerAgeRestriction": 0,
                        "receiptMessage": {},
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1436467475060,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "warehouseUnitOfMeasureId": "1",
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "salesUnitOfMeasureId": "1",
                    "inventoryUnitOfMeasureId": "1",
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "DF517XM",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "DF517XM-2",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "MENS_SHIRTS",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "INTERNAL",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "measureSystemId": {
                        "id": "CASE_PACK"
                    },
                    "seasonId": {
                        "id": "ALL"
                    },
                    "colourId": {
                        "id": "RED",
                        "colourRangeId": "MENS_SHIRTS"
                    },
                    "sizeId": {
                        "id": "S",
                        "sizeRangeId": "MENS_SHIRTS"
                    }
                },
                {
                    "productId": "MB709SN-4",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Rose Print Tea Dress"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Lightweight cotton tea dress. Back shirring for improved fit."
                            }
                        ]
                    },
                    "productInfo": "Length 39in/99cm. Sits on the knee.\nMachine washable.\nCotton.",
                    "imageURL": "image://PRODUCT/MB709SN-2.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1557908691938,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "MB709SN",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "MB709SN-2",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "WOMENS_DRESSES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "INTERNAL",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "SUMMER"
                    },
                    "colourId": {
                        "id": "NAVY_BLUE",
                        "colourRangeId": "WOMENS_DRESSES"
                    },
                    "sizeId": {
                        "id": "14",
                        "sizeRangeId": "WOMENS_DRESSES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 1,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "userId": {},
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "MB709SN-4"
                        },
                        "createdDate": "2018-11-26T09:34:52.000+00:00",
                        "customerOrderId": "75YA7IQ7LVCDJJOMTBT2SIS2MI",
                        "lastUpdated": 1543224947000,
                        "lineNumber": 1,
                        "netPrice": 1000,
                        "orderedQty": 2,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "NEW",
                        "taxAmount": 0,
                        "unitPrice": 0,
                        "voided": false,
                        "effectiveNetValue": 1000,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                },
                {
                    "item": {
                        "sourceLineNumber": 0,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "userId": {},
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "DF517XM-1"
                        },
                        "createdDate": "2018-11-26T09:34:52.000+00:00",
                        "customerOrderId": "75YA7IQ7LVCDJJOMTBT2SIS2MI",
                        "lastUpdated": 1543224947000,
                        "lineNumber": 2,
                        "netPrice": 1000,
                        "orderedQty": 5,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "NEW",
                        "taxAmount": 0,
                        "unitPrice": 0,
                        "voided": false,
                        "effectiveNetValue": 1000,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {
                            "cardDescription": "Mastercard",
                            "panToken": "476173B0000H0119",
                            "panIIN": "530125",
                            "mangledPAN": "*********0192",
                            "hashedPan": "i0PLbox7WJ7iPWJbzNbGBSbn3O5nn2K0MzrYv5+k81Q="
                        },
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "customerOrderId": "75YA7IQ7LVCDJJOMTBT2SIS2MI",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 2000,
                        "status": "COMMITTED",
                        "createdDate": "2018-11-26T09:35:47.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1543224947000,
                        "isRefund": false,
                        "refundAvailable": 2000,
                        "tenderId": {
                            "groupId": {
                                "id": "ALL",
                                "groupTypeId": "region",
                                "groupHierarchyId": "ALL"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "1"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "customerOrderId": "75YA7IQ7LVCDJJOMTBT2SIS2MI",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "75YA7IQ7",
                "internalReferenceId": "3b8f6789-5f94-48af-9b9d-01df06d0e5aa",
                "locationId": {
                    "id": "estatemanager"
                },
                "userId": {},
                "createdDate": "2018-11-26T09:34:52.000+00:00",
                "authorisedByUserKey": {},
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerTitle": "MR",
                "customerFirstName": "James Hanson",
                "customerSurname": "Hanson",
                "customerPostcode": "SG12 9TE",
                "currencyId": {},
                "orderValue": 3000,
                "balanceOwed": -1000,
                "taxAmount": 0,
                "taxInclusive": false,
                "adjustments": [
                    {
                        "adjustmentNumber": 1,
                        "fulfilmentId": 1,
                        "description": "£10.00 off",
                        "voided": false,
                        "amount": 1000,
                        "percentage": 0,
                        "taxAmount": 0,
                        "canCancel": false,
                        "lastUpdated": 1543224947000
                    }
                ],
                "totalPayments": 2000,
                "totalsLastCalculated": 1543224949000,
                "voided": false,
                "status": "IN_PROGRESS",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1543224949000,
                "address": [
                    {
                        "country": "Britain",
                        "email": "james.hanson@enactor.co.uk",
                        "mobilePhone": "07777 9999999",
                        "postCode": "SG14 9TG",
                        "street1": "Bluecoats",
                        "street2": "Avenue",
                        "town": "Hertford",
                        "isTemplate": false,
                        "lastUpdated": 1543224947000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    },
                    {
                        "isTemplate": false,
                        "lastUpdated": 1543224947000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_NOTIFICATION"
                        }
                    }
                ],
                "deviceId": {
                    "id": "estateManager.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderNotes": [
                {
                    "customerOrderId": "75YA7IQ7LVCDJJOMTBT2SIS2MI",
                    "lineNumber": 1,
                    "messageNumber": 1,
                    "type": "GENERAL",
                    "note": "This is a test note",
                    "locationId": {
                        "id": "0001"
                    },
                    "userId": {
                        "id": "1"
                    },
                    "lastUpdated": 1543224947000
                }
            ]
        },
        {
            "products": [
                {
                    "productId": "MB229XML-3",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Crinkle Day Dress"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Looking for a dress that?s stylish, keeps you comfortable and tackles those body hang ups? This crepe dress ticks all the boxes. While the vibrant shades and gorgeous style are all about spring/summer"
                            }
                        ]
                    },
                    "productInfo": "Length 36in/91cm. Sits on knee.\nMachine washable.\nViscose.",
                    "imageURL": "image://PRODUCT/MB229XM.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1400571586874,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "MB229XM",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "MB229XM-3",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "WOMENS_DRESSES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "INTERNAL",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "SPRING"
                    },
                    "colourId": {
                        "id": "BLUE",
                        "colourRangeId": "WOMENS_DRESSES"
                    },
                    "sizeId": {
                        "id": "12",
                        "sizeRangeId": "WOMENS_DRESSES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 2,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010002000151901021559185",
                        "userId": {
                            "id": "CUST_USER"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "MB229XML-3"
                        },
                        "createdDate": "2019-01-02T15:59:18.000+00:00",
                        "customerOrderId": "43",
                        "lastUpdated": 1546444919000,
                        "lineNumber": 1,
                        "netPrice": 2798,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "SUBMITTED",
                        "taxAmount": 0,
                        "unitPrice": 2798,
                        "voided": false,
                        "effectiveNetValue": 2798,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {
                            "hashedPan": "idi3xJ7tp88Vsl9DsnhhmlP4dqhCtswu1yDz0ylP3Hs=",
                            "p2pEncryptedPan": "5544332211"
                        },
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "transactionId": "00010002000151901021559185",
                        "customerOrderId": "43",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 2798,
                        "status": "COMMITTED",
                        "createdDate": "2019-01-02T16:01:45.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1546444905000,
                        "isRefund": false,
                        "refundAvailable": 2798,
                        "tenderId": {
                            "tenderId": "CARD",
                            "groupId": {
                                "id": "UK",
                                "groupTypeId": "region",
                                "groupHierarchyId": "All"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "CUST_USER"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "transactionId": "00010002000151901021559185",
                "customerOrderId": "43",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "43",
                "internalReferenceId": "89f14f8a-2d95-4f01-83c1-6251d130f5a0",
                "locationId": {
                    "id": "0001"
                },
                "userId": {
                    "id": "CUST_USER"
                },
                "createdDate": "2019-01-02T16:01:31.000+00:00",
                "authorisedByUserKey": {},
                "authorisedDate": "2019-01-02T16:01:31.000+00:00",
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerPostcode": "SG141PB",
                "currencyId": {
                    "id": "GBP"
                },
                "orderValue": 2798,
                "balanceOwed": -2798,
                "taxAmount": 0,
                "taxInclusive": false,
                "totalPayments": 2798,
                "totalsLastCalculated": 1546444921000,
                "voided": false,
                "status": "SUBMITTED",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1546444921000,
                "address": [
                    {
                        "county": "Hertfordshire",
                        "email": "demo@enactor.co.uk",
                        "phone1": "01295768256",
                        "postCode": "SG141PB",
                        "street1": "1 Enactor House",
                        "street2": "Bluecoats Avenue",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1546444905000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    },
                    {
                        "postCode": "sg124 9tf",
                        "street1": "44 Furlong Way, Great Amwell",
                        "street2": "Great Amwell",
                        "isTemplate": false,
                        "lastUpdated": 1546444905000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_DELIVERY"
                        }
                    },
                    {
                        "isTemplate": false,
                        "lastUpdated": 1546444905000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_NOTIFICATION"
                        }
                    }
                ],
                "deviceId": {
                    "id": "pos2@0001.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderFulfilments": [
                {
                    "customerOrderId": "43",
                    "fulfilmentId": 1,
                    "sourceType": "locationStockFulfilment",
                    "sourceId": "0100",
                    "destinationType": "ADDRESS",
                    "destinationLocationId": {},
                    "destinationAddress": {
                        "isTemplate": false,
                        "countryCodeId": {},
                        "typeId": {}
                    },
                    "destinationName": {},
                    "deliveryCharge": 0,
                    "deliveryChargeForeignCurrencyId": {},
                    "deliveryChargeForeignAmount": 0,
                    "lastUpdated": 1546444929000,
                    "deliveryTypeId": {},
                    "trackingDetails": {}
                }
            ]
        },
        {
            "products": [
                {
                    "productId": "MB229XML-3",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Crinkle Day Dress"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Looking for a dress that?s stylish, keeps you comfortable and tackles those body hang ups? This crepe dress ticks all the boxes. While the vibrant shades and gorgeous style are all about spring/summer"
                            }
                        ]
                    },
                    "productInfo": "Length 36in/91cm. Sits on knee.\nMachine washable.\nViscose.",
                    "imageURL": "image://PRODUCT/MB229XM.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1400571586874,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "MB229XM",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "MB229XM-3",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "WOMENS_DRESSES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "INTERNAL",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "SPRING"
                    },
                    "colourId": {
                        "id": "BLUE",
                        "colourRangeId": "WOMENS_DRESSES"
                    },
                    "sizeId": {
                        "id": "12",
                        "sizeRangeId": "WOMENS_DRESSES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 2,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010002000211901021705174",
                        "userId": {
                            "id": "CUST_USER"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "MB229XML-3"
                        },
                        "createdDate": "2019-01-02T17:05:17.000+00:00",
                        "customerOrderId": "58",
                        "lastUpdated": 1546519429000,
                        "lineNumber": 1,
                        "netPrice": 2798,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "SUBMITTED",
                        "taxAmount": 0,
                        "unitPrice": 2798,
                        "voided": false,
                        "effectiveNetValue": 2798,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                },
                {
                    "item": {
                        "sourceLineNumber": 3,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010002000211901021705174",
                        "userId": {
                            "id": "CUST_USER"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "MB229XML-3"
                        },
                        "createdDate": "2019-01-02T17:05:17.000+00:00",
                        "customerOrderId": "58",
                        "lastUpdated": 1546519429000,
                        "lineNumber": 2,
                        "netPrice": 2798,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "SUBMITTED",
                        "taxAmount": 0,
                        "unitPrice": 2798,
                        "voided": false,
                        "effectiveNetValue": 2798,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {
                            "hashedPan": "idi3xJ7tp88Vsl9DsnhhmlP4dqhCtswu1yDz0ylP3Hs=",
                            "p2pEncryptedPan": "5544332211"
                        },
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "transactionId": "00010002000211901021705174",
                        "customerOrderId": "58",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 5596,
                        "status": "COMMITTED",
                        "createdDate": "2019-01-03T12:43:28.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1546519408000,
                        "isRefund": false,
                        "refundAvailable": 5596,
                        "tenderId": {
                            "tenderId": "CARD",
                            "groupId": {
                                "id": "UK",
                                "groupTypeId": "region",
                                "groupHierarchyId": "All"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "CUST_USER"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "transactionId": "00010002000211901021705174",
                "customerOrderId": "58",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "58",
                "internalReferenceId": "61a0c6f7-668d-4aab-b11c-cb06dc432870",
                "locationId": {
                    "id": "0001"
                },
                "userId": {
                    "id": "CUST_USER"
                },
                "createdDate": "2019-01-03T12:36:25.000+00:00",
                "authorisedByUserKey": {},
                "authorisedDate": "2019-01-03T12:36:25.000+00:00",
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerPostcode": "SG141PB",
                "currencyId": {
                    "id": "GBP"
                },
                "orderValue": 5596,
                "balanceOwed": -5596,
                "taxAmount": 0,
                "taxInclusive": false,
                "totalPayments": 5596,
                "totalsLastCalculated": 1546519434000,
                "voided": false,
                "status": "SUBMITTED",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1546519434000,
                "address": [
                    {
                        "county": "Hertfordshire",
                        "email": "demo@enactor.co.uk",
                        "phone1": "01295768256",
                        "postCode": "SG141PB",
                        "street1": "1 Enactor House",
                        "street2": "Bluecoats Avenue",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1546519408000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    },
                    {
                        "county": "Hertfordshire",
                        "postCode": "SG14 1PB",
                        "street1": "Enactor House",
                        "street2": "1 Bluecoats",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1546519408000,
                        "countryCodeId": {
                            "id": "GB"
                        },
                        "typeId": {
                            "id": "CX_ORD_DELIVERY"
                        }
                    },
                    {
                        "isTemplate": false,
                        "lastUpdated": 1546519408000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_NOTIFICATION"
                        }
                    }
                ],
                "deviceId": {
                    "id": "pos2@0001.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderFulfilments": [
                {
                    "customerOrderId": "58",
                    "fulfilmentId": 1,
                    "sourceType": "locationStockFulfilment",
                    "sourceId": "0100",
                    "destinationType": "COLLECTION",
                    "destinationLocationId": {
                        "id": "0001"
                    },
                    "destinationAddress": {
                        "isTemplate": false,
                        "countryCodeId": {},
                        "typeId": {}
                    },
                    "destinationName": {},
                    "deliveryCharge": 0,
                    "deliveryChargeForeignCurrencyId": {},
                    "deliveryChargeForeignAmount": 0,
                    "lastUpdated": 1546519441000,
                    "deliveryTypeId": {},
                    "trackingDetails": {}
                }
            ]
        },
        {
            "products": [
                {
                    "productId": "MB709SN",
                    "type": "styleColourSizeProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Rose Print Tea Dress"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Lightweight cotton tea dress. Back shirring\n for improved fit."
                            }
                        ]
                    },
                    "productInfo": "Length 39in/99cm. Sits on the knee.\nMachine washable.\nCotton.",
                    "imageURL": "image://PRODUCT/MB709SN.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1557908678598,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "MB709SN-1",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "WOMENS_DRESSES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "INTERNAL",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "SUMMER"
                    },
                    "sizeRangeId": {
                        "id": "WOMENS_DRESSES"
                    },
                    "colourRangeId": {
                        "id": "WOMENS_DRESSES"
                    }
                },
                {
                    "productId": "VV639JS",
                    "type": "styleColourSizeProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Vans Canvas Shoes"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "From Vans"
                            }
                        ]
                    },
                    "productInfo": "Upper: textile. Linings and sock: textile. Sole: other materials.",
                    "imageURL": "image://PRODUCT/VV639JS-1.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1400571638546,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "VV639JS-1",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "MENS_SHOES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "VANS",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "ALL"
                    },
                    "sizeRangeId": {
                        "id": "MENS_SHOES"
                    },
                    "colourRangeId": {
                        "id": "MENS_SHOES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 2,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010002000111811201741397",
                        "userId": {
                            "id": "CUST_USER"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "VV639JS"
                        },
                        "createdDate": "2018-11-20T17:41:39.000+00:00",
                        "customerOrderId": "15",
                        "lastUpdated": 1542899871000,
                        "lineNumber": 1,
                        "netPrice": 5995,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 1,
                        "status": "COMPLETED",
                        "taxAmount": 0,
                        "unitPrice": 5995,
                        "voided": false,
                        "effectiveNetValue": 5995,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                },
                {
                    "item": {
                        "sourceLineNumber": 5,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010002000111811201741397",
                        "userId": {
                            "id": "CUST_USER"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "MB709SN"
                        },
                        "createdDate": "2018-11-20T17:41:39.000+00:00",
                        "customerOrderId": "15",
                        "lastUpdated": 1542899871000,
                        "lineNumber": 2,
                        "netPrice": 4260,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 1,
                        "status": "COMPLETED",
                        "taxAmount": 0,
                        "unitPrice": 4260,
                        "voided": false,
                        "effectiveNetValue": 4260,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {},
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "transactionId": "00010002000111811201741397",
                        "customerOrderId": "15",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 5995,
                        "status": "COMMITTED",
                        "createdDate": "2018-11-20T17:50:04.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1542736205000,
                        "isRefund": false,
                        "refundAvailable": 5995,
                        "tenderId": {
                            "tenderId": "CARD",
                            "groupId": {
                                "id": "UK",
                                "groupTypeId": "region",
                                "groupHierarchyId": "All"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "CUST_USER"
                        }
                    }
                },
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {
                            "hashedPan": "idi3xJ7tp88Vsl9DsnhhmlP4dqhCtswu1yDz0ylP3Hs=",
                            "p2pEncryptedPan": "5544332211"
                        },
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "transactionId": "00010002000111811201741397",
                        "customerOrderId": "15",
                        "paymentNumber": 2,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 4260,
                        "status": "COMMITTED",
                        "createdDate": "2018-11-20T17:50:04.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1542736205000,
                        "isRefund": false,
                        "refundAvailable": 4260,
                        "tenderId": {
                            "tenderId": "CARD",
                            "groupId": {
                                "id": "UK",
                                "groupTypeId": "region",
                                "groupHierarchyId": "All"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "CUST_USER"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "transactionId": "00010002000111811201741397",
                "customerOrderId": "15",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "15",
                "internalReferenceId": "5895aa71-f4f7-4a8a-af2a-2e376fd774ed",
                "locationId": {
                    "id": "0001"
                },
                "userId": {
                    "id": "CUST_USER"
                },
                "createdDate": "2018-11-20T17:49:25.000+00:00",
                "authorisedByUserKey": {},
                "authorisedDate": "2018-11-20T17:49:25.000+00:00",
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerPostcode": "SG141PB",
                "currencyId": {
                    "id": "GBP"
                },
                "orderValue": 10255,
                "balanceOwed": 0,
                "taxAmount": 0,
                "taxInclusive": false,
                "totalPayments": 10255,
                "totalsLastCalculated": 1542899904000,
                "voided": false,
                "status": "COMPLETED",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1542899904000,
                "address": [
                    {
                        "county": "Hertfordshire",
                        "email": "demo@enactor.co.uk",
                        "phone1": "01295768256",
                        "postCode": "SG141PB",
                        "street1": "1 Enactor House",
                        "street2": "Bluecoats Avenue",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1542736205000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    }
                ],
                "deviceId": {
                    "id": "pos2@0001.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderFulfilments": [
                {
                    "customerOrderId": "15",
                    "fulfilmentId": 1,
                    "sourceType": "locationStockFulfilment",
                    "sourceId": "0100",
                    "destinationType": "ADDRESS",
                    "destinationLocationId": {},
                    "destinationAddress": {
                        "county": "Hertfordshire",
                        "postCode": "sg124 9tf",
                        "street1": "44 Furlong Way",
                        "street2": "Great Amwell",
                        "isTemplate": false,
                        "lastUpdated": 1542736205000,
                        "countryCodeId": {},
                        "typeId": {}
                    },
                    "destinationName": {},
                    "deliveryCharge": 0,
                    "deliveryChargeForeignCurrencyId": {},
                    "deliveryChargeForeignAmount": 0,
                    "lastUpdated": 1542899841000,
                    "deliveryTypeId": {},
                    "trackingDetails": {}
                }
            ]
        },
        {
            "products": [
                {
                    "productId": "VV639JS-12",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Vans Canvas Shoes"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "From Vans"
                            }
                        ]
                    },
                    "productInfo": "Length 39in/99cm. Sits on the knee.\nMachine washable.\nCotton.",
                    "imageURL": "image://PRODUCT/VV639JS-1.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1544090247382,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "VV639JS",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "VV639JS-1",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "MENS_SHOES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "VANS",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "ALL"
                    },
                    "colourId": {
                        "id": "RED",
                        "colourRangeId": "MENS_SHOES"
                    },
                    "sizeId": {
                        "id": "12",
                        "sizeRangeId": "MENS_SHOES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 2,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010002000231901071018151",
                        "userId": {
                            "id": "CUST_USER"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "VV639JS-12"
                        },
                        "createdDate": "2019-01-07T10:18:15.000+00:00",
                        "customerOrderId": "64",
                        "lastUpdated": 1546860734000,
                        "lineNumber": 1,
                        "netPrice": 5995,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "SUBMITTED",
                        "taxAmount": 0,
                        "unitPrice": 5995,
                        "voided": false,
                        "effectiveNetValue": 5995,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {
                            "hashedPan": "idi3xJ7tp88Vsl9DsnhhmlP4dqhCtswu1yDz0ylP3Hs=",
                            "p2pEncryptedPan": "5544332211"
                        },
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "transactionId": "00010002000231901071018151",
                        "customerOrderId": "64",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 5995,
                        "status": "COMMITTED",
                        "createdDate": "2019-01-07T11:32:03.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1546860723000,
                        "isRefund": false,
                        "refundAvailable": 5995,
                        "tenderId": {
                            "tenderId": "CARD",
                            "groupId": {
                                "id": "UK",
                                "groupTypeId": "region",
                                "groupHierarchyId": "All"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "CUST_USER"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "transactionId": "00010002000231901071018151",
                "customerOrderId": "64",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "64",
                "internalReferenceId": "cda9ccb5-5cfe-44ed-80d4-c83f2b271a9d",
                "locationId": {
                    "id": "0001"
                },
                "userId": {
                    "id": "CUST_USER"
                },
                "createdDate": "2019-01-07T11:31:47.000+00:00",
                "authorisedByUserKey": {},
                "authorisedDate": "2019-01-07T11:31:47.000+00:00",
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerPostcode": "SG141PB",
                "currencyId": {
                    "id": "GBP"
                },
                "orderValue": 5995,
                "balanceOwed": -5995,
                "taxAmount": 0,
                "taxInclusive": false,
                "totalPayments": 5995,
                "totalsLastCalculated": 1546860737000,
                "voided": false,
                "status": "SUBMITTED",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1546860737000,
                "address": [
                    {
                        "county": "Hertfordshire",
                        "email": "demo@enactor.co.uk",
                        "phone1": "01295768256",
                        "postCode": "SG141PB",
                        "street1": "1 Enactor House",
                        "street2": "Bluecoats Avenue",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1546860723000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    },
                    {
                        "county": "Hertfordshire",
                        "postCode": "SG14 1PB",
                        "street1": "Enactor House",
                        "street2": "1 Bluecoats",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1546860723000,
                        "countryCodeId": {
                            "id": "GB"
                        },
                        "typeId": {
                            "id": "CX_ORD_DELIVERY"
                        }
                    },
                    {
                        "isTemplate": false,
                        "lastUpdated": 1546860723000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_NOTIFICATION"
                        }
                    }
                ],
                "deviceId": {
                    "id": "pos2@0001.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderFulfilments": [
                {
                    "customerOrderId": "64",
                    "fulfilmentId": 1,
                    "sourceType": "locationStockFulfilment",
                    "sourceId": "0100",
                    "destinationType": "COLLECTION",
                    "destinationLocationId": {
                        "id": "0001"
                    },
                    "destinationAddress": {
                        "isTemplate": false,
                        "countryCodeId": {},
                        "typeId": {}
                    },
                    "destinationName": {},
                    "deliveryCharge": 0,
                    "deliveryChargeForeignCurrencyId": {},
                    "deliveryChargeForeignAmount": 0,
                    "lastUpdated": 1546860749000,
                    "deliveryTypeId": {},
                    "trackingDetails": {}
                }
            ]
        },
        {
            "products": [
                {
                    "productId": "DF517XM-1",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Button Down Collar Red"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Check Button Down Collar Western Shirt"
                            }
                        ]
                    },
                    "productInfo": "Machine washable. Cotton.",
                    "imageURL": "image://PRODUCT/DF517XM-2.jpg",
                    "posDetails": {
                        "operatorMessage": {},
                        "customerMessage": {},
                        "cashierAgeRestrict": 0,
                        "numberCopyReceipts": 0,
                        "maxDiscount": 0,
                        "maxEmployeeDiscount": 0,
                        "returnsTimeLimit": 0,
                        "maxQtyPerTransaction": 0,
                        "customerAgeRestriction": 0,
                        "receiptMessage": {},
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1436467475060,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "warehouseUnitOfMeasureId": "1",
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "salesUnitOfMeasureId": "1",
                    "inventoryUnitOfMeasureId": "1",
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "DF517XM",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "DF517XM-2",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "MENS_SHIRTS",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "INTERNAL",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "measureSystemId": {
                        "id": "CASE_PACK"
                    },
                    "seasonId": {
                        "id": "ALL"
                    },
                    "colourId": {
                        "id": "RED",
                        "colourRangeId": "MENS_SHIRTS"
                    },
                    "sizeId": {
                        "id": "S",
                        "sizeRangeId": "MENS_SHIRTS"
                    }
                },
                {
                    "productId": "MB709SN-4",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Rose Print Tea Dress"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Lightweight cotton tea dress. Back shirring for improved fit."
                            }
                        ]
                    },
                    "productInfo": "Length 39in/99cm. Sits on the knee.\nMachine washable.\nCotton.",
                    "imageURL": "image://PRODUCT/MB709SN-2.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1557908691938,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "MB709SN",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "MB709SN-2",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "WOMENS_DRESSES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "INTERNAL",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "SUMMER"
                    },
                    "colourId": {
                        "id": "NAVY_BLUE",
                        "colourRangeId": "WOMENS_DRESSES"
                    },
                    "sizeId": {
                        "id": "14",
                        "sizeRangeId": "WOMENS_DRESSES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 1,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "userId": {},
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "MB709SN-4"
                        },
                        "createdDate": "2018-11-26T09:44:51.000+00:00",
                        "customerOrderId": "3WQG6LAV6FHDTIXNP4WPWE2TQE",
                        "lastUpdated": 1543225531000,
                        "lineNumber": 1,
                        "netPrice": 1000,
                        "orderedQty": 2,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "NEW",
                        "taxAmount": 0,
                        "unitPrice": 0,
                        "voided": false,
                        "effectiveNetValue": 1000,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                },
                {
                    "item": {
                        "sourceLineNumber": 0,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "userId": {},
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "DF517XM-1"
                        },
                        "createdDate": "2018-11-26T09:44:51.000+00:00",
                        "customerOrderId": "3WQG6LAV6FHDTIXNP4WPWE2TQE",
                        "lastUpdated": 1543225531000,
                        "lineNumber": 2,
                        "netPrice": 1000,
                        "orderedQty": 5,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "NEW",
                        "taxAmount": 0,
                        "unitPrice": 0,
                        "voided": false,
                        "effectiveNetValue": 1000,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {
                            "cardDescription": "Mastercard",
                            "panToken": "476173B0000H0119",
                            "panIIN": "530125",
                            "mangledPAN": "*********0192",
                            "hashedPan": "i0PLbox7WJ7iPWJbzNbGBSbn3O5nn2K0MzrYv5+k81Q="
                        },
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "customerOrderId": "3WQG6LAV6FHDTIXNP4WPWE2TQE",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 2000,
                        "status": "COMMITTED",
                        "createdDate": "2018-11-26T09:45:31.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1543225531000,
                        "isRefund": false,
                        "refundAvailable": 2000,
                        "tenderId": {
                            "groupId": {
                                "id": "ALL",
                                "groupTypeId": "region",
                                "groupHierarchyId": "ALL"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "1"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "customerOrderId": "3WQG6LAV6FHDTIXNP4WPWE2TQE",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "3WQG6LAV",
                "internalReferenceId": "2afd8598-88a0-4ab5-904c-1d737c613574",
                "locationId": {
                    "id": "estatemanager"
                },
                "userId": {},
                "createdDate": "2018-11-26T09:44:51.000+00:00",
                "authorisedByUserKey": {},
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerTitle": "MR",
                "customerFirstName": "James Hanson",
                "customerSurname": "Hanson",
                "customerPostcode": "SG12 9TE",
                "currencyId": {},
                "orderValue": 3000,
                "balanceOwed": -1000,
                "taxAmount": 0,
                "taxInclusive": false,
                "adjustments": [
                    {
                        "adjustmentNumber": 1,
                        "fulfilmentId": 1,
                        "description": "£10.00 off",
                        "voided": false,
                        "amount": 1000,
                        "percentage": 0,
                        "taxAmount": 0,
                        "canCancel": false,
                        "lastUpdated": 1543225531000
                    }
                ],
                "totalPayments": 2000,
                "totalsLastCalculated": 1543225534000,
                "voided": false,
                "status": "IN_PROGRESS",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1543225534000,
                "address": [
                    {
                        "country": "Britain",
                        "email": "james.hanson@enactor.co.uk",
                        "mobilePhone": "07777 9999999",
                        "postCode": "SG14 9TG",
                        "street1": "Bluecoats",
                        "street2": "Avenue",
                        "town": "Hertford",
                        "isTemplate": false,
                        "lastUpdated": 1543225531000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    },
                    {
                        "isTemplate": false,
                        "lastUpdated": 1543225531000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_NOTIFICATION"
                        }
                    }
                ],
                "deviceId": {
                    "id": "estateManager.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderNotes": [
                {
                    "customerOrderId": "3WQG6LAV6FHDTIXNP4WPWE2TQE",
                    "lineNumber": 1,
                    "messageNumber": 1,
                    "type": "GENERAL",
                    "note": "This is a test note",
                    "locationId": {
                        "id": "0001"
                    },
                    "userId": {
                        "id": "1"
                    },
                    "lastUpdated": 1543225531000
                }
            ]
        },
        {
            "products": [
                {
                    "productId": "VV639JS-12",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Vans Canvas Shoes"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "From Vans"
                            }
                        ]
                    },
                    "productInfo": "Length 39in/99cm. Sits on the knee.\nMachine washable.\nCotton.",
                    "imageURL": "image://PRODUCT/VV639JS-1.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1544090247382,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "VV639JS",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "VV639JS-1",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "MENS_SHOES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "VANS",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "ALL"
                    },
                    "colourId": {
                        "id": "RED",
                        "colourRangeId": "MENS_SHOES"
                    },
                    "sizeId": {
                        "id": "12",
                        "sizeRangeId": "MENS_SHOES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 2,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010002000241901071153006",
                        "userId": {
                            "id": "CUST_USER"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "VV639JS-12"
                        },
                        "createdDate": "2019-01-07T11:53:00.000+00:00",
                        "customerOrderId": "66",
                        "lastUpdated": 1546864432000,
                        "lineNumber": 1,
                        "netPrice": 5995,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 0,
                        "status": "SUBMITTED",
                        "taxAmount": 0,
                        "unitPrice": 5995,
                        "voided": false,
                        "effectiveNetValue": 5995,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {
                            "hashedPan": "idi3xJ7tp88Vsl9DsnhhmlP4dqhCtswu1yDz0ylP3Hs=",
                            "p2pEncryptedPan": "5544332211"
                        },
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "transactionId": "00010002000241901071153006",
                        "customerOrderId": "66",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 5995,
                        "status": "COMMITTED",
                        "createdDate": "2019-01-07T12:33:37.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1546864417000,
                        "isRefund": false,
                        "refundAvailable": 5995,
                        "tenderId": {
                            "tenderId": "CARD",
                            "groupId": {
                                "id": "UK",
                                "groupTypeId": "region",
                                "groupHierarchyId": "All"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "CUST_USER"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "transactionId": "00010002000241901071153006",
                "customerOrderId": "66",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "66",
                "internalReferenceId": "1eadef79-a93f-4320-9a71-4c2274c23713",
                "locationId": {
                    "id": "0001"
                },
                "userId": {
                    "id": "CUST_USER"
                },
                "createdDate": "2019-01-07T12:33:29.000+00:00",
                "authorisedByUserKey": {},
                "authorisedDate": "2019-01-07T12:33:29.000+00:00",
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerPostcode": "SG141PB",
                "currencyId": {
                    "id": "GBP"
                },
                "orderValue": 5995,
                "balanceOwed": -5995,
                "taxAmount": 0,
                "taxInclusive": false,
                "totalPayments": 5995,
                "totalsLastCalculated": 1546864435000,
                "voided": false,
                "status": "SUBMITTED",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1546864435000,
                "address": [
                    {
                        "county": "Hertfordshire",
                        "email": "demo@enactor.co.uk",
                        "phone1": "01295768256",
                        "postCode": "SG141PB",
                        "street1": "1 Enactor House",
                        "street2": "Bluecoats Avenue",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1546864417000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    },
                    {
                        "postCode": "sg124 9tf",
                        "street1": "44 Furlong Way, Great Amwell",
                        "street2": "Great Amwell",
                        "isTemplate": false,
                        "lastUpdated": 1546864417000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_DELIVERY"
                        }
                    },
                    {
                        "isTemplate": false,
                        "lastUpdated": 1546864417000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_NOTIFICATION"
                        }
                    }
                ],
                "deviceId": {
                    "id": "pos2@0001.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderFulfilments": [
                {
                    "customerOrderId": "66",
                    "fulfilmentId": 1,
                    "sourceType": "locationStockFulfilment",
                    "sourceId": "0100",
                    "destinationType": "ADDRESS",
                    "destinationLocationId": {},
                    "destinationAddress": {
                        "postCode": "sg124 9tf",
                        "street1": "44 Furlong Way, Great Amwell",
                        "street2": "Great Amwell",
                        "isTemplate": false,
                        "lastUpdated": 1546864417000,
                        "countryCodeId": {},
                        "typeId": {}
                    },
                    "destinationName": {},
                    "deliveryCharge": 500,
                    "deliveryChargeForeignCurrencyId": {},
                    "deliveryChargeForeignAmount": 0,
                    "lastUpdated": 1546864447000,
                    "deliveryTypeId": {
                        "deliveryTypeId": "Express"
                    },
                    "trackingDetails": {}
                }
            ]
        },
        {
            "products": [
                {
                    "productId": "VV639JS-12",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Vans Canvas Shoes"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "From Vans"
                            }
                        ]
                    },
                    "productInfo": "Length 39in/99cm. Sits on the knee.\nMachine washable.\nCotton.",
                    "imageURL": "image://PRODUCT/VV639JS-1.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1544090247382,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "VV639JS",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "VV639JS-1",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "MENS_SHOES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "VANS",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "ALL"
                    },
                    "colourId": {
                        "id": "RED",
                        "colourRangeId": "MENS_SHOES"
                    },
                    "sizeId": {
                        "id": "12",
                        "sizeRangeId": "MENS_SHOES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 2,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010002000431901141040399",
                        "userId": {
                            "id": "CUST_USER"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "VV639JS-12"
                        },
                        "createdDate": "2019-01-14T10:40:39.000+00:00",
                        "customerOrderId": "92",
                        "lastUpdated": 1547637041000,
                        "lineNumber": 1,
                        "netPrice": 5995,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 1,
                        "status": "COMPLETED",
                        "taxAmount": 0,
                        "unitPrice": 5995,
                        "voided": false,
                        "effectiveNetValue": 5995,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {
                            "panToken": "5544332211",
                            "hashedPan": "5544332211"
                        },
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "transactionId": "00010002000431901141040399",
                        "customerOrderId": "92",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 5995,
                        "status": "COMMITTED",
                        "createdDate": "2019-01-14T10:46:00.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1547462760000,
                        "isRefund": false,
                        "refundAvailable": 5995,
                        "tenderId": {
                            "tenderId": "CARD",
                            "groupId": {
                                "id": "UK",
                                "groupTypeId": "region",
                                "groupHierarchyId": "All"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "CUST_USER"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "transactionId": "00010002000431901141040399",
                "customerOrderId": "92",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "92",
                "internalReferenceId": "1d37bf5b-a462-4453-b33a-49418a9f0055",
                "locationId": {
                    "id": "0001"
                },
                "userId": {
                    "id": "CUST_USER"
                },
                "createdDate": "2019-01-14T10:45:51.000+00:00",
                "authorisedByUserKey": {},
                "authorisedDate": "2019-01-14T10:45:51.000+00:00",
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerPostcode": "SG141PB",
                "currencyId": {
                    "id": "GBP"
                },
                "orderValue": 5995,
                "balanceOwed": 0,
                "taxAmount": 0,
                "taxInclusive": false,
                "totalPayments": 5995,
                "totalsLastCalculated": 1547637096000,
                "voided": false,
                "status": "COMPLETED",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1547637097000,
                "address": [
                    {
                        "county": "Hertfordshire",
                        "email": "demo@enactor.co.uk",
                        "phone1": "01295768256",
                        "postCode": "SG141PB",
                        "street1": "1 Enactor House",
                        "street2": "Bluecoats Avenue",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1547462760000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    },
                    {
                        "postCode": "sg124 9tf",
                        "street1": "Great Amwell",
                        "street2": "Great Amwell",
                        "isTemplate": false,
                        "lastUpdated": 1547462760000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_DELIVERY"
                        }
                    },
                    {
                        "isTemplate": false,
                        "lastUpdated": 1547462760000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_NOTIFICATION"
                        }
                    }
                ],
                "deviceId": {
                    "id": "pos2@0001.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderFulfilments": [
                {
                    "customerOrderId": "92",
                    "fulfilmentId": 1,
                    "sourceType": "locationStockFulfilment",
                    "sourceId": "0100",
                    "destinationType": "ADDRESS",
                    "destinationLocationId": {},
                    "destinationAddress": {
                        "postCode": "sg124 9tf",
                        "street1": "Great Amwell",
                        "street2": "Great Amwell",
                        "isTemplate": false,
                        "lastUpdated": 1547462760000,
                        "countryCodeId": {},
                        "typeId": {}
                    },
                    "destinationName": {},
                    "deliveryCharge": 500,
                    "deliveryChargeForeignCurrencyId": {},
                    "deliveryChargeForeignAmount": 0,
                    "lastUpdated": 1547637010000,
                    "deliveryTypeId": {
                        "deliveryTypeId": "Express"
                    },
                    "trackingDetails": {}
                }
            ]
        },
        {
            "products": [
                {
                    "productId": "MB229XML-3",
                    "type": "skuProduct",
                    "productDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Crinkle Day Dress"
                            }
                        ]
                    },
                    "productLongDescription": {
                        "string": [
                            {
                                "country": "GB",
                                "language": "en",
                                "string": "Looking for a dress that?s stylish, keeps you comfortable and tackles those body hang ups? This crepe dress ticks all the boxes. While the vibrant shades and gorgeous style are all about spring/summer"
                            }
                        ]
                    },
                    "productInfo": "Length 36in/91cm. Sits on knee.\nMachine washable.\nViscose.",
                    "imageURL": "image://PRODUCT/MB229XM.jpg",
                    "posDetails": {
                        "productOptionSetDetails": {
                            "isTemplate": false
                        },
                        "isTemplate": false
                    },
                    "isTemplate": false,
                    "status": "LIVE",
                    "lastUpdated": 1400571586874,
                    "taxExemptProhibited": false,
                    "exportDetails": {
                        "notForExport": false,
                        "isTemplate": false
                    },
                    "inventoryDetails": {
                        "allowForLoan": false,
                        "allowCustomerOrder": true,
                        "allowPurchaseOrder": true,
                        "customerOrderOnly": false,
                        "directToStoreDelivery": false,
                        "isStocked": true,
                        "isTemplate": false
                    },
                    "productDimensions": {
                        "isTemplate": false
                    },
                    "warrantyDetails": {
                        "isTemplate": false
                    },
                    "standardCostPrice": 0,
                    "standardMargin": 0,
                    "styleId": "MB229XM",
                    "fasciaId": {},
                    "imageFilenameId": {
                        "id": "MB229XM-3",
                        "category": "PRODUCT",
                        "type": "jpg"
                    },
                    "taxGroupId": {
                        "id": "A"
                    },
                    "mmGroupId": {
                        "id": "WOMENS_DRESSES",
                        "groupTypeId": "mmGroup",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "brandId": {
                        "id": "INTERNAL",
                        "groupTypeId": "brand",
                        "groupHierarchyId": "FASHION",
                        "variantGroupTypeId": "region",
                        "variantGroupId": "All",
                        "variantGroupHierarchyId": "All"
                    },
                    "rangeId": {},
                    "seasonId": {
                        "id": "SPRING"
                    },
                    "colourId": {
                        "id": "BLUE",
                        "colourRangeId": "WOMENS_DRESSES"
                    },
                    "sizeId": {
                        "id": "12",
                        "sizeRangeId": "WOMENS_DRESSES"
                    }
                }
            ],
            "customerOrderItems": [
                {
                    "item": {
                        "sourceLineNumber": 2,
                        "parentLineNumber": 0,
                        "fulfilmentId": 1,
                        "transactionId": "00010002000151901021604486",
                        "userId": {
                            "id": "CUST_USER"
                        },
                        "locationId": {
                            "id": "0001"
                        },
                        "productId": {
                            "id": "MB229XML-3"
                        },
                        "createdDate": "2019-01-02T16:04:48.000+00:00",
                        "customerOrderId": "47",
                        "lastUpdated": 1546519426000,
                        "lineNumber": 1,
                        "netPrice": 2798,
                        "orderedQty": 1,
                        "reservedQty": 0,
                        "shippedQty": 1,
                        "status": "COMPLETED",
                        "taxAmount": 0,
                        "unitPrice": 2798,
                        "voided": false,
                        "effectiveNetValue": 2798,
                        "destinationLocationId": {},
                        "reasonId": {
                            "regionId": {
                                "groupTypeId": "region"
                            }
                        }
                    }
                }
            ],
            "customerOrderPayments": [
                {
                    "customerOrderCardPayment": {
                        "cardDetails": {
                            "hashedPan": "idi3xJ7tp88Vsl9DsnhhmlP4dqhCtswu1yDz0ylP3Hs=",
                            "p2pEncryptedPan": "5544332211"
                        },
                        "isPreAuth": false,
                        "hostAuthorised": false,
                        "hostDeclined": false,
                        "isManuallyRecorded": false,
                        "billingAddressContactTypeId": {},
                        "transactionId": "00010002000151901021604486",
                        "customerOrderId": "47",
                        "paymentNumber": 1,
                        "paymentType": "customerOrderCardPayment",
                        "voided": false,
                        "amount": 2798,
                        "status": "COMMITTED",
                        "createdDate": "2019-01-02T16:05:48.000+00:00",
                        "exchangeRate": 0,
                        "foreignValue": 0,
                        "lastUpdated": 1546445149000,
                        "isRefund": false,
                        "refundAvailable": 2798,
                        "tenderId": {
                            "tenderId": "CARD",
                            "groupId": {
                                "id": "UK",
                                "groupTypeId": "region",
                                "groupHierarchyId": "All"
                            }
                        },
                        "currencyId": {
                            "id": "GBP"
                        },
                        "userId": {
                            "id": "CUST_USER"
                        }
                    }
                }
            ],
            "customerOrderHeader": {
                "transactionId": "00010002000151901021604486",
                "customerOrderId": "47",
                "customerOrderTypeId": "CUSTOMER_ORDER",
                "referenceId": "47",
                "internalReferenceId": "4a54fd7d-8ba7-405f-9b68-6ce65d63ed33",
                "locationId": {
                    "id": "0001"
                },
                "userId": {
                    "id": "CUST_USER"
                },
                "createdDate": "2019-01-02T16:05:38.000+00:00",
                "authorisedByUserKey": {},
                "authorisedDate": "2019-01-02T16:05:38.000+00:00",
                "preferredContactTypeKey": {
                    "id": "CX_ORD_CONTACT"
                },
                "notificationContactTypeKey": {
                    "id": "CX_ORD_NOTIFICATION"
                },
                "customerNumber": "1",
                "customerPostcode": "SG141PB",
                "currencyId": {
                    "id": "GBP"
                },
                "orderValue": 2798,
                "balanceOwed": 0,
                "taxAmount": 0,
                "taxInclusive": false,
                "totalPayments": 2798,
                "totalsLastCalculated": 1546519434000,
                "voided": false,
                "status": "COMPLETED",
                "lastUpdatedByUserKey": {},
                "lastUpdated": 1546519434000,
                "address": [
                    {
                        "county": "Hertfordshire",
                        "email": "demo@enactor.co.uk",
                        "phone1": "01295768256",
                        "postCode": "SG141PB",
                        "street1": "1 Enactor House",
                        "street2": "Bluecoats Avenue",
                        "town": "Hertford",
                        "organisation": "Enactor",
                        "isTemplate": false,
                        "lastUpdated": 1546445149000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_CONTACT"
                        }
                    },
                    {
                        "postCode": "sg124 9tf",
                        "street1": "44 Furlong Way, Great Amwell",
                        "street2": "Great Amwell",
                        "isTemplate": false,
                        "lastUpdated": 1546445149000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_DELIVERY"
                        }
                    },
                    {
                        "isTemplate": false,
                        "lastUpdated": 1546445149000,
                        "countryCodeId": {},
                        "typeId": {
                            "id": "CX_ORD_NOTIFICATION"
                        }
                    }
                ],
                "deviceId": {
                    "id": "pos2@0001.enactor"
                },
                "reasonId": {
                    "regionId": {
                        "groupTypeId": "region"
                    }
                }
            },
            "customerOrderFulfilments": [
                {
                    "customerOrderId": "47",
                    "fulfilmentId": 1,
                    "sourceType": "locationStockFulfilment",
                    "sourceId": "0100",
                    "destinationType": "ADDRESS",
                    "destinationLocationId": {},
                    "destinationAddress": {
                        "isTemplate": false,
                        "countryCodeId": {},
                        "typeId": {}
                    },
                    "destinationName": {},
                    "deliveryCharge": 0,
                    "deliveryChargeForeignCurrencyId": {},
                    "deliveryChargeForeignAmount": 0,
                    "lastUpdated": 1546519413000,
                    "deliveryTypeId": {},
                    "trackingDetails": {}
                }
            ]
        }
    ]
}
Go to Top