Skip to main content

last updated: 2024-09-06

Norce Commerce Connect examples

Examples based on best practices

Link to postman collection

_Set testdata​

Set PG - norce-open-demo​

Method: GET

URL: https://{{apihost}}/commerce/connect/4.0/Job/Ping?NoValue=NoValue

Job​

The Job namespace has operations for checking and handling Norce Commerce Connect jobs.
Jobs is used in Asynchronous incoming calls to Norce, where the amount of data can be very large.

Documentation:
https://docs.norce.io/api-reference/connect/jobservice/nc-latest/overview/

Ping connect​

Method: GET

URL: https://{{apihost}}/commerce/connect/4.0/Job/Ping

List Jobs​

Method: GET

URL: https://{{apihost}}/commerce/connect/4.0//Job/List

Get Job​

Method: GET

URL: https://{{apihost}}/commerce/connect/4.0/Job/Get?id={{jobid}}

Get Job Log​

Method: GET

URL: https://{{apihost}}/commerce/connect/4.0/Job/GetLog?id={{jobid}}

Restart job​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Job/Restart?id={{jobid}}

Products​

The Product namespace has operations for importing product information to Norce.

Documentation:
https://docs.norce.io/api-reference/connect/productservice/nc-latest/overview/

ImportProducts​

Examples of importproducts calls

ImportProducts (basic)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportProducts

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments","AccountId": "{{systemAccountId}}","FullFile": false,"_IgnoreSkuPriceListFieldsWhenEmpty_Explanation": "PriceRecommended, IsActive","IgnoreSkuPriceListFieldsWhenEmpty": [6, 10],"_ProductFieldsThatAreSet_Explanation": "ManufacturerCode, ManufacturerName, Variants, Categories","ProductFieldsThatAreSet": [0, 1, 4, 6],"SerializationType": 0,"_SkuFieldsThatAreSet_Explanation": "Status, Type, UnitOfMeasurementType, UnitOfMeasurementCount, StandardPrice, VatRate","SkuFieldsThatAreSet": [1, 2, 7, 8, 20, 21],"_SkuPriceListFieldsThatAreSet_Explanation": "PriceSale, CostUnit, PriceRecommended, IsActive","SkuPriceListFieldsThatAreSet": [3, 5, 6, 10],"_VariantCultureFieldsThatAreSet_Explanation": "CultureCode, NameCreateOnly","VariantCultureFieldsThatAreSet": [0, 2],"_VariantFieldsThatAreSet_Explanation": "ManufacturerPartNo, Cultures, Skus","VariantFieldsThatAreSet": [0, 4, 5]}
  • Content-Type: application/json

Body:

[
{
"_Comment": "All elements starting with '_' is not required and is only used for comments",
"Categories": [
{
"_Category_Explanation": "The first category element is the primary category.",
"Code": "c_new"
}
],
"ManufacturerCode": "m_self",
"ManufacturerName": "Demo",
"Variants": [
{
"Cultures": [
{
"_Explanation": "en-GB is default language for norce-public-demo, coming from the ERP it is the same as ErpName below.",
"CultureCode": "en-GB",
"Name": "Short name for NGK Tändstift CMR6H (PartNo{{importpartNo}})"
}
],
"ManufacturerPartNo": "MfrPartNo{{importpartNo}}",
"Skus": [
{
"Cultures": [
{
"_Explanation": "The name of the product from the ERP system, which are commonly changed after created at the variant culture level above.",
"CultureCode": "en-GB",
"ErpName": "Short name from ERP for NGK Tändstift CMR6H (PartNo{{importpartNo}})"
}
],
"PartNo": "PartNo{{importpartNo}}",
"StandardPrice": {
"PriceListCode": "pl_se",
"CostUnit": 15,
"CurrencyCode": "SEK",
"IsActive": 1,
"PriceRecommended": 60,
"PriceSale": 59,
"QuantityBreak": 1
},
"Status": 2,
"Type": 1,
"UnitOfMeasurementCount": 1,
"UnitOfMeasurementType": 1,
"VatRates": [
{
"Rate": 25.00,
"SalesArea": 1
}
]
}
]
}
]
}
]

ImportProducts (structure)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportProducts

Headers:

  • X-StormConnect-Header: {"_Comment": "All elements starting with '_' is not required and is only used for comments","AccountId": "{{systemAccountId}}","FullFile": false,"_IgnoreSkuPriceListFieldsWhenEmpty_Explanation": "IsActive","IgnoreSkuPriceListFieldsWhenEmpty": [10],"_ProductFieldsThatAreSet_Explanation": "ManufacturerCode, ManufacturerName, Variants, Categories","ProductFieldsThatAreSet": [0, 1, 4, 6],"SerializationType": 0,"_SkuFieldsThatAreSet_Explanation": "Status, Type, UnitOfMeasurementType, UnitOfMeasurementCount, StandardPrice,VatRate, StructureItems","SkuFieldsThatAreSet": [1, 2, 7, 8, 20, 21, 25],"_SkuPriceListFieldsThatAreSet_Explanation": "IsActive, PriceRule","SkuPriceListFieldsThatAreSet": [10, 12],"_VariantCultureFieldsThatAreSet_Explanation": "CultureCode, NameCreateOnly","VariantCultureFieldsThatAreSet": [0, 2],"_VariantFieldsThatAreSet_Explanation": "ManufacturerPartNo, Cultures, Skus","VariantFieldsThatAreSet": [0, 4, 5],"SkuStructureItemFieldsThatAreSet_Explanation": "SortOrder, StandardStructureItemPrice","SkuStructureItemFieldsThatAreSet": [0, 1]}
  • Content-Type: application/json

Body:

[
{
"_Comment": "All elements starting with '_' is not required and is only used for comments",
"Categories": [
{
"_Category_Explanation": "The first category element is the primary category.",
"Code": "c_new"
}
],
"ManufacturerCode": "m_self",
"ManufacturerName": "Demo",
"Variants": [
{
"Cultures": [
{
"_Explanation": "en-GB is default language for norce-public-demo, coming from the ERP it is the same as ErpName below.",
"CultureCode": "en-GB",
"Name": "Short name for Bundle of PartNo{{importpartNo}} and PartNo{{importpartNo}}-13"
}
],
"ManufacturerPartNo": "MfrPartNo{{importpartNo}}-Bundle",
"Skus": [
{
"Cultures": [
{
"_Explanation": "The name of the product from the ERP system, which are commonly changed after created at the variant culture level above.",
"CultureCode": "en-GB",
"ErpName": "Short name for Bundle of PartNo{{importpartNo}} and PartNo{{importpartNo}}-13"
}
],
"PartNo": "PartNo{{importpartNo}}-Bundle",
"StandardPrice": {
"PriceListCode": "pl_se",
"CurrencyCode": "SEK",
"IsActive": 1,
"PriceRule": 11,
"QuantityBreak": 1
},
"Status": 2,
"Type": 37,
"StructureItems": [
{
"PartNo": "PartNo{{importpartNo}}",
"Quantity": 1,
"StructurePartNo": "PartNo{{importpartNo}}-Bundle",
"SortOrder": 1,
"StandardStructureItemPrice": {
"CurrencyCode": "SEK",
"ItemPriceListCode": "pl_se",
"PartNo": "PartNo{{importpartNo}}",
"PriceListCode": "pl_se",
"PriceSale": 58.00,
"StructurePartNo": "PartNo{{importpartNo}}-Bundle",
"QuantityBreak": 1
}
},
{
"PartNo": "PartNo{{importpartNo}}-13",
"Quantity": 1,
"StructurePartNo": "PartNo{{importpartNo}}-Bundle",
"SortOrder": 1,
"StandardStructureItemPrice": {
"CurrencyCode": "SEK",
"ItemPriceListCode": "pl_se",
"PartNo": "PartNo{{importpartNo}}-13",
"PriceListCode": "pl_se",
"PriceSale": 4442.00,
"StructurePartNo": "PartNo{{importpartNo}}-Bundle",
"QuantityBreak": 1
}
}
],
"UnitOfMeasurementCount": 1,
"UnitOfMeasurementType": 1,
"VatRates": [
{
"Rate": 25.00,
"SalesArea": 1
}
]
}
]
}
]
}
]

ImportProducts (with variants)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportProducts

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "AccountId": "{{systemAccountId}}", "FullFile": false, "_IgnoreSkuPriceListFieldsWhenEmpty_Explanation" : "PriceRecommended, IsActive", "IgnoreSkuPriceListFieldsWhenEmpty": [ 6, 10 ], "_ProductFieldsThatAreSet_Explanation" : "ManufacturerCode, ManufacturerName, Variants, Categories", "ProductFieldsThatAreSet": [ 0, 1, 4, 6 ],"SerializationType": 0,"_SkuCultureFieldsThatAreSet_Explanation" : "ErpName","SkuCultureFieldsThatAreSet": [0],"_SkuFieldsThatAreSet_Explanation" : "Status, Type, UnitOfMeasurementType, UnitOfMeasurementCount, StandardPrice, VatRate", "SkuFieldsThatAreSet": [ 1, 2, 7, 8, 20, 21 ], "_SkuPriceListFieldsThatAreSet_Explanation" : "PriceSale, CostUnit, PriceRecommended, IsActive", "SkuPriceListFieldsThatAreSet": [ 3, 5, 6, 10 ], "_VariantCultureFieldsThatAreSet_Explanation" : "CultureCode, NameCreateOnly", "VariantCultureFieldsThatAreSet": [ 0, 2 ], "_VariantFieldsThatAreSet_Explanation" : "ManufacturerPartNo, Cultures, Skus", "VariantFieldsThatAreSet": [ 0, 4, 5 ] }
  • Content-Type: application/json

Body:

[
{
"_Comment": "All elements starting with '_' is not required and is only used for comments",
"Categories": [
{
"_Category_Explanation": "The first category element is the primary category.",
"Code": "c_new"
}
],
"Code": "PCode{{importpartNo}}",
"_Code_Explanation": "Product Code is only required when there are many variants of the same product and is used as a identifier of the cluster of products",
"ManufacturerCode": "m_self",
"ManufacturerName": "Demo",
"Variants": [
{
"Cultures": [
{
"_Explanation": "en-GB is default language for norce-public-demo, coming from the ERP it is the same as ErpName below.",
"CultureCode": "en-GB",
"Name": "Husqvarna 550 XPG Mark II Chain saw 13 inch (PartNo{{importpartNo}}-13)"
}
],
"ManufacturerPartNo": "MfrPartNo{{importpartNo}}-13",
"Skus": [
{
"Cultures": [
{
"_Explanation": "The name of the product from the ERP system, which are commonly changed after created at the variant culture level above.",
"CultureCode": "en-GB",
"ErpName": "Short name for 550 XPG Mark II 13 (ERPPartNo{{importpartNo}}-13)"
}
],
"PartNo": "PartNo{{importpartNo}}-13",
"StandardPrice": {
"PriceListCode": "pl_se",
"CostUnit": 1850,
"CurrencyCode": "SEK",
"IsActive": 1,
"PriceRecommended": 4600,
"PriceSale": 4500,
"QuantityBreak": 1
},
"Status": 2,
"Type": 1,
"UnitOfMeasurementCount": 1,
"UnitOfMeasurementType": 1,
"VatRates": [
{
"Rate": 25.00,
"SalesArea": 1
}
]
}
]
},
{
"Cultures": [
{
"_Explanation": "en-GB is default language for norce-public-demo, coming from the ERP it is the same as ErpName below.",
"CultureCode": "en-GB",
"Name": "Husqvarna 550 XPG Mark II Chain saw 15 inch (PartNo{{importpartNo}}-15)"
}
],
"ManufacturerPartNo": "MfrPartNo{{importpartNo}}-15",
"Skus": [
{
"Cultures": [
{
"_Explanation": "The name of the product from the ERP system, which are commonly changed after created at the variant culture level above.",
"CultureCode": "en-GB",
"ErpName": "Short name for 550 XPG Mark II 15 (ERPPartNo{{importpartNo}}-15)"
}
],
"PartNo": "PartNo{{importpartNo}}-15",
"StandardPrice": {
"PriceListCode": "pl_se",
"CostUnit": 2100,
"CurrencyCode": "SEK",
"IsActive": 1,
"PriceRecommended": 5000,
"PriceSale": 4900,
"QuantityBreak": 1
},
"Status": 2,
"Type": 1,
"UnitOfMeasurementCount": 1,
"UnitOfMeasurementType": 1,
"VatRates": [
{
"Rate": 25.00,
"SalesArea": 1
}
]
}
]
}
]
}
]

ImportProducts (PIM information)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportProducts

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "AccountId": "{{contentSystemAccountId}}", "FullFile": false, "_ProductCultureFieldsThatAreSet_Explanation": "Name, Description, UniqueUrlName, IsUniqueUrlNameManuallyMaintained", "ProductCultureFieldsThatAreSet": [0, 5, 13, 14], "_ProductFieldsThatAreSet_Explanation": "ManufacturerCode, ManufacturerName, Code, Variants, Cultures, MainImage, ProductParametrics, VariantDefinitionGroup (product flags does not require a header set)", "ProductFieldsThatAreSet": [0, 1, 3, 4, 5, 7, 10, 12], "SerializationType": 0, "_VariantCultureFieldsThatAreSet_Explanation": "CultureCode, NameLimitedUpdate, UniqueUrlName, IsUniqueUrlNameManuallyMaintained", "VariantCultureFieldsThatAreSet": [0, 3, 4, 5], "_VariantFieldsThatAreSet_Explanation": "ManufacturerPartNo, Cultures, Skus, VariantParametrics", "VariantFieldsThatAreSet": [0, 4, 5, 8] }
  • Content-Type: application/json

Body:

