Originally written by Will Miller, last updated Jul 23, 2025, on the Swan Retail knowledge base (SRS).
Part of: Web Integration using the SRS API
Swan / WooCommerce
Standard API Websites
Shopify
Available from v7.1 of SRS (Web Control Allocations from v7.2)
SRS can be connected to any number of e-commerce sites to allow sales under different brands and identities. These sites do not necessarily all sell the same pool of items or allocate stock from the same physical locations. For example, one site may sell homewares which are taken from a department store, whereas another may focus purely on Furniture which is taken from stock at a central warehouse. This may be the ideal situation, but stock can end up being moved around a business and you want to try to minimise stock holding by making the most of stock across the estate.
To cater for this, Website Maintenance and Web Control are there to set out the stock and allocation behaviour for each website.
Website Maintenance
Website Maintenance is where you link the URL and the sales branch for the website(s) so SRS knows where to attribute sales. The websites are then referenced in Web Control.
Setup
To create a new website link, select New
On the Websites pop-up set the Website URL and Sales Branch.
Website URL must be the full path to the API on the website e.g.: https://www.ExampleSwanWebsite.co.uk/swaninterface/api/
It’s essential this is configured correctly for the integration link to work, if you’re unsure please contact Support.
Sales Branch: Select the branch that links to the website. This should be a website branch that you’ve already created in Branch Maintenance. The website branch is not normally used for stock control, but recording web sales only.
Once you are happy with it, select Ok to create the website link. It’ll now appear in Web Control for further setup. The Edit and Delete buttons at the top of the page are there if you need to change the sales branch or delete it. If the URL changes or you made a mistake you’ll need to delete it and add a new entry.
Note: The delivery branch for the website is defined in Branch Maintenance and will show if it has been filled in. It is required for the website to be able to create orders, so make sure it’s filled in.
Web Control
Once the website has been created within Website Maintenance, you see that website available in the Website drop-down, select it to start.
Factors
This tab specifies the percentage of stock which will be available against each website.
Set 0 against any where you want to prevent the stock being shown online. This guide assumes that the
How it works
Stock percentage factors can be set at company, branch and department/section/subsection level (per branch), which gives users the opportunity to add restrictions on the amount of stock they would like available for each site.
Once you have selected the site you wish to configure, the Company Factor of stock will be shown which will be used as the default if you have not yet configured web factors by branch. This is configured in Company Maintenance on the ‘Other Settings' tab.
For example, if there are 10 units of stock shown in Item Enquiry and the factor is set to 90%, then only 9 units of stock will be available. The factor will round stock levels down for the web, so if factor is set to 85% the units of stock sent to the website will be 8 and not 9.
Note that once any branch web factors are set, the company factor is no longer used.
Setup
Use New to create , where you will first be asked to select a Branch and Branch Factor.
Branch: This will be the branch that your stock sits in and not the website branch.
Branch Factor: As explained above, this is the percentage of stock you would like available from this branch. If this field is set to 0, then all items in that branch will show with 0 stock.
Once branches are added, you can add and change the factor at department level. To do this highlight branch and select New.
You will know you selected the correct line because the pop-up will state Department instead of Branch.
The setup rules are the same at department level. If the factor field is set to 0 then this will show the stock level on the website at 0. This means you can set the branch factor at 0 and a department factor at 100, which would mean only that particular department will show stock online, while the rest of that branch shows at 0.
This process can then be repeated for Section (select the department to add to) and Subsection (select the section to add to).
You can amend any of the factors or use the Delete button to remove them.
Please Note: You cannot remove a Branch level field without removing the attached Department/Section/Subsection fields.
Allocations
This tab sets out the priority used by the web order when it is checking stock for fulfilment. Each website has its own list of branches.
How it works
Each item on an incoming web order will be checked against the first branch in the list, if the whole order can be allocated then it’ll stop there, using that branch as the delivery branch for the order and allocating all the stock. If the order cannot be fully allocated, the next branch in the list is checked.
Each subsequent branch is only checked if the previous branch in the list cannot allocate all the items.
If none of the branches can fulfil the whole order, it will then revert back to the branch which can fulfil the most of the order from stock.
Note: Multiple delivery branches cannot be selected, so the site that can fulfil the greatest number of lines of an order will be the one that is used. It will not deliver some lines from one branch and the rest from another.
For example, branch 1 can only fulfil 2 lines of an order, but branch 2 can fulfil 3 lines of that order, then branch 2 will be selected for delivery.
Setup
Select Add to lookup branches to be considered for web allocations. Don’t add branches which you don’t want to draw stock from to fulfil web orders.
You can select multiple branches in this lookup to add to the allocations list at the same time.
Once added to the main screen, use ‘Move Up’ and ‘Move Down’ to re-sequence the branches with the top being the first used branch to draw stock from.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article