The B2B offers you an automatic web service for your orders. This makes it possible to push orders with a third-party delivery address to B2B via an XML feed. To do this, please follow the step-by-step plan below.
Step 1. Open the following URL in the browser: https://www.yourb2b.com/webservice/checkout. Log in with the known username and password.
Step 2. It is important to carefully study the XML template with order information. Below is an example of a template, but the most important points are highlighted below.
XML TEMPLATE | EXAMPLE Order |
<order> <ordertype></ordertype> <comment1></comment1> (80) <comment2></comment2> (80) <reference></reference> (30) <shippingmethod_id> <deliveryaddress> <name1></name1> (80) <name2></name2> (80) <address1></address1> (100) <address2></address2> (100) <zipcode></zipcode> (50) <city></city> (80) <country></country> (80) <countrycode></countrycode> (10) <emailaddress></emailaddress> (150) </deliveryaddress> <lines> <line> <model></model> (80) <color></color> (50) <size></size> (30) <quantity></quantity> </line> <line> <ean></ean> (30) <quantity></quantity> </line> </lines> </order | <order> <ordertype>ST</ordertype> <comment1></comment1> (80) <comment2></comment2> (80) <reference>85945</reference> (30) <shippingmethod_id>1</shippingmethod_id> <shippingcosts>5.75</shippingcosts> <deliveryaddress> <name1>John Doe</name1> (80) <name2> sister off</name2> (80) <address1>housestreet 16</address1> (100) <address2></address2> (100) <zipcode>66L 66L</zipcode> (50) <city>Queenstown</city> (80) <country>England</country> (80) <countrycode>EN</countrycode> (10) <emailaddress>[email protected]</emailaddress> (150) </deliveryaddress> <lines> <line> <model>10308</model> (80) <color>PURPLE</color> (50) <size>XS</size> (30) <quantity>1</quantity> </line> <line> <ean>4036161000067</ean> <quantity>1</quantity> </line> </lines> </order> |
It is possible to send a model, colour, size OR ean.
Order type. For stocksale, order type βSTβ and for presale βPSβ should be sent.
Shippingmethod. The ID should match the ID from the admin page.
In the backend, go to the "Shipping methods" module.
Select the relevant shipping method.
In the browser, find the shippingmethod_id. See the example below.
Step 3. Via the link https://www.yourb2b.com/webservice/xml_feed, it is possible to retrieve the feed. This needs to be configured by Core-Portal. Please contact us by email: [email protected]