[
{
"_Comment": "All elements starting with '_' is not required and is only used for comments",
"_Prereq_Comment": "Run ImportProducts (with variants) first!",
"Code": "PCode{{importpartNo}}",
"Cultures": [
{
"_Explanation": "en-GB is default language for norce-public-demo",
"CultureCode": "en-GB",
"Description": "60 years after launching its very first chainsaw, Husqvarna introduces two brand new 50cc chainsaws with new design and construction - 550 XP Mark II and 550 XP G Mark II! The Husqvarna 550 XP® G Mark II has superior capacity and has undergone the most extreme testing to ensure it meets the expectations of the most demanding land and forest owners. This saw is powerful, durable and easy to manoeuvre, making it ideal for felling, limbing and cutting small and medium-sized trees. The slimline saw body incorporates a host of innovative features that ensure efficient, reliable and comfortable handling. Equipped with handle heating.",
"_IsUniqueUrlNameManuallyMaintained_Explanation": "let Norce generate a unique url name",
"IsUniqueUrlNameManuallyMaintained": false,
"Name": "Husqvarna 550 XPG Mark II Chain Saw",
"UniqueUrlName": null
}
],
"MainImage": {
"ExternalCode": "Hqv-550-XPG-Mark-II-Chain-Saw-001",
"FileTypeName": "png",
"Filename": "Hqv-550-XPG-Mark-II-Chain-Saw.png",
"LastModified": null,
"Url": "https://norce-open-demo.playground.cdn-norce.tech/4c7aa77d-20ef-481c-80da-37616eac676e"
},
"ManufacturerCode": "m_self",
"ManufacturerName": "Demo",
"ProductFlags": [
{
"Code": "fl_selections_aproducts",
"IsCreateOnly": true,
"IsLimitedUpdate": null,
"IsSet": true,
"StopDate": null
},
{
"Code": "fl_enrichment_workflow_inprogress",
"IsCreateOnly": null,
"IsLimitedUpdate": true,
"IsSet": true,
"StopDate": null
},
{
"Code": "fl_enrichment_addtexts",
"IsCreateOnly": null,
"IsLimitedUpdate": true,
"IsSet": false,
"StopDate": null
}
],
"ProductParametrics": [
{
"ParametricCode": "p_machines_cylindervolume",
"ValueDecimal": 50.1
},
{
"ParametricCode": "p_machines_drivesource",
"ValueList": {
"Code": "pi_gasoline_twostroke",
"Value": null,
"_comment": "Value is not needed if we know that the list is complete, if code is missing Code/Value will be created as a new list-item."
}
},
{
"ParametricCode": "p_machines_servicekit",
"ValueList": {
"Code": "100013",
"Value": "100013",
"_comment": "Value is not needed if we know that the list is complete, if code is missing Code/Value will be created as a new list-item."
}
},
{
"MultipleValueList": [
{
"Code": "pi_features_adj_oil_flow",
"Value": "Adjustable oil flow"
},
{
"Code": "pi_features_handle_heating",
"Value": "Handle heating"
},
{
"Code": "pi_features_inc_cutting_equipment",
"Value": "Includes cutting equipment"
}
],
"ParametricCode": "p_machines_features"
}
],
"VariantDefinitionGroup": {
"Code": "vt_cutting_size",
"Name": "Chain saw Cutting size",
"_comment": "When variant type already exists only code in needed. Make add each variant type parametric to 'VariantParametrics' under each variant below"
},
"Variants": [
{
"ManufacturerPartNo": "MfrPartNo{{importpartNo}}-13",
"Cultures": [
{
"_Explanation": "en-GB is default language for norce-public-demo, here we override the variant name with a name from external content.",
"CultureCode": "en-GB",
"Name": "Husqvarna 550 XPG Mark II Chain saw 13 inch"
}
],
"Skus": [
{
"PartNo": "PartNo{{importpartNo}}-13"
}
],
"VariantFlags": [
{
"Code": "fl_selections_amazon",
"IsCreateOnly": null,
"IsLimitedUpdate": null,
"IsSet": true,
"StopDate": null
},
{
"Code": "fl_selections_outlet",
"IsCreateOnly": null,
"IsLimitedUpdate": null,
"IsSet": true,
"StopDate": null
},
{
"Code": "fl_campaign_season",
"IsCreateOnly": null,
"IsLimitedUpdate": null,
"IsSet": true,
"StopDate": null
}
],
"VariantParametrics": [
{
"_comment": "This is used by the variant type under 'VariantDefinitionGroup' above",
"ParametricCode": "p_machines_cutting_size",
"ValueList": {
"Code": "pi_machines_13inch",
"Value": "With 13'' cutting size"
}
},
{
"_comment": "This is an ordinary parametric on variant level",
"Cultures": [
{
"CultureCode": "en-GB",
"ValueText": "Warranty 2 years"
}
],
"ParametricCode": "p_add_info"
}
]
},
{
"ManufacturerPartNo": "MfrPartNo{{importpartNo}}-15",
"Cultures": [
{
"_Explanation": "en-GB is default language for norce-public-demo, here we override the variant name with a name from external content.",
"CultureCode": "en-GB",
"Name": "Husqvarna 550 XPG Mark II Chain saw 15 inch"
}
],
"Skus": [
{
"PartNo": "PartNo{{importpartNo}}-15"
}
],
"VariantFlags": [
{
"Code": "fl_selections_amazon",
"IsCreateOnly": null,
"IsLimitedUpdate": null,
"IsSet": false,
"StopDate": null
},
{
"Code": "fl_selections_outlet",
"IsCreateOnly": null,
"IsLimitedUpdate": null,
"IsSet": true,
"StopDate": null
}
],
"VariantParametrics": [
{
"_comment": "This is used by the variant type under 'VariantDefinitionGroup' above",
"ParametricCode": "p_machines_cutting_size",
"ValueList": {
"Code": "pi_machines_15inch",
"Value": "With 15'' cutting size"
}
},
{
"_comment": "This is an ordinary parametric on variant level",
"Cultures": [
{
"CultureCode": "en-GB",
"ValueText": "Warranty 1 year"
}
],
"ParametricCode": "p_add_info"
}
]
}
]
}
]

ImportSkuPriceLists​

Examples of calls to ImportSkuPriceLists

ImportSkuPriceLists (standard price)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportSkuPriceLists

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "AccountId": "{{systemAccountId}}", "FullFile": false, "_IgnoreSkuPriceListFieldsWhenEmpty_Explanation": "None", "IgnoreSkuPriceListFieldsWhenEmpty": [], "SerializationType": 0, "_SkuPriceListFieldsThatAreSet_Explanation": "PriceSale, IsActive", "SkuPriceListFieldsThatAreSet": [3, 10] }
  • Content-Type: application/json

Body:

[
{
"CurrencyCode": "SEK",
"IsActive": 1,
"PartNo": "PartNo{{importpartNo}}-13",
"PriceListCode": "pl_se",
"PriceSale": 4500,
"QuantityBreak": 1
},
{
"_comment": "additional records to the same price/product is possible with different quantity breaks",
"CurrencyCode": "SEK",
"IsActive": 1,
"PartNo": "PartNo{{importpartNo}}-13",
"PriceListCode": "pl_se",
"PriceSale": 4450,
"QuantityBreak": 10
},
{
"CurrencyCode": "SEK",
"IsActive": 1,
"PartNo": "PartNo{{importpartNo}}-15",
"PriceListCode": "pl_se",
"PriceSale": 4950,
"QuantityBreak": 1
}
]

ImportSkuPriceLists (campaign price)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportSkuPriceLists

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "AccountId": "{{systemAccountId}}", "FullFile": false, "SerializationType": 0, "_IgnoreSkuPriceListFieldsWhenEmpty_Explanation": "Nothing", "IgnoreSkuPriceListFieldsWhenEmpty": [], "_SkuPriceListFieldsThatAreSet_Explanation": "IsActive, PriceRule", "SkuPriceListFieldsThatAreSet": [10, 12] }
  • Content-Type: application/json

Body:

[
{
"_comment": "override price list on product with a changed rebate: UseStandardPrice_FixedDiscount 20 SEK",
"_note": "norce will not automatically activate the campaign on the product, use population rules for that",
"CurrencyCode": "SEK",
"IsActive": 1,
"PartNo": "PartNo{{importpartNo}}-13",
"PriceListCode": "pl_season-campaign",
"PriceRule": 10,
"PriceRuleValue": 20,
"QuantityBreak": 1
},
{
"_comment": "override price list on product with a changed rebate: UseRecommendedPrice 20 %",
"_note": "norce will not automatically activate the campaign on the product, use population rules for that",
"CurrencyCode": "SEK",
"IsActive": 1,
"PartNo": "PartNo{{importpartNo}}-15",
"PriceListCode": "pl_season-campaign",
"PriceRule": 4,
"PriceRuleValue": 20,
"QuantityBreak": 1
}
]

ImportCompetitorSkus​

Examples of calls to ImportCompetitorSkus

ImportCompetitorSkus​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportCompetitorSkus

Headers:

  • Content-Type: application/json
  • X-StormConnect-Header: {"_Comment": "All elements starting with '_' is not required and is only used for comments","AccountId": "{{competitorSystemAccountId}}","_CompetitorSkuFieldsThatAreSet_Explanation": "CompetitorName, ProductName, VatRate","CompetitorSkuFieldsThatAreSet": [0,1,2],"FullFile": true,"SerializationType": 0,}

Body:

[
{
"CompetitorCode": "UniComp",
"CompetitorName": "Unique Competitor",
"CompetitorPartNo": "UCPNo{{importpartNo}}-13",
"CurrencyCode": "SEK",
"IsInStock": true,
"IsPricesInclVat": true,
"PartNo": "PartNo{{importpartNo}}-13",
"PriceSale": 5620,
"PriceSaleInclFreight": 5700,
"ProductName": "Husqvarna 550 XPG Mark II Chain saw 13 inch (UCPNo{{importpartNo}}-13)",
"SalesArea": 1,
"Source": "Demo1CompetitorService",
"VatRate": 1.25
},
{
"CompetitorCode": "SmallComp",
"CompetitorName": "Small Competitor",
"CompetitorPartNo": "SmallPartNo{{importpartNo}}-13",
"CurrencyCode": "EUR",
"IsInStock": false,
"IsPricesInclVat": false,
"PartNo": "PartNo{{importpartNo}}-13",
"PriceSale": 455,
"PriceSaleInclFreight": 460,
"ProductName": "Husqvarna 550 XPG Mark II Chain saw 13 inch (SmallPartNo{{importpartNo}}-13)",
"SalesArea": 1,
"Source": "Demo1CompetitorService",
"VatRate": 1.25
},
{
"CompetitorCode": "UniComp",
"CompetitorName": "Unique Competitor",
"CompetitorPartNo": "UCPNo{{importpartNo}}-15",
"CurrencyCode": "SEK",
"IsInStock": true,
"IsPricesInclVat": true,
"PartNo": "PartNo{{importpartNo}}-15",
"PriceSale": 6200,
"PriceSaleInclFreight": 6300,
"ProductName": "Husqvarna 550 XPG Mark II Chain saw 15 inch (UCPNo{{importpartNo}}-15)",
"SalesArea": 1,
"Source": "Demo1CompetitorService",
"VatRate": 1.25
},
{
"CompetitorCode": "SmallComp",
"CompetitorName": "Small Competitor",
"CompetitorPartNo": "SmallPartNo{{importpartNo}}-15",
"CurrencyCode": "EUR",
"IsInStock": true,
"IsPricesInclVat": false,
"PartNo": "PartNo{{importpartNo}}-15",
"PriceSale": 490,
"PriceSaleInclFreight": 499,
"ProductName": "Husqvarna 550 XPG Mark II Chain saw 15 inch (SmallPartNo{{importpartNo}}-15)",
"SalesArea": 1,
"Source": "Demo1CompetitorService",
"VatRate": 1.25
},
{
"CompetitorCode": "MedComp",
"CompetitorName": "Medium Competitor",
"CompetitorPartNo": "MPNo{{importpartNo}}-13",
"CurrencyCode": "SEK",
"IsInStock": true,
"IsPricesInclVat": true,
"PartNo": "PartNo{{importpartNo}}-13",
"PriceSale": 5620,
"PriceSaleInclFreight": 5700,
"ProductName": "Husqvarna 550 XPG Mark II Chain saw 13 inch (MPNo{{importpartNo}}-13)",
"SalesArea": 1,
"Source": "Demo1CompetitorService",
"VatRate": 1.25
},
{
"CompetitorCode": "MedComp",
"CompetitorName": "Medium Competitor",
"CompetitorPartNo": "MPNo{{importpartNo}}-15",
"CurrencyCode": "SEK",
"IsInStock": true,
"IsPricesInclVat": true,
"PartNo": "PartNo{{importpartNo}}-15",
"PriceSale": 6200,
"PriceSaleInclFreight": 6300,
"ProductName": "Husqvarna 550 XPG Mark II Chain saw 15 inch (MPNo{{importpartNo}}-15)",
"SalesArea": 1,
"Source": "Demo1CompetitorService",
"VatRate": 1.25
}
]

ImportOnHands​

Examples of call to ImportOnHands

ImportOnHands (standard warehouse)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportOnHands

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "AccountId": "{{WMSAccountId}}", "FullFile": false, "SerializationType": 0, "_SkuOnhandFieldsThatAreSet_Explanation": "OnhandValue, IncomingValue, NextDeliveryDate, LeadTimeDayCount, IsActive", "SkuOnhandFieldsThatAreSet": [3, 4, 5, 6, 10] }
  • Content-Type: application/json

Body:

[
{
"IncomingValue": 10,
"IsActive": 1,
"LocationCode": "whl_strd_se",
"NextDeliveryDate": "{{nextDeliveryDate}}",
"OnhandValue": 0,
"PartNo": "PartNo{{importpartNo}}-13",
"WarehouseCode": "wh_strd_se"
},
{
"_comment": "additional location for returned goods",
"IsActive": 1,
"LocationCode": "whl_strd_se_returns",
"NextDeliveryDate": null,
"OnhandValue": 1,
"PartNo": "PartNo{{importpartNo}}-13",
"WarehouseCode": "wh_strd_se"
},
{
"IsActive": 1,
"LocationCode": "whl_strd_no",
"NextDeliveryDate": null,
"OnhandValue": 4,
"PartNo": "PartNo{{importpartNo}}-13",
"WarehouseCode": "wh_strd_no"
},
{
"IsActive": 1,
"LocationCode": "whl_strd_se",
"NextDeliveryDate": null,
"OnhandValue": 7,
"PartNo": "PartNo{{importpartNo}}-15",
"WarehouseCode": "wh_strd_se",
"LeadTimeDayCount": 3
},
{
"IncomingValue": 15,
"IsActive": 1,
"LocationCode": "whl_strd_no",
"NextDeliveryDate": "{{nextDeliveryDate}}",
"OnhandValue": 2,
"PartNo": "PartNo{{importpartNo}}-15",
"WarehouseCode": "wh_strd_no",
"LeadTimeDayCount": 5
}
]

ImportOnHands (store warehouses)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportOnHands

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "AccountId": "{{POSAccountId}}", "FullFile": false, "SerializationType": 0, "_SkuOnhandFieldsThatAreSet_Explanation": "OnhandValue, IsActive, Infos", "SkuOnhandFieldsThatAreSet": [ 3, 10, 11 ] }
  • Content-Type: application/json

Body:

[
{
"IsActive": 1,
"LocationCode": "whl_goth",
"OnhandValue": 2,
"PartNo": "PartNo{{importpartNo}}-13",
"WarehouseCode": "wh_goth"
},
{
"_comment": "additional info with store information",
"IsActive": 1,
"LocationCode": "whl_oslo",
"OnhandValue": 3,
"PartNo": "PartNo{{importpartNo}}-13",
"WarehouseCode": "wh_oslo",
"Infos": [
{
"Code": "WH_ShelfNumber",
"Value": "23"
}
]
}
]

ImportPriceLists​

Examples of calls to ImportPriceLists

ImportPriceLists (campaign pricelists)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportPriceLists

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "AccountId": "{{systemAccountId}}", "FullFile": false, "_PriceListFieldsThatAreSet_Explanation": "Name, CurrencyCode, StartDate, EndDate, IsPublic, Warehouses, DefaultPriceRule, Description, SalesArea, ParentPriceListCode, PriceRules, Population", "PriceListFieldsThatAreSet": [0, 1, 2, 3, 4, 7, 8, 9, 12, 15, 18, 21], "SerializationType": 0, "_WarehouseFieldsThatAreSet_Explanation": "No values, only code is used.", "WarehouseFieldsThatAreSet": [], "_WarehouseLocationFieldsThatAreSet_Explanation": "No values, only code is used.", "WarehouseLocationFieldsThatAreSet": [], "_PriceListPriceRuleFieldsThatAreSet_Explanation": "Type, Value", "PriceListPriceRuleFieldsThatAreSet": [ 0, 1 ] }
  • Content-Type: application/json

Body:

