Order Submission is a special form of the order export where the data is sent in JSON format to a configurable external service.
One usage is the export of orders to the BI Data Hub.
The order submission consists of the following steps (see diagram above):
OrderBO
to the service.OrderBO
is transformed into an OrderRO
that can be parsed by the microservice/backend's REST API.
OrderRO
is transferred to the microservice/backend.callbackUri
, specified in the OrderRO
sent in step 4 (see Data Format). The actual URL has to be resolved via Eureka service registry as the endpoint is not part of the normal REST API and also not accessible via the Web Adapter.The implementation of steps 9 and 10 is not mandatory. It is only necessary if you want the status to be updated by your service after the order has been processed. Else, you can simply configure automatic order & line item status updates, see Concept - Order Export Framework, which take effect as soon as the data is exported to your service.
The setup process is described using BI Data Hub as an example. Instead of BI Data Hub, you may use any other service that provides the required endpoint and supports the general workflow for order submission.
The data is mapped to a JSON format.
{ "order" : { "header": { "documentInfo": { "orderUrn": "urn:order:ICM:inSPIRED:inTRONICS:00000002", "documentNo": "00000002", "store": "inTRONICS", "currency": "USD", "locale": "en_US", "customerReferenceId": "RE201700002786598" }, "processInfo": { "status": "CANCELLED", "creationDate": "2001-07-04T12:08:56.235-07:00" } }, "totals": { "grandTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "shippingTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedItemTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedShippingTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "giftingTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "surchargeTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemValueDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemShippingDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "bucketShippingDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "orderValueDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "orderShippingDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "valueDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "shippingDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "salesTaxTotalsByTaxRate": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ], "shippingTaxTotalsByTaxRate": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ], "taxTotalsByTaxRate": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] }, "invoiceToAddress": { "addressLine1": "Sample Street 1a", "city": "Sample City", "countryCode": "US", "postalCode": "77093", "contact": { "firstName": "Peter", "lastName": "Sampleman", "title": "Mr", "aristocraticTitle": "Lord", "honorific": "PhD", "jobTitle": "Procurement Lead", "secondName": "Max", "secondLastName": "Rodriguez", "phoneHome": "+49 (3641) 123456", "phoneMobile": "+49 (165) 5673123", "phoneBusiness": "+49 (3641) 50-0", "phoneBusinessDirect": "3479", "fax": "+49 (3641) 50-1344", "email": "peter.sampleman@intershop.de" }, "addressType": "POSTAL", "addressLine2": "Northern University", "addressLine3": "Floor 3", "postBox": "143", "mainDivision": "Texas", "subDivision": "Harris County", "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] }, "buckets": [ { "shipToAddress": { "addressLine1": "Sample Street 1a", "city": "Sample City", "countryCode": "US", "postalCode": "77093", "contact": { "firstName": "Peter", "lastName": "Sampleman", "title": "Mr", "aristocraticTitle": "Lord", "honorific": "PhD", "jobTitle": "Procurement Lead", "secondName": "Max", "secondLastName": "Rodriguez", "phoneHome": "+49 (3641) 123456", "phoneMobile": "+49 (165) 5673123", "phoneBusiness": "+49 (3641) 50-0", "phoneBusinessDirect": "3479", "fax": "+49 (3641) 50-1344", "email": "peter.sampleman@intershop.de" }, "addressType": "POSTAL", "addressLine2": "Northern University", "addressLine3": "Floor 3", "postBox": "143", "mainDivision": "Texas", "subDivision": "Harris County", "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] }, "shippingMethod": { "id": "STD_GROUND", "name": "STANDARD GROUND", "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] }, "items": [ { "lineItem": { "position": 0, "quantity": { "unit": "PIEC", "value": 10.99 }, "desiredDeliveryDate": "2018-12-20" }, "itemProduct": { "id": "j2EKAB1UKmsAAAFdoB4H2qdH", "sku": "5079747", "name": "InTRONICS IS-25Y Portable", "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ], "isGiftCard": true, "isDigital": false }, "itemPricing": { "salesPricing": { "price": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "singleBasePrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemValueDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ], "itemValueDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ], "discountedSingleBasePrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedSingleBasePriceRemainder": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedPrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } }, "shippingPricing": { "shippingTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemShippingDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ], "itemShippingDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] }, "surcharges": { "itemSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "itemImportSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "itemSurchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "distributedBucketSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "distributedBucketSurchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "surchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } }, "itemGiftWrap": { "product": { "id": "j2EKAB1UKmsAAAFdoB4H2qdH", "sku": "5079747", "name": "InTRONICS IS-25Y Portable", "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] }, "itemPricing": { "salesPricing": { "price": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "singleBasePrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemValueDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ], "itemValueDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ], "discountedSingleBasePrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedSingleBasePriceRemainder": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedPrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } }, "shippingPricing": { "shippingTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemShippingDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ], "itemShippingDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] }, "surcharges": { "itemSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "itemImportSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "itemSurchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "distributedBucketSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "distributedBucketSurchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "surchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } } }, "itemGiftMessage": { "product": { "id": "j2EKAB1UKmsAAAFdoB4H2qdH", "sku": "5079747", "name": "InTRONICS IS-25Y Portable", "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] }, "itemPricing": { "salesPricing": { "price": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "singleBasePrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemValueDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ], "itemValueDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ], "discountedSingleBasePrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedSingleBasePriceRemainder": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedPrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } }, "shippingPricing": { "shippingTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemShippingDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ], "itemShippingDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] }, "surcharges": { "itemSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "itemImportSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "itemSurchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "distributedBucketSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "distributedBucketSurchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "surchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } }, "message": "Happy birthday!", "from": "Patricia", "to": "Peter" }, "itemWarranty": { "product": { "id": "j2EKAB1UKmsAAAFdoB4H2qdH", "sku": "5079747", "name": "InTRONICS IS-25Y Portable", "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] }, "itemPricing": { "salesPricing": { "price": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "singleBasePrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemValueDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ], "itemValueDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ], "discountedSingleBasePrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedSingleBasePriceRemainder": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "discountedPrice": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } }, "shippingPricing": { "shippingTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "itemShippingDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ], "itemShippingDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] }, "surcharges": { "itemSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "itemImportSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "itemSurchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "distributedBucketSurcharges": [ { "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "name": "Fridge Box", "description": "Needs a fridge box for shipping.", "taxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ] } ], "distributedBucketSurchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "surchargesTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } } }, "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] } ], "bucketTotals": { "shippingDiscountsTotal": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } }, "shippingInstructions": "Handle with care!", "bucketDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ] } ], "payments": [ { "id": "92YKAABCZtIAAAFb_KwtfPFU", "limitedTender": true, "paymentBaseAmount": { "currency": "USD", "value": 10.99 }, "paymentTotalAmount": { "currency": "USD", "value": 10.99 }, "status": "CREATED", "paymentCost": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } }, "paymentTaxes": [ { "calculatedTax": { "currency": "USD", "value": 10.99 }, "effectiveTaxRate": 0, "situs": "DESTINATION", "jurisdiction": { "id": "CANADA", "level": "COUNTRY" }, "nonTaxableAmount": { "currency": "USD", "value": 10.99 }, "taxableAmount": { "currency": "USD", "value": 10.99 } } ], "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] } ], "customer": { "customerNo": "OilCorp", "customerUrn": "urn:customer:ICM:inSPIRED:inTOOLS:OilCorp", "externalCustomerNo": "000123456", "externalCustomerUrn": "urn:customer:MSDynamics365:MyCorp:0033459", "customerTypeId": "PRIVATE", "companyName1": "OilCorp Ltd.", "companyName2": "OilCorp Corporate Headquarters", "taxationId": "9XX-78-XXXX", "roles": [ { "role": "BUYER", "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] } ], "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] }, "orderDiscounts": { "orderValueDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ], "orderShippingDiscounts": [ { "id": "92YKAM6dZtIAAAFb_KwtfPFU", "promotionType": "Order Value Off", "description": "20 USD Order discount", "code": "Intershop", "amount": { "net": { "currency": "USD", "value": 10.99 }, "gross": { "currency": "USD", "value": 10.99 }, "tax": { "currency": "USD", "value": 10.99 } } } ] }, "additionalAttributes": [ { "name": "someAttribute", "value": "true", "type": "BOOLEAN" } ] }, "callbackUri" : "service://<service-identifier>/order/sites/<site>/applications/<application>/orders/<urn>" }