Skip to main content

Documentation Portal

Example Merchant.Order object
[
    {
        
        "DateCreated": "2021-06-22T19:21:55",
        
        "CurrencyName": "Norwegian Krone",
        "Parcels": [],
        "AllowMailsFromMerchant": false,
        
        "AllowDirectCommunicationFromMerchant": false,
        "TnCConsent": null,
        
        "ClearCart": true,
        "UserId": null,
        "CurrencyCode": "GBP",
        "Products": [
            {
                
                "Attributes": [
                    {
                        
                        "AttributeKey": "Size",
                        "AttributeValue": "29"
                        
                    },
                    {
                        
                        "AttributeKey": "Color",
                        "AttributeValue": "Blue"
                        
                    }
                    
                ],
                
                "Name": "Echo Fit Compression Short",
                "ProductAttributes": [
                    {
                        
                        "AttributeCode": "Size",
                        "Name": "29",
                        
                        "AttributeTypeCode": "size"
                        
                    },
                    {
                        
                        "AttributeCode": "Color",
                        "Name": "Blue",
                        "AttributeTypeCode": "color"
                        
                    }
                    
                ],
                
                "Sku": "WSH07-29-Blue",
                "Price": 29.4200,
                
                "PriceBeforeRoundingRate": 29.4200,
                
                "PriceBeforeGlobalEDiscount": 29.4200,
                
                "Quantity": 1,
                
                "VATRate": 21.000000,
                
                "CustomerVATRate": 0.0,
                
                "InternationalPrice": 299.0000,
                
                "InternationalDiscountedPriceInMerchantCurrency": 25.03,
                
                "CartItemId": "1057",
                "ParentCartItemId": null,
                "CartItemOptionId": null,
                "HandlingCode": "",
                
                "GiftMessage": "",
                
                "RoundingRate": 0.098394648829431438127090301,
                
                "IsBackOrdered": false,
                "BackOrderDate": null,
                "DiscountedPrice": 29.42,
                
                "InternationalDiscountedPrice": 299.0000,
                "ProductCodeSecondary": null,
                
                "Brand": null,
                "Categories": null,
                "ListPrice": 29.80,
                
                "InternationalListPrice": 299.00,
                
                "GenericHSCode": "620442",
                
                "DiscountedPriceForCustoms": 18.18,
                
                "InternationalDiscountedPriceForCustoms": 217.14,
                "IsGiftCard": false,
                
                "IsFixedPrice": false
                
            },
            {
                
                "Attributes": [
                    {
                        
                        "AttributeKey": "Size",
                        "AttributeValue": "29"
                        
                    },
                    {
                        
                        "AttributeKey": "Color",
                        "AttributeValue": "Black"
                        
                    }
                    
                ],
                
                "Name": "Echo Fit Compression Short",
                "ProductAttributes": [
                    {
                        
                        "AttributeCode": "Size",
                        "Name": "29",
                        
                        "AttributeTypeCode": "size"
                        
                    },
                    {
                        
                        "AttributeCode": "Color",
                        
                        "Name": "Black",
                        "AttributeTypeCode": "color"
                        
                    }
                    
                ],
                
                "Sku": "WSH07-29-Black",
                "Price": 29.4200,
                
                "PriceBeforeRoundingRate": 29.4200,
                
                "PriceBeforeGlobalEDiscount": 29.4200,
                
                "Quantity": 1,
                
                "VATRate": 21.000000,
                
                "CustomerVATRate": 0.0,
                
                "InternationalPrice": 299.0000,
                
                "InternationalDiscountedPriceInMerchantCurrency": 25.03,
                
                "CartItemId": "1059",
                "ParentCartItemId": null,
                "CartItemOptionId": null,
                "HandlingCode": "",
                
                "GiftMessage": "",
                
                "RoundingRate": 0.098394648829431438127090301,
                
                "IsBackOrdered": false,
                "BackOrderDate": null,
                "DiscountedPrice": 29.42,
                
                "InternationalDiscountedPrice": 299.0000,
                "ProductCodeSecondary": null,
                
                "Brand": null,
                "Categories": null,
                "ListPrice": 29.80,
                
                "InternationalListPrice": 299.00,
                
                "GenericHSCode": "620442",
                
                "DiscountedPriceForCustoms": 18.18,
                
                "InternationalDiscountedPriceForCustoms": 217.14,
                "IsGiftCard": false,
                
                "IsFixedPrice": false
                
            }
            
        ],
        
        "Customer": {
            
            "EmailAddress": "ema ([email protected])[email protected]"(ema.hub @ norsk - global.com),
            "IsEndCustomerPrimary": true,
            "SendConfirmation": false
            
        },
        
        "PrimaryShipping": {
            "FirstName": "a",
            
            "LastName": "Norse",
            "MiddleName": null,
            "Salutation": null,
            
            "Company": "",
            
            "Address1": "Thomas+Heftyes+Gate+8",
            "Address2": "",
            
            "City": "Oslo",
            "StateCode": null,
            "StateOrProvince": null,
            "Zip": "0264",
            
            "Email": "benoitglobale%40gmail.com",
            "Phone1": "0000000000",
            
            "Phone2": "",
            
            "Fax": "",
            
            "CountryCode": "NO",
            "CountryCode3": "NOR",
            "CountryName": "Norway",
            "AddressBookId": "",
            "AddressBookName": "",
            "SaveAddress": false
            
        },
        
        "SecondaryShipping": {
            "FirstName": "GlobalE",
            "LastName": "GE-UK@EMA-Norsk",
            "MiddleName": null,
            "Salutation": null,
            "Company": "",
            
            "Address1": "Building 436, Argosy Road",
            "Address2": "East Midlands Airport",
            "City": "Derby",
            
            "StateCode": "NN",
            "StateOrProvince": null,
            "Zip": "DE74 2SA",
            
            "Email": "ema.hub@nors ([email protected])k-global.com ([email protected])",
            "Phone1": "01332 818723",
            
            "Phone2": null,
            "Fax": null,
            "CountryCode": "GB",
            "CountryCode3": "GBR",
            
            "CountryName": "United Kingdom",
            "AddressBookId": null,
            "AddressBookName": null,
            "SaveAddress": false
            
        },
        
        "ShippingMethodCode": "globale_standard",
        "Discounts": [
            {
                
                "Name": "Hidden DDP",
                
                "Description": "Discount generated to discount the DDP",
                "Price": 13.7000,
                
                "DiscountType": 4,
                
                "VATRate": 0.000000,
                
                "LocalVATRate": 20.000000,
                
                "CouponCode": null,
                "InternationalPrice": 163.7200,
                "DiscountCode": "",
                "ProductCartItemId": null,
                "LoyaltyVoucherCode": null
                
            }
            
        ],
        
        "Markups": [],
        "LoyaltyPointsSpent": 0.00,
        
        "LoyaltyPointsEarned": 0.00,
        "SameDayDispatch": false,
        "SameDayDispatchCost": 0.0000,
        "DoNotChargeVAT": false,
        "CustomerComments": "",
        "IsFreeShipping": false,
        "FreeShippingCouponCode": "",
        "ShipToStoreCode": null,
        "RoundingRate": 0.098395,
        "UrlParameters": null,
        
        "OriginalMerchantTotalProductsDiscountedPrice": 48.0000,
        "LoyaltyCode": null,
        
        "OTVoucherCode": null,
        "OTVoucherAmount": null,
        "OTVoucherCurrencyCode": null,
        "IsSplitOrder": false,
        "PrePayOffered": false,
        "InitialCheckoutCultureCode": "en-GB",
        "CultureCode": "en-GB",
        
        "HubId": 9,
        "IsReplacementOrder": false,
        "OriginalOrder": null,
        "ReservationRequestId": null,
        
        "IsSuppressPersonalInformation": false,
        "TotalDutiesAndTaxesPrice": 13.70,
        
        "USSalesTax": 0.0,
        
        "CCFPrice": 0.0,
        
        "ExporterDetails": {
            "VATRegistrationNumber": "177 9006 80",
            "EORINumber": "GB177900680000",
            
            "IOSSNumber": null
            
        },
        
        "ImporterDetails": {
            "Company": "",
            
            "VATRegistrationNumber": "",
            "CustomerTaxId": null,
            "ImporterType": 0,
            "Address": {
                
                "Name": "aNorse",
                
                "Address1": "Thomas Heftyes Gate 8",
                "Address2": null,
                
                "City": "Oslo",
                "StateCode": null,
                "StateOrProvince": null,
                "Zip": "0264",
                
                "CountryCode": "NO",
                "Country": "Norway"
                
            }
            
        },
        
        "OrderPaymentMethods": [
            {
                
                "PaymentMethodId": 4,
                "PaymentMethodName": "PayPal",
                "IsGiftCard": false,
                "GiftCardFields": null,
                
                "PaidAmountInCustomerCurrency": 818.6500,
                
                "PaidAmountInMerchantCurrency": 66.561441871842850568731315078
                
            }
            
        ],
        
        "OrderDocuments": [
            {
                
                "URL": "https://connect2.bglobale.com/Document/CustomerReceiptInvoice?doc umentParam=iI9FwInOzaNSAGbwFqpq9fk9h5rPztV4mOl0n0zpjANzhF1B4vyc6S0jKAoM8i36TYkWb9pqyg3v5p 3nuU67HEVxYN7syga9o0X35Jo%2fuGLixEK3SZASyGGeN%2f2GRGp96fgyZ9HaSjMOYHmY%2fS4b0Y8qjMxlCUbpY dXOaDk2yR%2bqkShiQppeFFcnUAKHsgOj99glFZY%2fAGsskCQ0moPTDQ%3d%3d",
                
                "DocumentTypeCode": "8",
                
                "DocumentTypeName": "CustomerReceiptInvoice",
                "DocumentExtension": "pdf",
                
                "ErrorMessage": null
                
            }
            
        ],
        
        "PaymentDetails": null,
        "PrimaryBilling": {
            
            "FirstName": null,
            "LastName": null,
            "MiddleName": null,
            
            "Salutation": null,
            "Company": null,
            "Address1": null,
            "Address2": null,
            "City": null,
            "StateCode": null,
            "StateOrProvince": null,
            "Zip": null,
            
            "Email": null,
            "Phone1": null,
            "Phone2": null,
            "Fax": null,
            "CountryCode": null,
            "CountryCode3": null,
            "CountryName": null,
            "AddressBookId": null,
            
            "AddressBookName": null,
            "SaveAddress": false
            
        },
        
        "SecondaryBilling": {
            "FirstName": null,
            "LastName": null,
            "MiddleName": null,
            "Salutation": null,
            "Company": null,
            "Address1": null,
            "Address2": null,
            "City": null,
            "StateCode": null,
            "StateOrProvince": null,
            "Zip": null,
            
            "Email": null,
            "Phone1": null,
            "Phone2": null,
            "Fax": null,
            "CountryCode": null,
            "CountryCode3": null,
            "CountryName": null,
            "AddressBookId": null,
            
            "AddressBookName": null,
            "SaveAddress": false
            
        },
        
        "OrderId": "GE10022220518GB",
        
        "StatusCode": "N/A",
        
        "MerchantGUID": "58f2fe53-4f78-4532-923a-41c4db6183e2",
        
        "CartId": "593",
        
        "MerchantOrderId": null,
        "PriceCoefficientRate": 1.000000,
        
        "CartHash": "ccefa725562c42639c2d4cf98b1c4819",
        "WebStoreCode": "en_gb",
        "WebStoreInstanceCode": "m2qa02.bglobale.de",
        "DiscountedShippingPrice": 17.94,
        "InternationalDetails": {
            
            "CurrencyCode": "NOK",
            "TotalPrice": 818.65,
            "TransactionCurrencyCode": "NOK",
            "TransactionTotalPrice": 818.6500,
            
            "TotalShippingPrice": 220.6500,
            
            "SameDayDispatchCost": 0.0000,
            
            "TotalCCFPrice": 0.0000,
            
            "TotalDutiesPrice": 0.000000000,
            
            "USSalesTax": 0.0,
            
            "ShippingMethodCode": "827",
            "ShippingMethodName": "DHL Express Worldwide",
            "PaymentMethodCode": "4",
            "PaymentMethodName": "PayPal",
            "CardNumberLastFourDigits": null,
            "ExpirationDate": null,
            
            "DutiesGuaranteed": false,
            "OrderTrackingNumber": null,
            
            "OrderTrackingUrl": "https%3a%2f%2fwww2.bglobale.com%2fOrder%2fTrack%2fmZ7R%3 fOrderId%3dGE10022220518GB%26ShippingEmail%3dbenoitglobale%40gmail.com",
            
            "OrderWaybillNumber": null,
            "ShippingMethodTypeCode": "Express",
            "ShippingMethodTypeName": "Express Courier (Air)",
            "DeliveryDaysFrom": 2,
            
            "DeliveryDaysTo": 2,
            
            "ConsignmentFee": 0.0000,
            
            "SizeOverchargeValue": 0.0000,
            
            "RemoteAreaSurcharge": 0.0000,
            
            "DiscountedShippingPrice": 220.6500,
            
            "CashOnDeliveryFee": 0.0,
            "ParcelsTracking": [],
            "TotalVATAmount": 0.00,
            
            "ShippingVATRate": 0.0000,
            "ShippingMethodStatusCode": "Undefined",
            "ShippingMethodStatusName": "undefined",
            "ShipmentStatusUpdateTime": null,
            "ShipmentLocation": null
           },
       },
        "GiftCards": null,
        "DeclarativeShippingPriceInCustomerCurrency": 5.00,
        "TotalValueForCustoms": 65.35,
        "TaxCalculationRule": "CIF"
        }
]