[
{
"_comment": "Create a whole new campaign price list with discount and population rules",
"Code": "{{demoPricelist}}",
"Name": "Demo ({{demoPricelist}})",
"Description": "Automatically created price list from connect call. Uses population and price rules inherited from parent.",
"StartDate": "2024-04-02Z",
"EndDate": "2024-05-10Z",
"IsPublic": false,
"CurrencyCode": "SEK",
"SalesArea": 1,
"ParentPriceListCode": "pl_se",
"_comment_default_rules": "Use std price 10%",
"DefaultPriceRule": 7,
"DefaultPriceRuleValue": 10,
"DefaultMinMarginPercent": 6,
"_comment_PriceRules": "Different rebates for A, B and C-flagged products",
"PriceRules": [
{
"Type": 7,
"Value": 20,
"Flags": [
"fl_selections_aproducts"
]
},
{
"Type": 7,
"Value": 10,
"Flags": [
"fl_selections_bproducts",
"fl_selections_cproducts"
]
}
],
"_comment_Population": "Populates only products with demo campaign flag",
"Population": {
"Type": 1,
"AllCategories": {
"RuleType": 3,
"RuleCodes": [
"fl_demo_campaign"
]
},
"Categories": null
},
"Warehouses": [
{
"_comment": "A price list must have association to at least one warehouse to get availability calculated.",
"Code": "wh_strd_se",
"Locations": [
{
"Code": "whl_strd_se"
}
]
},
{
"Code": "wh_strd_no",
"Locations": [
{
"Code": "whl_strd_no"
}
]
}
]
}
]

ImportRelations​

ImportRelations​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Product/ImportRelations

Headers:

  • Content-Type: application/json
  • X-StormConnect-Header: {"_Comment": "All elements starting with '_' is not required and is only used for comments","AccountId": "{{contentSystemAccountId}}","FullFile": false,"_RelationCultureFieldsThatAreSet_Explanation": "none","RelationCultureFieldsThatAreSet": [],"_RelationFieldsThatAreSet_Explanation": "IsActive, IsVariantUnique, IsRelatedVariantUnique, SortOrder","RelationFieldsThatAreSet": [1,2,4,12]}

Body:

[
{
"IsActive": true,
"IsRelatedVariantUnique": false,
"IsVariantUnique": true,
"PartNo": "PartNo{{importpartNo}}-13",
"RelatedPartNo": "100001",
"RelationTypeCode": "rt_crosssell",
"SortOrder": 1
},
{
"IsActive": true,
"IsRelatedVariantUnique": false,
"IsVariantUnique": false,
"PartNo": "PartNo{{importpartNo}}-13",
"RelatedPartNo": "100014",
"RelationTypeCode": "prt_accessories",
"SortOrder": 2
}
]

Customer​

The customer namespace contains all operations regarding customer and company imports to Norce.

Documentation portal:
https://docs.norce.io/api-reference/connect/customerservice/nc-latest/overview/

ImportCustomers​

Examples of importcustomers calls

ImportCustomers​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Customer/ImportCustomers

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "_AccountFieldsThatAreSet_Explanation": "PasswordCreateOnly, StatusCreateOnly, RolesCreateOnly", "AccountFieldsThatAreSet": [0, 2, 4], "AccountId": "{{systemAccountId}}", "_CompanyFieldsThatAreSet_Explanation": "No company in this example", "CompanyFieldsThatAreSet": [], "_CustomerFieldsThatAreSet_Explanation": "ApplicationKey, EmailAddress, FirstName, LastName, CellPhoneNumber, IsActive, InvoiceAddress, Accounts, AdditionalInfo, Flags", "CustomerFieldsThatAreSet": [0, 3, 6, 8, 10, 11, 12, 14, 15, 16], "SerializationType": 0 }
  • Content-Type: application/json

Body:

[
{
"_Comment": "All elements starting with '_' is not required and is only used for comments",
"_Accounts_Explanation": "This example adds an account object. This can used for login access or as a placeholder in Norce for external authentication systems.",
"Accounts": [
{
"ApplicationKey": "ae64002a-7068-4b18-a496-a7c4d778e7ec",
"LoginName": "JaneDoe",
"Password": "Initialpassword",
"Roles": [
{
"Code": "cr_user",
"IsActive": true
}
],
"Status": 1
}
],
"AdditionalInfo": [
{
"Code": "cu_additional_settings",
"Value": "This is additional settings for personalization."
}
],
"_ApplicationKey_Explanation": "This customer and account is bound to Open Demo Playground SE",
"ApplicationKey": "ae64002a-7068-4b18-a496-a7c4d778e7ec",
"CellPhoneNumber": "123456",
"Code": null,
"Companies": null,
"DeliveryAddresses": null,
"EmailAddress": "janedoe@myprivateemail.se",
"FirstName": "Jane",
"Flags": [
{
"Code": "cf_interest_clothes_products",
"IsActive": true
}
],
"Id": null,
"InvoiceAddress": {
"AddressLine1": "Firststreet 1",
"AddressLine2": null,
"CareOf": "Invoices",
"City": "Stockholm",
"CountryCode": "SE",
"Gln": null,
"Region": null,
"ShippingPhoneNumber": null,
"ZipCode": "123 45"
},
"IsActive": true,
"IsCompanyListDelta": null,
"LastName": "Doe",
"MiddleName": null,
"PhoneNumber": null,
"PriceLists": null,
"SocialSecurityNumber": null,
"Title": null,
"Type": 1
}
]

ImportCustomers (with Company)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Customer/ImportCustomers

Headers:

  • X-StormConnect-Header: {"_Comment": "All elements starting with '_' is not required and is only used for comments","_AccountFieldsThatAreSet_Explanation": "No account in this example","AccountFieldsThatAreSet": [],"AccountId": "{{systemAccountId}}","_CompanyFieldsThatAreSet_Explanation": "Code","CompanyFieldsThatAreSet": [2],"_CustomerFieldsThatAreSet_Explanation": "ApplicationKey, Code, EmailAddress, FirstName, LastName, CellPhoneNumber, IsActive, Companies","CustomerFieldsThatAreSet": [0,2,3,6,8,10,11,19],"SerializationType": 0}

Body:

[
{
"_Comment": "All elements starting with '_' is not required and is only used for comments",
"_Accounts_Explanation": "This example adds an account object. This can used for login access or as a placeholder in Storm for external authentication systems.",
"Accounts": [
{
"ApplicationKey": "ae64002a-7068-4b18-a496-a7c4d778e7ec",
"LoginName": "JohnDoe",
"Password": "Initialpassword",
"Roles": [
{
"Code": "cr_user",
"IsActive": true
}
],
"Status": 1
}
],
"AdditionalInfo": [
{
"Code": "cu_additional_settings",
"Value": "This is additional settings for personalization."
}
],
"_ApplicationKey_Explanation": "This customer and account is bound to Open Demo Playground SE",
"ApplicationKey": "ae64002a-7068-4b18-a496-a7c4d778e7ec",
"CellPhoneNumber": "112345",
"Code": null,
"Companies": [
{
"Code": "ERPCO1000001",
"IsPrimary": true,
"Name": "Huge Ventures"
}
],
"DeliveryAddresses": null,
"EmailAddress": "johndoe@hugeventures.se",
"FirstName": "John",
"Flags": [
{
"Code": "cf_interest_integrations",
"IsActive": true
}
],
"Id": null,
"InvoiceAddress": null,
"IsActive": true,
"IsCompanyListDelta": null,
"LastName": "Doe",
"MiddleName": null,
"PhoneNumber": null,
"PriceLists": null,
"SocialSecurityNumber": null,
"Title": null,
"Type": 1
}
]

ImportCompanies​

Examples of importcompanies calls

ImportCompanies​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Customer/ImportCompanies

Headers:

  • X-StormConnect-Header: { "_AccountFieldsThatAreSet_Explanation": "PasswordCreateOnly, StatusCreateOnly, RolesCreateOnly", "AccountFieldsThatAreSet": [0, 2, 4], "AccountId": "{{systemAccountId}}", "_CompanyFieldsThatAreSet_Explanation": "ApplicationKey, Code, Name, IsActive, InvoiceAddress, DeliveryAddresses, AdditionalInfo, Customers, Flags, SearchOnlyByCode, PreserveFlags", "CompanyFieldsThatAreSet": [0, 2, 4, 9, 10, 11, 12, 14, 17, 20, 22], "_CustomerFieldsThatAreSet_Explanation": "ApplicationKey, EmailAddress, FirstName, LastName, CellPhoneNumber, IsActive, Accounts, Flags, PreserveFlags", "CustomerFieldsThatAreSet": [0, 3, 6, 8, 10, 11, 14, 16, 21], "SerializationType": 0 }

Body:

[
{
"AdditionalInfo": [
{
"Code": "coit_description",
"Value": "A reseller, with contacts"
}
],
"ApplicationKey": "ae64002a-7068-4b18-a496-a7c4d778e7ec",
"Code": "ERPCO1000006",
"Contacts": null,
"Customers": [
{
"_comment": "Can create a customer directly from importcompany",
"Accounts": [
{
"ApplicationKey": "ae64002a-7068-4b18-a496-a7c4d778e7ec",
"LoginName": "MagnusDemo",
"Password": "temppassword",
"Roles": [
{
"Code": "cr_buyer",
"IsActive": true
}
],
"Status": 1
}
],
"AdditionalInfo": null,
"ApplicationKey": "ae64002a-7068-4b18-a496-a7c4d778e7ec",
"CellPhoneNumber": "123123123",
"Code": null,
"Companies": null,
"DeliveryAddresses": null,
"EmailAddress": "magnus@norce.io",
"FirstName": "Magnus",
"Flags": [
{
"Code": "cf_interest_main",
"IsActive": true
},
{
"Code": "cf_interest_machine_products",
"IsActive": true
}
],
"Id": null,
"InvoiceAddress": null,
"IsActive": true,
"IsCompanyListDelta": null,
"LastName": "Blombergsson",
"MiddleName": null,
"PhoneNumber": null,
"PriceLists": null,
"SocialSecurityNumber": null,
"Title": "Solution Expert",
"Type": 1
}
],
"DeliveryAddresses": [
{
"AddressLine1": "Firststreet 1",
"AddressLine2": null,
"CareOf": null,
"City": "Stockholm",
"CountryCode": "SE",
"Gln": null,
"Region": null,
"ShippingPhoneNumber": null,
"ZipCode": "123 45"
},
{
"AddressLine1": "SubsidiaryRoad 1",
"AddressLine2": null,
"CareOf": null,
"City": "Strängnäs",
"CountryCode": "SE",
"Gln": null,
"Region": null,
"ShippingPhoneNumber": null,
"ZipCode": "678 90"
}
],
"DeliveryMethods": null,
"Discounts": null,
"EmailAddress": null,
"Flags": [
{
"Code": "cf_company_reseller",
"IsActive": true
}
],
"Id": null,
"InvoiceAddress": {
"AddressLine1": "Firststreet 1",
"AddressLine2": null,
"CareOf": "Invoices",
"City": "Stockholm",
"CountryCode": "SE",
"Gln": null,
"Region": null,
"ShippingPhoneNumber": null,
"ZipCode": "123 45"
},
"IsActive": true,
"_IsCustomerListDelta_Explanation": "True, this list of customers should Not remove other relations to customers already in Norce.",
"IsCustomerListDelta": true,
"LogoImage": null,
"Name": "Norce AB",
"OrganizationNo": "556629-3956",
"ParentCompanyCode": null,
"PaymentMethods": null,
"PhoneNumber": null,
"PriceLists": null,
"VatNo": null
}
]

UpdateCompanies (with pricelists)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Customer/ImportCompanies

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "AccountId": "{{systemAccountId}}", "FullFile": false, "AccountFieldsThatAreSet": [], "_CompanyFieldsThatAreSet_Explanation": "Code, PriceLists", "CompanyFieldsThatAreSet": [ 2, 19 ], "_CustomerFieldsThatAreSet_Explanation": "None", "CustomerFieldsThatAreSet": [] }
  • Content-Type: application/json

Body:

[
{
"Id": null,
"Code": "ERPCO1000006",
"Name": "Norce AB",
"PriceLists": [
{
"Code": "pl_vip",
"IsExclusive": false
}
]
}
]

Supplier​

The product namespace contains all operations regarding supplier catalog imports to Storm.

Documentation portal:
https://docs.norce.io/api-reference/connect/supplierservice/nc-latest/overview/

ImportProducts​

Examples of importproducts calls

ImportProducts​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Supplier/ImportProducts

Headers:

  • X-StormConnect-Header: { "_Comment": "All elements starting with '_' is not required and is only used for comments", "AccountId": "{{Supplier1Account}}", "_ContentFieldsThatAreSet_Explanation": "No content in this example", "ContentFieldsThatAreSet": [], "_FieldsThatAreSet_Explanation": "SupplierPartNo ProductName CategoryCode Manufacturer ManufacturerPartNo EanCode CommodityCode UnitOfMeasurementCode UnitOfMeasurementCount VatCode", "FieldsThatAreSet": [0, 1, 2, 4, 5, 6, 7, 10, 11, 12], "FullFile": false, "_OnhandFieldsThatAreSet_Explanation": "Value PackageValue IsActive", "OnhandFieldsThatAreSet": [0, 7, 9], "_PriceFieldsThatAreSet_Explanation": "CostPurchase IsActive", "PriceFieldsThatAreSet": [0, 11], "_ProductInfoFieldsThatAreSet_Explanation": "No info fields in this example", "ProductInfoFieldsThatAreSet": [], "SerializationType": 0, "_SupplierId_Explanation": "NGK Supplier US", "SupplierId": 1 }

Body:

[
{
"CategoryCode": "Machines-Spareparts-Sparks",
"CommodityCode": "84213100",
"ContentList": null,
"EanCode": "087295133651",
"GrossWeight": 0,
"Images": null,
"LogisticDepth": null,
"LogisticHeight": null,
"LogisticWidth": null,
"MainImage": null,
"Manufacturer": "NGK",
"ManufacturerPartNo": "MfrPartNo{{importpartNo}}",
"NetWeight": 0,
"OnHand": [
{
"ExternalStockValue": null,
"IncomingValue": null,
"IsActive": true,
"IsReturnable": null,
"LeadTimeDayCount": null,
"LocationCode": "Standard",
"MinimumOrderValue": 1,
"Name": "Standard",
"NextDeliveryDate": null,
"PackageValue": 1,
"StoppedDate": null,
"Value": 120,
"WarehouseCode": "Standard"
}
],
"Parametrics": null,
"PriceList": [
{
"CostFee": null,
"CostPurchase": 2.11,
"CostPurchaseValidTo": null,
"CurrencyCode": "USD",
"DiscountPct": null,
"FreightCost": null,
"IsActive": true,
"IsFocus": null,
"IsPromotion": null,
"PriceCatalog": null,
"PriceDealer": null,
"PriceListCode": "spl_ngk_std",
"PriceMax": null,
"PriceRanking": null,
"PriceRecommended": null,
"QtyBreak": 1
}
],
"ProductInfo": null,
"ProductName": "Tändstift CMR6H",
"ProductType": null,
"SupplierPartNo": "Sup1PartNo{{importpartNo}}",
"_UnitOfMeasurementCode_Explanation": "Pieces=1",
"UnitOfMeasurementCode": 1,
"UnitOfMeasurementCount": 1,
"VatCode": 25
}
]

ImportProducts (with some parameters)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Supplier/ImportProducts

Headers:

  • X-StormConnect-Header: {"_Comment": "All elements starting with '_' is not required and is only used for comments","AccountId": "{{systemAccountId}}","_ContentFieldsThatAreSet_Explanation": "SubHeader, SubDescription","ContentFieldsThatAreSet": [2,3],"_FieldsThatAreSet_Explanation": "SupplierPartNo ProductName CategoryCode Manufacturer ManufacturerPartNo","FieldsThatAreSet": [0,1,2,4,5],"FullFile": false,"_OnhandFieldsThatAreSet_Explanation": "onhand is not used in this example","OnhandFieldsThatAreSet": [],"_PriceFieldsThatAreSet_Explanation": "price is not used in this example","PriceFieldsThatAreSet": [],"_ProductInfoFieldsThatAreSet_Explanation": "No info fields in this example","ProductInfoFieldsThatAreSet": [],"SerializationType": 0,"_SupplierId_Explanation": "Premium Supplies Limited UK","SupplierId": 1545}

Body:

[
{
"CategoryCode": "Machines-Spareparts-Sparks",
"CommodityCode": "84213100",
"_ContentList_Explanation": "If client product are not already created with texts, this import can be added to the product at creation.",
"ContentList": [
{
"_Explanation": "en-GB is default language for norce-public-demo, coming from the ERP it is the same as ErpName below.",
"CultureCode": "en-GB",
"Description": null,
"DescriptionHeader": null,
"IsUniqueUrlNameManuallyMaintained": "false",
"MetaDescription": null,
"MetaTags": null,
"Name": "Tändstift CMR6H",
"SubDescription": "Fits several models of clearing saws, chainsaws, hedge trimmers and leaf blowers",
"SubHeader": "see https://supplier/CMR6H for more",
"Synonyms": null,
"Tags": null,
"Title": null,
"UniqueUrlName": null
}
],
"EanCode": "087295133651",
"GrossWeight": 0,
"Images": null,
"LogisticDepth": null,
"LogisticHeight": null,
"LogisticWidth": null,
"MainImage": null,
"Manufacturer": "NGK",
"ManufacturerPartNo": "MfrPartNo{{importpartNo}}",
"NetWeight": 0,
"OnHand": [
{
"ExternalStockValue": null,
"IncomingValue": null,
"IsActive": true,
"IsReturnable": null,
"LeadTimeDayCount": null,
"LocationCode": "Standard",
"MinimumOrderValue": 1,
"Name": "Standard",
"NextDeliveryDate": null,
"PackageValue": 1,
"StoppedDate": null,
"Value": 120,
"WarehouseCode": "Standard"
}
],
"Parametrics": null,
"PriceList": [
{
"CostFee": null,
"CostPurchase": 2.11,
"CostPurchaseValidTo": null,
"CurrencyCode": "USD",
"DiscountPct": null,
"FreightCost": null,
"IsActive": true,
"IsFocus": null,
"IsPromotion": null,
"PriceCatalog": null,
"PriceDealer": null,
"PriceListCode": "spl_ngk_std",
"PriceMax": null,
"PriceRanking": null,
"PriceRecommended": null,
"QtyBreak": 1
}
],
"ProductInfo": null,
"ProductName": "Tändstift CMR6H",
"ProductType": null,
"SupplierPartNo": "Sup1PartNo{{importpartNo}}",
"_UnitOfMeasurementCode_Explanation": "Pieces=1",
"UnitOfMeasurementCode": 1,
"UnitOfMeasurementCount": 1,
"VatCode": 25
}
]

Order​

The order namespace contains all operations regarding orders, invoices, delivery notes etc.

Documentation portal:
https://docs.norce.io/api-reference/connect/orderservice/nc-latest/overview/

CancelOrder​

Examples of cancelorder calls

CancelOrder (Check)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Order/CancelOrder

Body:

{
"_comment": "Cancelling an order can also cancel payments. Not possible after payment is captured.",
"ClientOrderRef": {{updateBasketId}},
"ErpOrderNo": null,
"Payments": [
{
"PaymentCode": "100001",
"PaymentMethodCode": "pm_invoice",
"_PaymentRef_explanation": "PaymentRef is mandatory for cancelling payments. Everything else on the payment can be left out.",
"PaymentRef": null,
"Amount": 5406.25,
"CurrencyCode": "SEK"
}
]
}

CreateDeliveryNote​

Examples of createdeliverynote calls

CreateDeliveryNote​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Order/CreateDeliveryNote

Body:

{
"comment": "A delivery note is added, linked to the order. And status on the order is changed to 'Delivered' or 'Partly delivered'",
"DeliveryAddress": {
"Box": null,
"CareOf": null,
"City": "GuestCity",
"Country": "SE",
"Line1": "Gueststreet 1",
"Line2": null,
"Region": null,
"Type": null,
"ZipCode": "12345"
},
"DeliveryAttention": null,
"DeliveryDate": "2024-04-10",
"DeliveryMode": null,
"DeliveryName": "Guest Customer",
"DeliveryNoteItems": [
{
"Comment": null,
"Description": "Husqvarna 550 XPG Mark II Motorsåg 13''",
"Id": null,
"ItemNo": "100011",
"Qty": 1,
"RowNumber": 1
},
{
"Comment": null,
"Description": "Husqvarna Bränslefilter",
"Id": null,
"ItemNo": "100014",
"Qty": 2,
"RowNumber": 1
}
],
"DeliveryNotePackages": [
{
"Id": null,
"ParcelNumber": "123123123123123",
"StatusId": 4
}
],
"DivisionCode": null,
"IsPrinted": null,
"NoteNo": "{{updateDnotePrefix}}{{updateBasketId}}",
"NoteText": "Place outside door",
"OrderNo": "{{updateOrderPrefix}}{{updateBasketId}}",
"StatusId": 4
}

CreateInvoice​

Examples of createinvoice calls

CreateInvoice​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Order/CreateInvoice

Body:

{
"comment": "An invoice is added, linked to the order. And status on the order is changed to 'Invoiced' or 'Partly invoiced'",
"AddressLine1": "Gueststreet 1",
"AddressLine2": null,
"ApplicationKey": null,
"Attention": null,
"CareOf": null,
"City": "GuestCity",
"ClientOrderRef": 0,
"Comment": null,
"Country": "Sweden",
"CreditedInvoiceNo": null,
"CurrencyCode": "SEK",
"DeliveryDate": "2024-04-10",
"ErpOrderNo": "{{updateOrderPrefix}}{{updateBasketId}}",
"GroupCode": null,
"InvoiceDate": "2024-04-10",
"InvoiceDueDate": "2024-04-20",
"InvoiceNo": "{{updateInvoicePrefix}}{{updateBasketId}}",
"InvoiceRoundOff": 0,
"IsLastInvoiceForOrder": null,
"Items": [
{
"Description": "Husqvarna 550 XPG Mark II Motorsåg 13''",
"LineNo": 1,
"PartNo": "100011",
"Quantity": 1,
"UnitPrice": 4135.20,
"UnitVat": 1033.80,
"VatRate": 25
},
{
"Description": "Husqvarna Bränslefilter",
"LineNo": 2,
"PartNo": "100014",
"Quantity": 2,
"UnitPrice": 200,
"UnitVat": 50,
"VatRate": 25
},
{
"Description": "Freight fee",
"LineNo": 3,
"PartNo": "100000",
"Quantity": 1,
"UnitPrice": 100,
"UnitVat": 25,
"VatRate": 25
}
],
"Name": "Guest Customer",
"comment_Payment": "Invoice creation will fail for non-capture payment methods unless you pass in SuppressPspCall = true",
"Payment": {
"AdditionalInfo": null,
"Amount": 5794,
"CurrencyCode": "SEK",
"PaymentCode": 100000,
"PaymentMethodCode": "pm_invoice",
"PaymentRef": null
},
"SuppressPspCall": true,
"Vat": 1158.80,
"VatRoundOff": null,
"ZipCode": "12345"
}

CreditPayment​

Examples of creditpayment calls

CreditPayments​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Order/CreditPayment

Body:

{
"comment": "An credit request is added, linked to the order. And status on the order is changed to 'Credited' or 'Partly credited', only possible for order that is settled/invoiced.",
"AddressLine1": "Gueststreet 1",
"AddressLine2": null,
"ApplicationKey": null,
"Attention": null,
"CareOf": null,
"City": "GuestCity",
"ClientOrderRef": 0,
"Comment": null,
"Country": "Sweden",
"CreditedInvoiceNo": null,
"CurrencyCode": "SEK",
"DeliveryDate": "2024-04-10",
"ErpOrderNo": "{{updateOrderPrefix}}{{updateBasketId}}",
"GroupCode": null,
"InvoiceDate": "2024-04-10",
"InvoiceDueDate": "2024-04-20",
"InvoiceNo": "{{updateCreditPrefix}}{{updateBasketId}}",
"InvoiceRoundOff": 0,
"IsLastInvoiceForOrder": null,
"Items": [
{
"Description": "Husqvarna 550 XPG Mark II Motorsåg 13''",
"LineNo": 1,
"PartNo": "100011",
"Quantity": 1,
"UnitPrice": 4135.20,
"UnitVat": 1033.80,
"VatRate": 25
},
{
"Description": "Husqvarna Bränslefilter",
"LineNo": 2,
"PartNo": "100014",
"Quantity": 2,
"UnitPrice": 200,
"UnitVat": 50,
"VatRate": 25
},
{
"Description": "Freight fee",
"LineNo": 3,
"PartNo": "100000",
"Quantity": 1,
"UnitPrice": 100,
"UnitVat": 25,
"VatRate": 25
}
],
"Name": "Guest Customer",
"comment_Payment": "Credit invoice creation will fail for non-capture/creditable payment methods unless you pass in SuppressPspCall = true",
"Payment": {
"AdditionalInfo": null,
"Amount": 5794,
"CurrencyCode": "SEK",
"PaymentCode": 100000,
"PaymentMethodCode": "pm_invoice",
"PaymentRef": null
},
"SuppressPspCall": true,
"Vat": 1158.80,
"VatRoundOff": null,
"ZipCode": "12345"
}

SendOrderStatus​

Examples of sendorderstatus calls

SendOrderStatus (Confirmed)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Order/SendOrderStatus

Headers:

  • Content-Type: application/json

Body:

{
"AccountId": {{systemAccountId}},
"ClientOrderRef": {{updateBasketId}},
"ErpOrderNo": "{{updateOrderPrefix}}{{updateBasketId}}",
"OrderStatus": 2,
"_OrderStatus_Comment": "Common values are Confirmed (2), Delivered (4), Invoiced (5), Cancelled (6)",
"Infos": [
{
"Code": "oit_orderinformation",
"Value": "This is additional information from the ERP system back to Norce on the Order."
}
]
}

SendOrderStatus (Cancelled)​

Method: POST

URL: https://{{apihost}}/commerce/connect/4.0/Order/SendOrderStatus

Headers:

  • Content-Type: application/json

Body:

{
"AccountId": {{systemAccountId}},
"ClientOrderRef": {{updateBasketId}},
"ErpOrderNo": null,
"OrderStatus": 6,
"_OrderStatus_Comment": "Common values are Confirmed (2), Delivered (4), Invoiced (5), Cancelled (6)",
"Infos": [
{
"Code": "oit_orderinformation",
"Value": "Customer regretted purchase and the order was annulled in ERP."
}
]
}

OrderReceiver​

Examples of calls to an order receiver.

Use these to see how to implement your own order receiver. As well as testing and comparing your endpoint with this mock server.

Change the host variable OrderReceiverHost to your own path for testing and comparing.

The mock server has two extra input parameters to force the responses that you want to check out.
If you leave them out the response will be "Random".

Note, these parameters are NOT sent from Norce to order receivers in production or test enviroments.

You can set the parameters in postman in the pre-request script tab on the request examples.

The parameters are:
typeOfResponse

Allowed values:

  • OkWithoutErpNo Order is received and being processed, no retry will be activated. Status in Norce will be set to 'accepted'
  • OkWithErpNo Order is received and confirmed, Order number is returned from ERP, no retry will be activated. Status in Norce will be set to 'confirmed'
  • Failed Order is received but has a known issue, error handling i done by here, no retry will be activated. Status in Norce will be set to 'failed'
  • InternalServerError Order is not received, retry will be activated. Status in Norce will be unchanged
  • HttpStatus Play around with http status codes, using the statusCode parameter below
  • Random Will randomly return one of the responses above, except HttpStatus
  • Default If you leave out input parameters alltogether Random will be used

statusCode
This is applicable if the typeOfResponse is set to 'HttpStatus'
You must set this value to a valid HttpStatusCode see full list of allowed values here:
External link

Examples of values:

  • ServiceUnavailable
  • BadRequest
  • Forbidden
  • Unauthorized

Read more on how to implement your order receiver service here: https://docs.norce.io/orderreceiverimplementation/

B2C Order (xml) As in Production​

Method: POST

URL: https://{{mocktoolhost}}/MockOrderReceiver/api/PostOrder

Headers:

  • Content-Type: application/xml
  • Accept: application/xml

Body:

<OrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Enferno.Services.StormConnect.Contracts.Order">
<SellTo>
<Company />
<Person>
<CustomerCode>XXXXXXXXXXXXXXXX</CustomerCode>
<CompanyCode i:nil="true" />
<FirstName>Magnus</FirstName>
<LastName>Blombergsson</LastName>
<JobTitle i:nil="true" />
<PrivatePhone>070111111</PrivatePhone>
<CellPhone>070111111</CellPhone>
<WorkPhone i:nil="true" />
<Email>someone@hotmail</Email>
<SSN />
<Address>
<Type i:nil="true" />
<Line1>Sell here</Line1>
<Line2 i:nil="true" />
<Box />
<ZipCode>11111</ZipCode>
<City>Stockholm</City>
<Region i:nil="true" />
<Country>SE</Country>
<CareOf i:nil="true" />
</Address>
<AdditionalInfo />
<IsActive i:nil="true" />
</Person>
</SellTo>
<BillTo>
<Company />
<Person>
<CustomerCode>2000032</CustomerCode>
<CompanyCode i:nil="true" />
<FirstName>Magnus</FirstName>
<LastName>Blombergsson</LastName>
<JobTitle i:nil="true" />
<PrivatePhone>070111111</PrivatePhone>
<CellPhone>070111111</CellPhone>
<WorkPhone i:nil="true" />
<Email>someone@hotmail</Email>
<SSN />
<Address>
<Type i:nil="true" />
<Line1>Bill here</Line1>
<Line2 i:nil="true" />
<Box />
<ZipCode>11111</ZipCode>
<City>Stockholm</City>
<Region i:nil="true" />
<Country>SE</Country>
<CareOf i:nil="true" />
</Address>
<AdditionalInfo />
<IsActive i:nil="true" />
</Person>
</BillTo>
<ShipTo>
<Company />
<Person>
<CustomerCode>2000032</CustomerCode>
<CompanyCode i:nil="true" />
<FirstName>Magnus</FirstName>
<LastName>Blombergsson</LastName>
<JobTitle i:nil="true" />
<PrivatePhone>070111111</PrivatePhone>
<CellPhone>070111111</CellPhone>
<WorkPhone i:nil="true" />
<Email>someone@hotmail</Email>
<SSN />
<Address>
<Type i:nil="true" />
<Line1>Deliver here</Line1>
<Line2 i:nil="true" />
<Box />
<ZipCode>11111</ZipCode>
<City>Stockholm</City>
<Region i:nil="true" />
<Country>SE</Country>
<CareOf i:nil="true" />
</Address>
<AdditionalInfo />
<IsActive i:nil="true" />
</Person>
</ShipTo>
<SalesContactCode i:nil="true" />
<SalesContactDivision />
<DoHold>false</DoHold>
<ClientOrderRef>5670588</ClientOrderRef>
<ErpOrderNo />
<CustomerOrderRef />
<CustomerOrderComment />
<SubmitDate>2017-02-23T08:56:59.424326+01:00</SubmitDate>
<CurrencyCode>SEK</CurrencyCode>
<ReferId i:nil="true" />
<Payments>
<Payment>
<PaymentCode>14221</PaymentCode>
<PaymentMethodCode>Klarna</PaymentMethodCode>
<PaymentRef>XXXXXXXXXXXXXXXX</PaymentRef>
<Amount>572.50</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
</Payments>
<Discounts />
<ShippingAdvice>
<DeliveryMethodCode>DHL</DeliveryMethodCode>
<DoSMSNotify>true</DoSMSNotify>
<PickupStore>
<Code>XXX</Code>
<Name>Hemköp Järfälla</Name>
<IsDropPoint>true</IsDropPoint>
<Address />
</PickupStore>
<IsFeeChargedOnce>true</IsFeeChargedOnce>
<IsComplete>true</IsComplete>
<ShipAdvisorOrderCode i:nil="true" />
</ShippingAdvice>
<Items>
<OrderItem>
<LineNo>1</LineNo>
<ParentLineNo i:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>ABC123</PartNo>
<ErpPartNo>ABC123</ErpPartNo>
<InternalProductId>28928524</InternalProductId>
<Description>Exempel på artikel: Färg med kulör</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>458.00</UnitPrice>
<UnitPriceOriginal>458.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>114.5000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value>XXXXXXXXXXXXXXXX</Value>
</Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>false</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value>S 1050-R90B</Value>
</Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value i:nil="true"/></Value>
</AdditionalInfo>
</OrderItem>
<OrderItem>
<LineNo>2</LineNo>
<ParentLineNo i:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>ABC124</PartNo>
<ErpPartNo>ABC124</ErpPartNo>
<InternalProductId>28928525</InternalProductId>
<Description>Exempel på artikel: Tillbehör</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>458.00</UnitPrice>
<UnitPriceOriginal>458.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>114.5000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value>XXXXXXXXXXXXXXXX</Value>
</Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>false</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value i:nil="true"/></Value>
</AdditionalInfo>
</OrderItem>
<OrderItem>
<LineNo>3</LineNo>
<ParentLineNo i:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>ABC125</PartNo>
<ErpPartNo>ABC125</ErpPartNo>
<InternalProductId>28928525</InternalProductId>
<Description>Exempel på artikel: Tapetprov</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>458.00</UnitPrice>
<UnitPriceOriginal>458.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>114.5000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value>XXXXXXXXXXXXXXXX</Value>
</Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>true</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value>ABC130</Value>
</Value>
</AdditionalInfo>
</OrderItem>
<OrderItem>
<LineNo>4</LineNo>
<ParentLineNo i:nil="true" />
<Type>Extended</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>ABC130</PartNo>
<ErpPartNo>ABC130</ErpPartNo>
<InternalProductId>28928525</InternalProductId>
<Description>Exempel på artikel: Tapet (not in store, ordered from supplier)</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>458.00</UnitPrice>
<UnitPriceOriginal>458.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>114.5000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value>XXXXXXXXXXXXXXXX</Value>
</Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>false</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value i:nil="true"/></Value>
</AdditionalInfo>
</OrderItem>
<OrderItem>
<LineNo>5</LineNo>
<ParentLineNo i:nil="true" />
<Type>Freight</Type>
<TypeGroup>Fee</TypeGroup>
<PartNo>ABC127</PartNo>
<ErpPartNo>ABC127</ErpPartNo>
<InternalProductId>28928527</InternalProductId>
<Description>Exempel på artikel: Freight</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>100.00</UnitPrice>
<UnitPriceOriginal>100.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>25.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>false</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value i:nil="true"/></Value>
</AdditionalInfo>
</OrderItem>
</Items>
<Fees />
<AdditionalInfo>
<Value>
<Id>69</Id>
<Code>StoreCode</Code>
<Value>Central</Value>
</Value>
</AdditionalInfo>
<Header>
<ApplicationKey>00000000-0000-0000-0000-000000000000</ApplicationKey>
</Header>
<OrderType>Order</OrderType>
</OrderRequest>

B2C Order (xml)​

Method: POST

URL: https://{{mocktoolhost}}/MockOrderReceiver/api/PostOrder?typeOfResponse={{OrderResponseType}}&statusCode={{OrderResponseStatusCode}}

Headers:

  • Content-Type: application/xml
  • Accept: application/xml

Body:

<OrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Enferno.Services.StormConnect.Contracts.Order">
<SellTo>
<Company />
<Person>
<CustomerCode>XXXXXXXXXXXXXXXX</CustomerCode>
<CompanyCode i:nil="true" />
<FirstName>Magnus</FirstName>
<LastName>Blombergsson</LastName>
<JobTitle i:nil="true" />
<PrivatePhone>070111111</PrivatePhone>
<CellPhone>070111111</CellPhone>
<WorkPhone i:nil="true" />
<Email>someone@hotmail</Email>
<SSN />
<Address>
<Type i:nil="true" />
<Line1>Sell here</Line1>
<Line2 i:nil="true" />
<Box />
<ZipCode>11111</ZipCode>
<City>Stockholm</City>
<Region i:nil="true" />
<Country>SE</Country>
<CareOf i:nil="true" />
</Address>
<AdditionalInfo />
<IsActive i:nil="true" />
</Person>
</SellTo>
<BillTo>
<Company />
<Person>
<CustomerCode>2000032</CustomerCode>
<CompanyCode i:nil="true" />
<FirstName>Magnus</FirstName>
<LastName>Blombergsson</LastName>
<JobTitle i:nil="true" />
<PrivatePhone>070111111</PrivatePhone>
<CellPhone>070111111</CellPhone>
<WorkPhone i:nil="true" />
<Email>someone@hotmail</Email>
<SSN />
<Address>
<Type i:nil="true" />
<Line1>Bill here</Line1>
<Line2 i:nil="true" />
<Box />
<ZipCode>11111</ZipCode>
<City>Stockholm</City>
<Region i:nil="true" />
<Country>SE</Country>
<CareOf i:nil="true" />
</Address>
<AdditionalInfo />
<IsActive i:nil="true" />
</Person>
</BillTo>
<ShipTo>
<Company />
<Person>
<CustomerCode>2000032</CustomerCode>
<CompanyCode i:nil="true" />
<FirstName>Magnus</FirstName>
<LastName>Blombergsson</LastName>
<JobTitle i:nil="true" />
<PrivatePhone>070111111</PrivatePhone>
<CellPhone>070111111</CellPhone>
<WorkPhone i:nil="true" />
<Email>someone@hotmail</Email>
<SSN />
<Address>
<Type i:nil="true" />
<Line1>Deliver here</Line1>
<Line2 i:nil="true" />
<Box />
<ZipCode>11111</ZipCode>
<City>Stockholm</City>
<Region i:nil="true" />
<Country>SE</Country>
<CareOf i:nil="true" />
</Address>
<AdditionalInfo />
<IsActive i:nil="true" />
</Person>
</ShipTo>
<SalesContactCode i:nil="true" />
<SalesContactDivision />
<DoHold>false</DoHold>
<ClientOrderRef>5670588</ClientOrderRef>
<ErpOrderNo />
<CustomerOrderRef />
<CustomerOrderComment />
<SubmitDate>2017-02-23T08:56:59.424326+01:00</SubmitDate>
<CurrencyCode>SEK</CurrencyCode>
<ReferId i:nil="true" />
<Payments>
<Payment>
<PaymentCode>14221</PaymentCode>
<PaymentMethodCode>Klarna</PaymentMethodCode>
<PaymentRef>XXXXXXXXXXXXXXXX</PaymentRef>
<Amount>572.50</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
</Payments>
<Discounts />
<ShippingAdvice>
<DeliveryMethodCode>DHL</DeliveryMethodCode>
<DoSMSNotify>true</DoSMSNotify>
<PickupStore>
<Code>XXX</Code>
<Name>Hemköp Järfälla</Name>
<IsDropPoint>true</IsDropPoint>
<Address />
</PickupStore>
<IsFeeChargedOnce>true</IsFeeChargedOnce>
<IsComplete>true</IsComplete>
<ShipAdvisorOrderCode i:nil="true" />
</ShippingAdvice>
<Items>
<OrderItem>
<LineNo>1</LineNo>
<ParentLineNo i:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>ABC123</PartNo>
<ErpPartNo>ABC123</ErpPartNo>
<InternalProductId>28928524</InternalProductId>
<Description>Exempel på artikel: Färg med kulör</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>458.00</UnitPrice>
<UnitPriceOriginal>458.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>114.5000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value>XXXXXXXXXXXXXXXX</Value>
</Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>false</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value>S 1050-R90B</Value>
</Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value i:nil="true"/></Value>
</AdditionalInfo>
</OrderItem>
<OrderItem>
<LineNo>2</LineNo>
<ParentLineNo i:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>ABC124</PartNo>
<ErpPartNo>ABC124</ErpPartNo>
<InternalProductId>28928525</InternalProductId>
<Description>Exempel på artikel: Tillbehör</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>458.00</UnitPrice>
<UnitPriceOriginal>458.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>114.5000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value>XXXXXXXXXXXXXXXX</Value>
</Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>false</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value i:nil="true"/></Value>
</AdditionalInfo>
</OrderItem>
<OrderItem>
<LineNo>3</LineNo>
<ParentLineNo i:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>ABC125</PartNo>
<ErpPartNo>ABC125</ErpPartNo>
<InternalProductId>28928525</InternalProductId>
<Description>Exempel på artikel: Tapetprov</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>458.00</UnitPrice>
<UnitPriceOriginal>458.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>114.5000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value>XXXXXXXXXXXXXXXX</Value>
</Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>true</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value>ABC130</Value>
</Value>
</AdditionalInfo>
</OrderItem>
<OrderItem>
<LineNo>4</LineNo>
<ParentLineNo i:nil="true" />
<Type>Extended</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>ABC130</PartNo>
<ErpPartNo>ABC130</ErpPartNo>
<InternalProductId>28928525</InternalProductId>
<Description>Exempel på artikel: Tapet (not in store, ordered from supplier)</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>458.00</UnitPrice>
<UnitPriceOriginal>458.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>114.5000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value>XXXXXXXXXXXXXXXX</Value>
</Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>false</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value i:nil="true"/></Value>
</AdditionalInfo>
</OrderItem>
<OrderItem>
<LineNo>5</LineNo>
<ParentLineNo i:nil="true" />
<Type>Freight</Type>
<TypeGroup>Fee</TypeGroup>
<PartNo>ABC127</PartNo>
<ErpPartNo>ABC127</ErpPartNo>
<InternalProductId>28928527</InternalProductId>
<Description>Exempel på artikel: Freight</Description>
<Quantity>1</Quantity>
<UnitOfMeasure i:nil="true" />
<UnitPrice>100.00</UnitPrice>
<UnitPriceOriginal>100.00</UnitPriceOriginal>
<Discount>0.00</Discount>
<UnitVat>25.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment i:nil="true" />
<PriceLists />
<Promotions />
<AdditionalInfo>
<Value>
<Id>65</Id>
<Code>EAN</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>66</Id>
<Code>Sample</Code>
<Value>false</Value>
</Value>
<Value>
<Id>67</Id>
<Code>NCS</Code>
<Value i:nil="true"/></Value>
<Value>
<Id>68</Id>
<Code>SampleOfPartNo</Code>
<Value i:nil="true"/></Value>
</AdditionalInfo>
</OrderItem>
</Items>
<Fees />
<AdditionalInfo>
<Value>
<Id>69</Id>
<Code>StoreCode</Code>
<Value>Central</Value>
</Value>
</AdditionalInfo>
<Header>
<ApplicationKey>00000000-0000-0000-0000-000000000000</ApplicationKey>
</Header>
<OrderType>Order</OrderType>
</OrderRequest>

B2C Order (Json)​

Method: POST

URL: https://{{mocktoolhost}}/MockOrderReceiver/api/PostOrder?typeOfResponse={{OrderResponseType}}&statusCode={{OrderResponseStatusCode}}

Headers:

  • Content-Type: application/json
  • Accept: application/json

Body:

{
"SellTo": {
"Company": null,
"Person": {
"CustomerCode": "XXXXXXXXXXXXXXXX",
"CompanyCode": null,
"FirstName": "Magnus",
"LastName": "Blombergsson",
"JobTitle": null,
"PrivatePhone": "070111111",
"CellPhone": "070111111",
"WorkPhone": null,
"Email": "someone@hotmail",
"Address": {
"Type": null,
"Line1": "Sell here",
"Line2": null,
"ZipCode": "11111",
"City": "Stockholm",
"Region": null,
"Country": "SE",
"CareOf": null
},
"IsActive": null
}
},
"BillTo": {
"Person": {
"CustomerCode": "2000032",
"CompanyCode": null,
"FirstName": "Magnus",
"LastName": "Blombergsson",
"JobTitle": null,
"PrivatePhone": "070111111",
"CellPhone": "070111111",
"WorkPhone": null,
"Email": "someone@hotmail",
"Address": {
"Type": null,
"Line1": "Bill here",
"Line2": null,
"ZipCode": "11111",
"City": "Stockholm",
"Region": null,
"Country": "SE",
"CareOf": null
},
"IsActive": null
}
},
"ShipTo": {
"Person": {
"CustomerCode": "2000032",
"CompanyCode": null,
"FirstName": "Magnus",
"LastName": "Blombergsson",
"JobTitle": null,
"PrivatePhone": "070111111",
"CellPhone": "070111111",
"WorkPhone": null,
"Email": "someone@hotmail",
"Address": {
"Type": null,
"Line1": "Deliver here",
"Line2": null,
"ZipCode": "11111",
"City": "Stockholm",
"Region": null,
"Country": "SE",
"CareOf": null
},
"IsActive": null
}
},
"SalesContactCode": null,
"DoHold": "false",
"ClientOrderRef": "5670588",
"SubmitDate": "2017-02-23T08:56:59.424326+01:00",
"CurrencyCode": "SEK",
"ReferId": null,
"Payments": {
"Payment": {
"PaymentCode": "14221",
"PaymentMethodCode": "Klarna",
"PaymentRef": "XXXXXXXXXXXXXXXX",
"Amount": "572.50",
"CurrencyCode": "SEK"
}
},
"ShippingAdvice": {
"DeliveryMethodCode": "DHL",
"DoSMSNotify": "true",
"PickupStore": {
"Code": "XXX",
"Name": "Hemköp Järfälla",
"IsDropPoint": "true"
},
"IsFeeChargedOnce": "true",
"IsComplete": "true",
"ShipAdvisorOrderCode": null
},
"Items": {
"OrderItem": [
{
"LineNo": "1",
"ParentLineNo": null,
"Type": "ErpStandard",
"TypeGroup": "Physical",
"PartNo": "ABC123",
"ErpPartNo": "ABC123",
"InternalProductId": "28928524",
"Description": "Exempel på artikel: Färg med kulör",
"Quantity": "1",
"UnitOfMeasure": null,
"UnitPrice": "458.00",
"UnitPriceOriginal": "458.00",
"Discount": "0.00",
"UnitVat": "114.5000",
"PriceListNo": "1",
"VatRate": "25.00",
"Comment": null,
"AdditionalInfo": {
"Value": [
{
"Id": "65",
"Code": "EAN",
"Value": "XXXXXXXXXXXXXXXX"
},
{
"Id": "66",
"Code": "Sample",
"Value": "false"
},
{
"Id": "67",
"Code": "NCS",
"Value": "S 1050-R90B"
},
{
"Id": "68",
"Code": "SampleOfPartNo",
"Value": null
}
]
}
},
{
"LineNo": "2",
"ParentLineNo": null,
"Type": "ErpStandard",
"TypeGroup": "Physical",
"PartNo": "ABC124",
"ErpPartNo": "ABC124",
"InternalProductId": "28928525",
"Description": "Exempel på artikel: Tillbehör",
"Quantity": "1",
"UnitOfMeasure": null,
"UnitPrice": "458.00",
"UnitPriceOriginal": "458.00",
"Discount": "0.00",
"UnitVat": "114.5000",
"PriceListNo": "1",
"VatRate": "25.00",
"Comment": null,
"AdditionalInfo": {
"Value": [
{
"Id": "65",
"Code": "EAN",
"Value": "XXXXXXXXXXXXXXXX"
},
{
"Id": "66",
"Code": "Sample",
"Value": "false"
},
{
"Id": "67",
"Code": "NCS",
"Value": null
},
{
"Id": "68",
"Code": "SampleOfPartNo",
"Value": null
}
]
}
},
{
"LineNo": "3",
"ParentLineNo": null,
"Type": "ErpStandard",
"TypeGroup": "Physical",
"PartNo": "ABC125",
"ErpPartNo": "ABC125",
"InternalProductId": "28928525",
"Description": "Exempel på artikel: Tapetprov",
"Quantity": "1",
"UnitOfMeasure": null,
"UnitPrice": "458.00",
"UnitPriceOriginal": "458.00",
"Discount": "0.00",
"UnitVat": "114.5000",
"PriceListNo": "1",
"VatRate": "25.00",
"Comment": null,
"AdditionalInfo": {
"Value": [
{
"Id": "65",
"Code": "EAN",
"Value": "XXXXXXXXXXXXXXXX"
},
{
"Id": "66",
"Code": "Sample",
"Value": "true"
},
{
"Id": "67",
"Code": "NCS",
"Value": null
},
{
"Id": "68",
"Code": "SampleOfPartNo",
"Value": "ABC130"
}
]
}
},
{
"LineNo": "4",
"ParentLineNo": null,
"Type": "Extended",
"TypeGroup": "Physical",
"PartNo": "ABC130",
"ErpPartNo": "ABC130",
"InternalProductId": "28928525",
"Description": "Exempel på artikel: Tapet (not in store, ordered from supplier)",
"Quantity": "1",
"UnitOfMeasure": null,
"UnitPrice": "458.00",
"UnitPriceOriginal": "458.00",
"Discount": "0.00",
"UnitVat": "114.5000",
"PriceListNo": "1",
"VatRate": "25.00",
"Comment": null,
"AdditionalInfo": {
"Value": [
{
"Id": "65",
"Code": "EAN",
"Value": "XXXXXXXXXXXXXXXX"
},
{
"Id": "66",
"Code": "Sample",
"Value": "false"
},
{
"Id": "67",
"Code": "NCS",
"Value": null
},
{
"Id": "68",
"Code": "SampleOfPartNo",
"Value": null
}
]
}
},
{
"LineNo": "5",
"ParentLineNo": null,
"Type": "Freight",
"TypeGroup": "Fee",
"PartNo": "ABC127",
"ErpPartNo": "ABC127",
"InternalProductId": "28928527",
"Description": "Exempel på artikel: Freight",
"Quantity": "1",
"UnitOfMeasure": null,
"UnitPrice": "100.00",
"UnitPriceOriginal": "100.00",
"Discount": "0.00",
"UnitVat": "25.0000",
"PriceListNo": "1",
"VatRate": "25.00",
"Comment": null,
"AdditionalInfo": {
"Value": [
{
"Id": "65",
"Code": "EAN",
"Value": null
},
{
"Id": "66",
"Code": "Sample",
"Value": "false"
},
{
"Id": "67",
"Code": "NCS",
"Value": null
},
{
"Id": "68",
"Code": "SampleOfPartNo",
"Value": null
}
]
}
}
]
},
"AdditionalInfo": {
"Value": {
"Id": "69",
"Code": "StoreCode",
"Value": "Central"
}
},
"Header": {
"ApplicationKey": "00000000-0000-0000-0000-000000000000"
},
"OrderType": "Order"
}

B2C Order with 2 giftcards (xml)​

Method: POST

URL: https://{{mocktoolhost}}/MockOrderReceiver/api/PostOrder?typeOfResponse={{OrderResponseType}}&statusCode={{OrderResponseStatusCode}}

Headers:

  • Content-Type: application/xml
  • Accept: application/xml

Body:

<OrderRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="Enferno.Services.StormConnect.Contracts.Order">
<SellTo>
<Person>
<FirstName>Clara</FirstName>
<LastName>Test</LastName>
<PrivatePhone>23123123123</PrivatePhone>
<CellPhone>123123123</CellPhone>
<Email>clara.test@storm.io</Email>
<Address>
<Line1>Testgatan 20</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Huddinge</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</SellTo>
<BillTo>
<Person>
<FirstName>Clara</FirstName>
<LastName>Test</LastName>
<PrivatePhone>23123123123</PrivatePhone>
<CellPhone>123123123</CellPhone>
<Email>clara.test@storm.io</Email>
<Address>
<Line1>Testgatan 20</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Huddinge</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</BillTo>
<ShipTo>
<Person>
<FirstName>Clara</FirstName>
<LastName>Test</LastName>
<PrivatePhone>23123123123</PrivatePhone>
<CellPhone>123123123</CellPhone>
<Email>clara.test@storm.io</Email>
<Address>
<Line1>Testgatan 20</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Huddinge</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</ShipTo>
<SalesContactDivision />
<DoHold>false</DoHold>
<ClientOrderRef>6207921</ClientOrderRef>
<ErpOrderNo></ErpOrderNo>
<SubmitDate>2018-11-30T14:44:30.9873032+01:00</SubmitDate>
<CurrencyCode>SEK</CurrencyCode>
<ReferId xsi:nil="true" />
<Payments>
<Payment>
<PaymentCode>13891</PaymentCode>
<PaymentMethodCode>KCOSERD</PaymentMethodCode>
<PaymentRef>df8de80e-585c-4ab1-84e9-dae4d5067867</PaymentRef>
<Amount>0</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
<Payment>
<PaymentCode>13893</PaymentCode>
<PaymentMethodCode>GC</PaymentMethodCode>
<PaymentRef>836cff50-f47f-410c-8b07-000000038350</PaymentRef>
<Amount>5000</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
<Payment>
<PaymentCode>13895</PaymentCode>
<PaymentMethodCode>GC</PaymentMethodCode>
<PaymentRef>4e50a202-c331-401c-a64d-000000038351</PaymentRef>
<Amount>346.50000</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
</Payments>
<Discounts />
<ShippingAdvice>
<DeliveryMethodCode>a_004</DeliveryMethodCode>
<DoSMSNotify>true</DoSMSNotify>
<PickupStore>
<Code>SE-948800</Code>
<IsDropPoint>true</IsDropPoint>
<Address>
<Country>SE</Country>
</Address>
</PickupStore>
<IsFeeChargedOnce>true</IsFeeChargedOnce>
<IsComplete>true</IsComplete>
</ShippingAdvice>
<Items>
<OrderItem>
<LineNo>1</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>183201</PartNo>
<ErpPartNo>183201</ErpPartNo>
<InternalProductId>31866778</InternalProductId>
<Description>Ernst Förkläde</Description>
<Quantity>1</Quantity>
<UnitOfMeasure>st</UnitOfMeasure>
<UnitPrice>238.0000</UnitPrice>
<UnitPriceOriginal>238.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>59.5000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>238.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>2</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Standard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>178354</PartNo>
<ErpPartNo>178354</ErpPartNo>
<InternalProductId>31617113</InternalProductId>
<Description>Tapis Beige Rayé Matta 170x240cm, Beige/Blå</Description>
<Quantity>1</Quantity>
<UnitOfMeasure>st</UnitOfMeasure>
<UnitPrice>3080.0000</UnitPrice>
<UnitPriceOriginal>3080.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>770.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>3080.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>3</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>205684</PartNo>
<ErpPartNo>205684</ErpPartNo>
<InternalProductId>31868361</InternalProductId>
<Description>Key Filt 130x180cm, Salty Sea</Description>
<Quantity>1</Quantity>
<UnitOfMeasure>st</UnitOfMeasure>
<UnitPrice>959.2000</UnitPrice>
<UnitPriceOriginal>959.2000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>239.8000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>959.20</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>4</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Freight</Type>
<TypeGroup>Fee</TypeGroup>
<PartNo>freight</PartNo>
<ErpPartNo>freight</ErpPartNo>
<InternalProductId>31671634</InternalProductId>
<Description>Frakt</Description>
<Quantity>1</Quantity>
<UnitOfMeasure />
<UnitPrice>0.0000</UnitPrice>
<UnitPriceOriginal>0.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>0.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>0.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
</Items>
<Fees />
<AdditionalInfo>
<CodeValue>
<Id>170</Id>
<Code />
<Value />
</CodeValue>
<CodeValue>
<Id>188</Id>
<Code>DeliveryOptionId</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>189</Id>
<Code>AgentAddressId</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<Header>
<ApplicationKey>10000000-0000-0000-0000-000000000000</ApplicationKey>
</Header>
<OrderType>Order</OrderType>
</OrderRequest>

B2C Order with campaign pricelist (xml)​

Method: POST

URL: https://{{mocktoolhost}}/MockOrderReceiver/api/PostOrder?typeOfResponse={{OrderResponseType}}&statusCode={{OrderResponseStatusCode}}

Headers:

  • Content-Type: application/xml
  • Accept: application/xml

Body:

<OrderRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="Enferno.Services.StormConnect.Contracts.Order">
<SellTo>
<Person>
<FirstName>Andreas</FirstName>
<LastName>Test</LastName>
<PrivatePhone>123123123</PrivatePhone>
<CellPhone>123123123</CellPhone>
<Email>andreas.test@test.com</Email>
<Address>
<Line1>Testgatan 1</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Kalmar</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</SellTo>
<BillTo>
<Person>
<FirstName>Andreas</FirstName>
<LastName>Test</LastName>
<PrivatePhone>123123123</PrivatePhone>
<CellPhone>123123123</CellPhone>
<Email>andreas.test@test.com</Email>
<Address>
<Line1>Testgatan 1</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Kalmar</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</BillTo>
<ShipTo>
<Person>
<FirstName>Andreas</FirstName>
<LastName>Test</LastName>
<PrivatePhone>123123123</PrivatePhone>
<CellPhone>123123123</CellPhone>
<Email>andreas.test@test.com</Email>
<Address>
<Line1>Testgatan 1</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Kalmar</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</ShipTo>
<SalesContactDivision />
<DoHold>false</DoHold>
<ClientOrderRef>6206979</ClientOrderRef>
<ErpOrderNo></ErpOrderNo>
<SubmitDate>2018-11-15T14:14:20.5940007+01:00</SubmitDate>
<CurrencyCode>SEK</CurrencyCode>
<ReferId xsi:nil="true" />
<Payments>
<Payment>
<PaymentCode>13634</PaymentCode>
<PaymentMethodCode>KCOSERD</PaymentMethodCode>
<PaymentRef>2df4d7f9-1eaa-490e-a995-e1e34ebf557d</PaymentRef>
<Amount>3450</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
</Payments>
<Discounts />
<ShippingAdvice>
<DeliveryMethodCode>a_001</DeliveryMethodCode>
<DoSMSNotify>true</DoSMSNotify>
<IsFeeChargedOnce>true</IsFeeChargedOnce>
<IsComplete>true</IsComplete>
</ShippingAdvice>
<Items>
<OrderItem>
<LineNo>1</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>1698</PartNo>
<ErpPartNo>1698</ErpPartNo>
<InternalProductId>31828218</InternalProductId>
<Description>Intermezzo Blå Champagneglas 26 cl</Description>
<Quantity>1</Quantity>
<UnitPrice>319.2000</UnitPrice>
<UnitPriceOriginal>319.2000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>79.8000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>319.20</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>2</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Standard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>169809</PartNo>
<ErpPartNo>169809</ErpPartNo>
<InternalProductId>31617092</InternalProductId>
<Description>Loft Sängskåp TC1, Svart/Grön Marmor</Description>
<Quantity>1</Quantity>
<UnitPrice>2401.6000</UnitPrice>
<UnitPriceOriginal>2401.6000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>600.4000</UnitVat>
<PriceListNo>4774</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>3695.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
<PriceListItem>
<PriceListName>Pilot 50%</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>1847.20</UnitPrice>
<IsStandardPriceList>false</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>3</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Freight</Type>
<TypeGroup>Fee</TypeGroup>
<PartNo>freight</PartNo>
<ErpPartNo>freight</ErpPartNo>
<InternalProductId>31671634</InternalProductId>
<Description>Frakt</Description>
<Quantity>1</Quantity>
<UnitPrice>39.2000</UnitPrice>
<UnitPriceOriginal>39.2000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>9.8000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>0.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
</Items>
<Fees />
<AdditionalInfo>
<CodeValue>
<Id>170</Id>
<Code />
<Value />
</CodeValue>
<CodeValue>
<Id>188</Id>
<Code>DeliveryOptionId</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>189</Id>
<Code>AgentAddressId</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<Header>
<ApplicationKey>10000000-0000-0000-0000-000000000000</ApplicationKey>
</Header>
<OrderType>Order</OrderType>
</OrderRequest>

B2C Order with 1 promotion (xml)​

Method: POST

URL: https://{{mocktoolhost}}/MockOrderReceiver/api/PostOrder?typeOfResponse={{OrderResponseType}}&statusCode={{OrderResponseStatusCode}}

Headers:

  • Content-Type: application/xml
  • Accept: application/xml

Body:

<OrderRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="Enferno.Services.StormConnect.Contracts.Order">
<SellTo>
<Person>
<FirstName>Robert</FirstName>
<LastName>Test</LastName>
<PrivatePhone>123123123</PrivatePhone>
<CellPhone>123123123</CellPhone>
<Email>robert@test.se</Email>
<Address>
<Line1>Testgatan 94</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Stockholm</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</SellTo>
<BillTo>
<Person>
<FirstName>Robert</FirstName>
<LastName>Test</LastName>
<PrivatePhone>123123123</PrivatePhone>
<CellPhone>123123123</CellPhone>
<Email>robert@test.se</Email>
<Address>
<Line1>Testgatan 94</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Stockholm</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</BillTo>
<ShipTo>
<Person>
<FirstName>Robert</FirstName>
<LastName>Test</LastName>
<PrivatePhone>123123123</PrivatePhone>
<CellPhone>123123123</CellPhone>
<Email>robert@test.se</Email>
<Address>
<Line1>Testgatan 94</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Stockholm</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</ShipTo>
<SalesContactDivision />
<DoHold>false</DoHold>
<ClientOrderRef>6204411</ClientOrderRef>
<ErpOrderNo></ErpOrderNo>
<SubmitDate>2018-10-04T20:31:46.1093924+02:00</SubmitDate>
<CurrencyCode>SEK</CurrencyCode>
<ReferId xsi:nil="true" />
<Payments>
<Payment>
<PaymentCode>13038</PaymentCode>
<PaymentMethodCode>KCOSERD</PaymentMethodCode>
<PaymentRef>992053e6-f76f-4150-aee7-3b4bbb448aa0</PaymentRef>
<Amount>1100.63</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
</Payments>
<Discounts />
<ShippingAdvice>
<DeliveryMethodCode>a_004</DeliveryMethodCode>
<DoSMSNotify>true</DoSMSNotify>
<IsFeeChargedOnce>true</IsFeeChargedOnce>
<IsComplete>true</IsComplete>
</ShippingAdvice>
<Items>
<OrderItem>
<LineNo>1</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Standard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>199659</PartNo>
<ErpPartNo>199659</ErpPartNo>
<InternalProductId>31861174</InternalProductId>
<Description>Basic Ostronskål Large Ø31cm, Grå</Description>
<Quantity>1</Quantity>
<UnitPrice>600.0000</UnitPrice>
<UnitPriceOriginal>600.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>150.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>600.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>2</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Standard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>171002</PartNo>
<ErpPartNo>171002</ErpPartNo>
<InternalProductId>31713799</InternalProductId>
<Description>Walls Spegel 50 cm, Klar</Description>
<Quantity>1</Quantity>
<UnitPrice>280.5040</UnitPrice>
<UnitPriceOriginal>374.0000</UnitPriceOriginal>
<Discount>93.4960</Discount>
<UnitVat>70.1260</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>374.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions>
<Promotion>
<Id>4389</Id>
<Name>Housedoctor</Name>
<DiscountCode>HOUSEDOCTOR25</DiscountCode>
<AppliedAmount>93.496</AppliedAmount>
</Promotion>
</Promotions>
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>3</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Freight</Type>
<TypeGroup>Fee</TypeGroup>
<PartNo>freight</PartNo>
<ErpPartNo>freight</ErpPartNo>
<InternalProductId>31671634</InternalProductId>
<Description>Frakt</Description>
<Quantity>1</Quantity>
<UnitPrice>0.0000</UnitPrice>
<UnitPriceOriginal>0.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>0.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>0.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
</Items>
<Fees />
<AdditionalInfo>
<CodeValue>
<Id>170</Id>
<Code />
<Value />
</CodeValue>
<CodeValue>
<Id>188</Id>
<Code>DeliveryOptionId</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>189</Id>
<Code>AgentAddressId</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<Header>
<ApplicationKey>10000000-0000-0000-0000-000000000000</ApplicationKey>
</Header>
<OrderType>Order</OrderType>
</OrderRequest>

B2C Order with 2 promotions (xml)​

Method: POST

URL: https://{{mocktoolhost}}/MockOrderReceiver/api/PostOrder?typeOfResponse={{OrderResponseType}}&statusCode={{OrderResponseStatusCode}}

Headers:

  • Content-Type: application/xml
  • Accept: application/xml

Body:

<OrderRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="Enferno.Services.StormConnect.Contracts.Order">
<SellTo>
<Person>
<FirstName>Robert</FirstName>
<LastName>Test</LastName>
<PrivatePhone>123123123123</PrivatePhone>
<CellPhone>12312312312</CellPhone>
<Email>robert@test.se</Email>
<Address>
<Line1>Testgatan 94</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Stockholm</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</SellTo>
<BillTo>
<Person>
<FirstName>Robert</FirstName>
<LastName>Test</LastName>
<PrivatePhone>123123123123</PrivatePhone>
<CellPhone>12312312312</CellPhone>
<Email>robert@test.se</Email>
<Address>
<Line1>Testgatan 94</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Stockholm</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</BillTo>
<ShipTo>
<Person>
<FirstName>Robert</FirstName>
<LastName>Test</LastName>
<PrivatePhone>123123123123</PrivatePhone>
<CellPhone>12312312312</CellPhone>
<Email>robert@test.se</Email>
<Address>
<Line1>Testgatan 94</Line1>
<Box />
<ZipCode>11122</ZipCode>
<City>Stockholm</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>251</Id>
<Code>251</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</ShipTo>
<SalesContactDivision />
<DoHold>false</DoHold>
<ClientOrderRef>6205645</ClientOrderRef>
<ErpOrderNo></ErpOrderNo>
<SubmitDate>2018-10-23T10:19:20.893256+02:00</SubmitDate>
<CurrencyCode>SEK</CurrencyCode>
<ReferId xsi:nil="true" />
<Payments>
<Payment>
<PaymentCode>13227</PaymentCode>
<PaymentMethodCode>KCOSERD</PaymentMethodCode>
<PaymentRef>0081246d-be61-4915-a7de-cbb02c62388f</PaymentRef>
<Amount>3673.06</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
</Payments>
<Discounts />
<ShippingAdvice>
<DeliveryMethodCode>a_001</DeliveryMethodCode>
<DoSMSNotify>true</DoSMSNotify>
<PickupStore>
<Code>592976</Code>
<IsDropPoint>true</IsDropPoint>
<Address>
<Country>SE</Country>
</Address>
</PickupStore>
<IsFeeChargedOnce>true</IsFeeChargedOnce>
<IsComplete>true</IsComplete>
</ShippingAdvice>
<Items>
<OrderItem>
<LineNo>1</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Standard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>142278</PartNo>
<ErpPartNo>142278</ErpPartNo>
<InternalProductId>31616997</InternalProductId>
<Description>Milo C12 matbord 140, natur</Description>
<Quantity>1</Quantity>
<UnitPrice>1672.1920</UnitPrice>
<UnitPriceOriginal>1817.6000</UnitPriceOriginal>
<Discount>145.4080</Discount>
<UnitVat>418.0480</UnitVat>
<PriceListNo>4774</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>2796.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
<PriceListItem>
<PriceListName>Pilot 50%</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>1412.00</UnitPrice>
<IsStandardPriceList>false</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions>
<Promotion>
<Id>4406</Id>
<Name>10% på hela varukorgen</Name>
<DiscountCode>eight</DiscountCode>
<AppliedAmount>145.408</AppliedAmount>
</Promotion>
</Promotions>
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>2</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>8351</PartNo>
<ErpPartNo>8351</ErpPartNo>
<InternalProductId>31765744</InternalProductId>
<Description>Swedish Grace Assiett, Is</Description>
<Quantity>2</Quantity>
<UnitPrice>118.5680</UnitPrice>
<UnitPriceOriginal>143.2000</UnitPriceOriginal>
<Discount>24.6320</Discount>
<UnitVat>29.6420</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>143.20</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions>
<Promotion>
<Id>4307</Id>
<Name>Tallriksveckor</Name>
<AppliedAmount>14.32</AppliedAmount>
</Promotion>
<Promotion>
<Id>4406</Id>
<Name>10% på hela varukorgen</Name>
<DiscountCode>eight</DiscountCode>
<AppliedAmount>10.312</AppliedAmount>
</Promotion>
</Promotions>
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>3</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>197237</PartNo>
<ErpPartNo>197237</ErpPartNo>
<InternalProductId>31826806</InternalProductId>
<Description>Norr Brödbox</Description>
<Quantity>1</Quantity>
<UnitPrice>989.9200</UnitPrice>
<UnitPriceOriginal>1076.0000</UnitPriceOriginal>
<Discount>86.0800</Discount>
<UnitVat>247.4800</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>1076.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions>
<Promotion>
<Id>4406</Id>
<Name>10% på hela varukorgen</Name>
<DiscountCode>eight</DiscountCode>
<AppliedAmount>86.08</AppliedAmount>
</Promotion>
</Promotions>
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>4</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Freight</Type>
<TypeGroup>Fee</TypeGroup>
<PartNo>freight</PartNo>
<ErpPartNo>freight</ErpPartNo>
<InternalProductId>31671634</InternalProductId>
<Description>Frakt</Description>
<Quantity>1</Quantity>
<UnitPrice>39.2000</UnitPrice>
<UnitPriceOriginal>39.2000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>9.8000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo />
<PriceLists>
<PriceListItem>
<PriceListName>Standard SE</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>0.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
</Items>
<Fees />
<AdditionalInfo>
<CodeValue>
<Id>170</Id>
<Code />
<Value />
</CodeValue>
<CodeValue>
<Id>188</Id>
<Code>DeliveryOptionId</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>189</Id>
<Code>AgentAddressId</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<Header>
<ApplicationKey>10000000-0000-0000-0000-000000000000</ApplicationKey>
</Header>
<OrderType>Order</OrderType>
</OrderRequest>

B2B Order (xml)​

Method: POST

URL: https://{{mocktoolhost}}/MockOrderReceiver/api/PostOrder?typeOfResponse={{OrderResponseType}}&statusCode={{OrderResponseStatusCode}}

Headers:

  • Content-Type: application/xml
  • Accept: application/xml

Body:

<OrderRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="Enferno.Services.StormConnect.Contracts.Order">
<SellTo>
<Company>
<Code>56319</Code>
<Name>Sturessons schakt</Name>
<VatNo>123456-1234</VatNo>
<PricelistLimit>false</PricelistLimit>
<PaymentCodeLimit>false</PaymentCodeLimit>
<DeliveryCodeLimit>false</DeliveryCodeLimit>
<IsActive xsi:nil="true" />
</Company>
<Person>
<CustomerCode />
<FirstName>Daniel</FirstName>
<LastName>Test</LastName>
<PrivatePhone />
<CellPhone>123123123123</CellPhone>
<Email>daniel.test@test.com</Email>
<SSN />
<Address>
<Line1>Testgatan 35</Line1>
<Box />
<ZipCode>111 22</ZipCode>
<City>Borås</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>285</Id>
<Code>285</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>286</Id>
<Code>286</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</SellTo>
<BillTo>
<Company>
<Code>56319</Code>
<Name>Sturessons schakt</Name>
<VatNo>123456-1234</VatNo>
<PricelistLimit>false</PricelistLimit>
<PaymentCodeLimit>false</PaymentCodeLimit>
<DeliveryCodeLimit>false</DeliveryCodeLimit>
<IsActive xsi:nil="true" />
</Company>
<Person>
<CustomerCode />
<FirstName>Daniel</FirstName>
<LastName>Test</LastName>
<PrivatePhone />
<CellPhone>123123123123</CellPhone>
<Email>daniel.test@test.com</Email>
<SSN />
<Address>
<Line1>Testgatan 35</Line1>
<Box />
<ZipCode>111 22</ZipCode>
<City>Borås</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>285</Id>
<Code>285</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>286</Id>
<Code>286</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</BillTo>
<ShipTo>
<Company>
<Code>56319</Code>
<Name>Sturessons schakt</Name>
<VatNo>123456-1234</VatNo>
<PricelistLimit>false</PricelistLimit>
<PaymentCodeLimit>false</PaymentCodeLimit>
<DeliveryCodeLimit>false</DeliveryCodeLimit>
<IsActive xsi:nil="true" />
</Company>
<Person>
<CustomerCode />
<FirstName>Daniel</FirstName>
<LastName>Test</LastName>
<PrivatePhone />
<CellPhone>123123123123</CellPhone>
<Email>daniel.test@test.com</Email>
<SSN />
<Address>
<Line1>Testgatan 35</Line1>
<Box />
<ZipCode>111 22</ZipCode>
<City>Borås</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>285</Id>
<Code>285</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>286</Id>
<Code>286</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</ShipTo>
<SalesContactDivision />
<DoHold>false</DoHold>
<ClientOrderRef>6207079</ClientOrderRef>
<ErpOrderNo></ErpOrderNo>
<CustomerOrderComment />
<SubmitDate>2018-11-29T18:23:58.0240636+01:00</SubmitDate>
<CurrencyCode>SEK</CurrencyCode>
<ReferId xsi:nil="true" />
<Payments>
<Payment>
<PaymentCode>24642</PaymentCode>
<PaymentMethodCode>8</PaymentMethodCode>
<Amount>681.25000</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
</Payments>
<Discounts />
<ShippingAdvice>
<DeliveryMethodCode>31415926</DeliveryMethodCode>
<DoSMSNotify>true</DoSMSNotify>
<IsFeeChargedOnce>true</IsFeeChargedOnce>
<IsComplete>true</IsComplete>
</ShippingAdvice>
<Items>
<OrderItem>
<LineNo>1</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>200300009900onesize</PartNo>
<ErpPartNo>200300009900onesize</ErpPartNo>
<InternalProductId>26658551</InternalProductId>
<Description>Mössa Svart onesize</Description>
<Quantity>1</Quantity>
<UnitOfMeasure>st</UnitOfMeasure>
<UnitPrice>145.0000</UnitPrice>
<UnitPriceOriginal>145.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>36.2500</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment />
<AdditionalInfo>
<CodeValue>
<Id>208</Id>
<Code>PreOrderGiveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>213</Id>
<Code>VAS Plotter text</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>223</Id>
<Code>VasEmbroideryText</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>75</Id>
<Code>Personal Packing</Code>
<Value>Danne Test</Value>
</CodeValue>
<CodeValue>
<Id>76</Id>
<Code>CustomerId</Code>
<Value>3430811</Value>
</CodeValue>
<CodeValue>
<Id>100</Id>
<Code>Email Packing</Code>
<Value>danieltest@dannestest.se</Value>
</CodeValue>
<CodeValue>
<Id>102</Id>
<Code>Logo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>119</Id>
<Code>EmployeeNo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>120</Id>
<Code>UsePersonPackage</Code>
<Value>true</Value>
</CodeValue>
<CodeValue>
<Id>131</Id>
<Code>SordOrder</Code>
<Value>1000</Value>
</CodeValue>
<CodeValue>
<Id>132</Id>
<Code>RetailerStatus</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>133</Id>
<Code>RetailerRowComment</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<PriceLists>
<PriceListItem>
<PriceListName>SE-Konsumentpris</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>145.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>2</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Freight</Type>
<TypeGroup>Fee</TypeGroup>
<PartNo>F3000</PartNo>
<ErpPartNo>F3000</ErpPartNo>
<InternalProductId>26709009</InternalProductId>
<Description>Frakt / ombytte</Description>
<Quantity>1</Quantity>
<UnitOfMeasure>st</UnitOfMeasure>
<UnitPrice>0.0000</UnitPrice>
<UnitPriceOriginal>0.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>0.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo>
<CodeValue>
<Id>208</Id>
<Code>PreOrderGiveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>213</Id>
<Code>VAS Plotter text</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>223</Id>
<Code>VasEmbroideryText</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>75</Id>
<Code>Personal Packing</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>76</Id>
<Code>CustomerId</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>100</Id>
<Code>Email Packing</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>102</Id>
<Code>Logo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>119</Id>
<Code>EmployeeNo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>120</Id>
<Code>UsePersonPackage</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>131</Id>
<Code>SordOrder</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>132</Id>
<Code>RetailerStatus</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>133</Id>
<Code>RetailerRowComment</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<PriceLists>
<PriceListItem>
<PriceListName>SE-Konsumentpris</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>0.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>false</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>3</LineNo>
<ParentLineNo>1</ParentLineNo>
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>VAS6922-1</PartNo>
<ErpPartNo>VAS6922-1</ErpPartNo>
<InternalProductId>33223337</InternalProductId>
<Description>test181129 (Testkonto E-portal Storkund sadsd)</Description>
<Quantity>1</Quantity>
<UnitOfMeasure>st</UnitOfMeasure>
<UnitPrice>400.0000</UnitPrice>
<UnitPriceOriginal>400.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>100.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo>
<CodeValue>
<Id>208</Id>
<Code>PreOrderGiveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>213</Id>
<Code>VAS Plotter text</Code>
<Value>Danne</Value>
</CodeValue>
<CodeValue>
<Id>223</Id>
<Code>VasEmbroideryText</Code>
<Value>Danne</Value>
</CodeValue>
<CodeValue>
<Id>75</Id>
<Code>Personal Packing</Code>
<Value>Danne Test</Value>
</CodeValue>
<CodeValue>
<Id>76</Id>
<Code>CustomerId</Code>
<Value>3430811</Value>
</CodeValue>
<CodeValue>
<Id>100</Id>
<Code>Email Packing</Code>
<Value>danieltest@dannestest.se</Value>
</CodeValue>
<CodeValue>
<Id>102</Id>
<Code>Logo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>119</Id>
<Code>EmployeeNo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>120</Id>
<Code>UsePersonPackage</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>131</Id>
<Code>SordOrder</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>132</Id>
<Code>RetailerStatus</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>133</Id>
<Code>RetailerRowComment</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<PriceLists>
<PriceListItem>
<PriceListName>SE-Konsumentpris</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>0.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>false</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
</Items>
<Fees />
<AdditionalInfo>
<CodeValue>
<Id>176</Id>
<Code>Preorder Deliverydate</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>180</Id>
<Code>Pre Order Giveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>185</Id>
<Code>Attestant1</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>199</Id>
<Code>Order confirmation email</Code>
<Value>Test@test.com</Value>
</CodeValue>
<CodeValue>
<Id>206</Id>
<Code />
<Value />
</CodeValue>
<CodeValue>
<Id>69</Id>
<Code>CustomerOrderNo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>70</Id>
<Code>OrderLabel</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>71</Id>
<Code>SalesRef</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>98</Id>
<Code>CompanyId</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>101</Id>
<Code>OrderReference</Code>
<Value>DefaultDeliveryMethod=false¤DeliveryMethodNo=600¤DeliveryCost=10</Value>
</CodeValue>
<CodeValue>
<Id>104</Id>
<Code>CustomerServiceAddressNote</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>123</Id>
<Code>MarketCode</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>124</Id>
<Code>B2C</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>126</Id>
<Code>CountryCode</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>127</Id>
<Code>OrderType</Code>
<Value>B2B</Value>
</CodeValue>
<CodeValue>
<Id>139</Id>
<Code>VatRate</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>142</Id>
<Code>DoHold</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>173</Id>
<Code>CampaignCode</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<Header>
<ApplicationKey>10000000-0000-0000-0000-000000000000</ApplicationKey>
</Header>
<OrderType>Order</OrderType>
</OrderRequest>

B2B Order with customer specific pricelist (xml)​

Method: POST

URL: https://{{mocktoolhost}}/MockOrderReceiver/api/PostOrder?typeOfResponse={{OrderResponseType}}&statusCode={{OrderResponseStatusCode}}

Headers:

  • Content-Type: application/xml
  • Accept: application/xml

Body:

<OrderRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="Enferno.Services.StormConnect.Contracts.Order">
<SellTo>
<Company>
<Code>56319</Code>
<Name>Sturessons schakt</Name>
<VatNo>123456-1234</VatNo>
<PricelistLimit>false</PricelistLimit>
<PaymentCodeLimit>false</PaymentCodeLimit>
<DeliveryCodeLimit>false</DeliveryCodeLimit>
<IsActive xsi:nil="true" />
</Company>
<Person>
<CustomerCode />
<FirstName>Daniel</FirstName>
<LastName>Test</LastName>
<PrivatePhone />
<CellPhone>123123123123</CellPhone>
<Email>daniel.test@test.com</Email>
<SSN />
<Address>
<Line1>Testgatan 35</Line1>
<Box />
<ZipCode>111 22</ZipCode>
<City>Borås</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>285</Id>
<Code>285</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>286</Id>
<Code>286</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</SellTo>
<BillTo>
<Company>
<Code>56319</Code>
<Name>Sturessons schakt</Name>
<VatNo>123456-1234</VatNo>
<PricelistLimit>false</PricelistLimit>
<PaymentCodeLimit>false</PaymentCodeLimit>
<DeliveryCodeLimit>false</DeliveryCodeLimit>
<IsActive xsi:nil="true" />
</Company>
<Person>
<CustomerCode />
<FirstName>Daniel</FirstName>
<LastName>Test</LastName>
<PrivatePhone />
<CellPhone>123123123123</CellPhone>
<Email>daniel.test@test.com</Email>
<SSN />
<Address>
<Line1>Testgatan 35</Line1>
<Box />
<ZipCode>111 22</ZipCode>
<City>Borås</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>285</Id>
<Code>285</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>286</Id>
<Code>286</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</BillTo>
<ShipTo>
<Company>
<Code>56319</Code>
<Name>Sturessons schakt</Name>
<VatNo>123456-1234</VatNo>
<PricelistLimit>false</PricelistLimit>
<PaymentCodeLimit>false</PaymentCodeLimit>
<DeliveryCodeLimit>false</DeliveryCodeLimit>
<IsActive xsi:nil="true" />
</Company>
<Person>
<CustomerCode />
<FirstName>Daniel</FirstName>
<LastName>Test</LastName>
<PrivatePhone />
<CellPhone>123123123123</CellPhone>
<Email>daniel.test@test.com</Email>
<SSN />
<Address>
<Line1>Testgatan 35</Line1>
<Box />
<ZipCode>111 22</ZipCode>
<City>Borås</City>
<Country>SE</Country>
</Address>
<AdditionalInfo>
<CodeValue>
<Id>285</Id>
<Code>285</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>286</Id>
<Code>286</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<IsActive xsi:nil="true" />
</Person>
</ShipTo>
<SalesContactDivision />
<DoHold>false</DoHold>
<ClientOrderRef>6207036</ClientOrderRef>
<ErpOrderNo></ErpOrderNo>
<CustomerOrderComment />
<SubmitDate>2018-11-23T09:58:40.5185838+01:00</SubmitDate>
<CurrencyCode>SEK</CurrencyCode>
<ReferId xsi:nil="true" />
<Payments>
<Payment>
<PaymentCode>24527</PaymentCode>
<PaymentMethodCode>FAKTURA</PaymentMethodCode>
<Amount>1067.50000</Amount>
<CurrencyCode>SEK</CurrencyCode>
<AdditionalInfo />
</Payment>
</Payments>
<Discounts />
<ShippingAdvice>
<DeliveryMethodCode>31415926</DeliveryMethodCode>
<DoSMSNotify>true</DoSMSNotify>
<IsFeeChargedOnce>true</IsFeeChargedOnce>
<IsComplete>true</IsComplete>
</ShippingAdvice>
<Items>
<OrderItem>
<LineNo>1</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>330010305600XL</PartNo>
<ErpPartNo>330010305600XL</ErpPartNo>
<InternalProductId>26662293</InternalProductId>
<Description>T-shirt Röd XL</Description>
<Quantity>1</Quantity>
<UnitPrice>60.0000</UnitPrice>
<UnitPriceOriginal>60.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>15.0000</UnitVat>
<PriceListNo>4423</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo>
<CodeValue>
<Id>208</Id>
<Code>PreOrderGiveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>213</Id>
<Code>VAS Plotter text</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>223</Id>
<Code>VasEmbroideryText</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>75</Id>
<Code>Personal Packing</Code>
<Value>asdf asdf</Value>
</CodeValue>
<CodeValue>
<Id>76</Id>
<Code>CustomerId</Code>
<Value>3416674</Value>
</CodeValue>
<CodeValue>
<Id>100</Id>
<Code>Email Packing</Code>
<Value>thestuzz@gmail.com</Value>
</CodeValue>
<CodeValue>
<Id>102</Id>
<Code>Logo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>119</Id>
<Code>EmployeeNo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>120</Id>
<Code>UsePersonPackage</Code>
<Value>false</Value>
</CodeValue>
<CodeValue>
<Id>131</Id>
<Code>SordOrder</Code>
<Value>1000</Value>
</CodeValue>
<CodeValue>
<Id>132</Id>
<Code>RetailerStatus</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>133</Id>
<Code>RetailerRowComment</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<PriceLists>
<PriceListItem>
<PriceListName>Sturessons schakt</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>60.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>2</LineNo>
<ParentLineNo>1</ParentLineNo>
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>VAS3661-1</PartNo>
<ErpPartNo>VAS3661-1</ErpPartNo>
<InternalProductId>32738925</InternalProductId>
<Quantity>1</Quantity>
<UnitPrice>15.0000</UnitPrice>
<UnitPriceOriginal>15.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>3.7500</UnitVat>
<PriceListNo>4423</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo>
<CodeValue>
<Id>208</Id>
<Code>PreOrderGiveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>213</Id>
<Code>VAS Plotter text</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>223</Id>
<Code>VasEmbroideryText</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>75</Id>
<Code>Personal Packing</Code>
<Value>Daniel Eres</Value>
</CodeValue>
<CodeValue>
<Id>76</Id>
<Code>CustomerId</Code>
<Value>1403645</Value>
</CodeValue>
<CodeValue>
<Id>100</Id>
<Code>Email Packing</Code>
<Value>daniel.test@test.com</Value>
</CodeValue>
<CodeValue>
<Id>102</Id>
<Code>Logo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>119</Id>
<Code>EmployeeNo</Code>
<Value>123</Value>
</CodeValue>
<CodeValue>
<Id>120</Id>
<Code>UsePersonPackage</Code>
<Value>false</Value>
</CodeValue>
<CodeValue>
<Id>131</Id>
<Code>SordOrder</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>132</Id>
<Code>RetailerStatus</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>133</Id>
<Code>RetailerRowComment</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<PriceLists />
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>3</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>Freight</Type>
<TypeGroup>Fee</TypeGroup>
<PartNo>F3000</PartNo>
<ErpPartNo>F3000</ErpPartNo>
<InternalProductId>26709009</InternalProductId>
<Description>Frakt / ombytte</Description>
<Quantity>1</Quantity>
<UnitPrice>0.0000</UnitPrice>
<UnitPriceOriginal>0.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>0.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo>
<CodeValue>
<Id>208</Id>
<Code>PreOrderGiveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>213</Id>
<Code>VAS Plotter text</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>223</Id>
<Code>VasEmbroideryText</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>75</Id>
<Code>Personal Packing</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>76</Id>
<Code>CustomerId</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>100</Id>
<Code>Email Packing</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>102</Id>
<Code>Logo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>119</Id>
<Code>EmployeeNo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>120</Id>
<Code>UsePersonPackage</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>131</Id>
<Code>SordOrder</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>132</Id>
<Code>RetailerStatus</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>133</Id>
<Code>RetailerRowComment</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<PriceLists>
<PriceListItem>
<PriceListName>SE-Konsumentpris</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>0.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>false</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>4</LineNo>
<ParentLineNo xsi:nil="true" />
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>335911588933XL</PartNo>
<ErpPartNo>335911588933XL</ErpPartNo>
<InternalProductId>28192339</InternalProductId>
<Description>Varseltröja Marinblå/Varselgul XL</Description>
<Quantity>1</Quantity>
<UnitPrice>719.0000</UnitPrice>
<UnitPriceOriginal>719.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>179.7500</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<Comment />
<AdditionalInfo>
<CodeValue>
<Id>208</Id>
<Code>PreOrderGiveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>213</Id>
<Code>VAS Plotter text</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>223</Id>
<Code>VasEmbroideryText</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>75</Id>
<Code>Personal Packing</Code>
<Value>asdf asdf</Value>
</CodeValue>
<CodeValue>
<Id>76</Id>
<Code>CustomerId</Code>
<Value>3416674</Value>
</CodeValue>
<CodeValue>
<Id>100</Id>
<Code>Email Packing</Code>
<Value>thestuzz@gmail.com</Value>
</CodeValue>
<CodeValue>
<Id>102</Id>
<Code>Logo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>119</Id>
<Code>EmployeeNo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>120</Id>
<Code>UsePersonPackage</Code>
<Value>false</Value>
</CodeValue>
<CodeValue>
<Id>131</Id>
<Code>SordOrder</Code>
<Value>4000</Value>
</CodeValue>
<CodeValue>
<Id>132</Id>
<Code>RetailerStatus</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>133</Id>
<Code>RetailerRowComment</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<PriceLists>
<PriceListItem>
<PriceListName>SE-Konsumentpris</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>719.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>true</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
<OrderItem>
<LineNo>5</LineNo>
<ParentLineNo>4</ParentLineNo>
<Type>ErpStandard</Type>
<TypeGroup>Physical</TypeGroup>
<PartNo>VAS5646-1</PartNo>
<ErpPartNo>VAS5646-1</ErpPartNo>
<InternalProductId>33177038</InternalProductId>
<Description>test namnbrodyr 181122 (Sturessons schakt)</Description>
<Quantity>1</Quantity>
<UnitPrice>60.0000</UnitPrice>
<UnitPriceOriginal>60.0000</UnitPriceOriginal>
<Discount>0.0000</Discount>
<UnitVat>15.0000</UnitVat>
<PriceListNo>1</PriceListNo>
<VatRate>25.00</VatRate>
<AdditionalInfo>
<CodeValue>
<Id>208</Id>
<Code>PreOrderGiveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>213</Id>
<Code>VAS Plotter text</Code>
<Value>asdf</Value>
</CodeValue>
<CodeValue>
<Id>223</Id>
<Code>VasEmbroideryText</Code>
<Value>asdf
asdf</Value>
</CodeValue>
<CodeValue>
<Id>75</Id>
<Code>Personal Packing</Code>
<Value>Daniel Eres</Value>
</CodeValue>
<CodeValue>
<Id>76</Id>
<Code>CustomerId</Code>
<Value>1403645</Value>
</CodeValue>
<CodeValue>
<Id>100</Id>
<Code>Email Packing</Code>
<Value>daniel.test@test.com</Value>
</CodeValue>
<CodeValue>
<Id>102</Id>
<Code>Logo</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>119</Id>
<Code>EmployeeNo</Code>
<Value>123</Value>
</CodeValue>
<CodeValue>
<Id>120</Id>
<Code>UsePersonPackage</Code>
<Value>false</Value>
</CodeValue>
<CodeValue>
<Id>131</Id>
<Code>SordOrder</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>132</Id>
<Code>RetailerStatus</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>133</Id>
<Code>RetailerRowComment</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<PriceLists>
<PriceListItem>
<PriceListName>SE-Konsumentpris</PriceListName>
<QtyBreak>1</QtyBreak>
<UnitPrice>0.00</UnitPrice>
<IsStandardPriceList>true</IsStandardPriceList>
<IsActive>false</IsActive>
</PriceListItem>
</PriceLists>
<Promotions />
<Quantity2 xsi:nil="true" />
</OrderItem>
</Items>
<Fees />
<AdditionalInfo>
<CodeValue>
<Id>176</Id>
<Code>Preorder Deliverydate</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>180</Id>
<Code>Pre Order Giveaway</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>185</Id>
<Code>Attestant1</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>199</Id>
<Code>Order confirmation email</Code>
<Value>daniel.test@test.com</Value>
</CodeValue>
<CodeValue>
<Id>206</Id>
<Code />
<Value />
</CodeValue>
<CodeValue>
<Id>69</Id>
<Code>CustomerOrderNo</Code>
<Value>E¤56319¤319732¤¤Sturessons schakt</Value>
</CodeValue>
<CodeValue>
<Id>70</Id>
<Code>OrderLabel</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>71</Id>
<Code>SalesRef</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>98</Id>
<Code>CompanyId</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>101</Id>
<Code>OrderReference</Code>
<Value>DefaultDeliveryMethod=false¤DeliveryMethodNo=200¤DeliveryCost=95</Value>
</CodeValue>
<CodeValue>
<Id>104</Id>
<Code>CustomerServiceAddressNote</Code>
<Value>OBS: Leveransadressen är eventuellt inkorrekt, vänligen dubbelkolla innan du släpper ordern</Value>
</CodeValue>
<CodeValue>
<Id>123</Id>
<Code>MarketCode</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>124</Id>
<Code>B2C</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>126</Id>
<Code>CountryCode</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>127</Id>
<Code>OrderType</Code>
<Value>B2B</Value>
</CodeValue>
<CodeValue>
<Id>139</Id>
<Code>VatRate</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>142</Id>
<Code>DoHold</Code>
<Value />
</CodeValue>
<CodeValue>
<Id>173</Id>
<Code>CampaignCode</Code>
<Value />
</CodeValue>
</AdditionalInfo>
<Header>
<ApplicationKey>10000000-0000-0000-0000-000000000000</ApplicationKey>
</Header>
<OrderType>Order</OrderType>
</OrderRequest>