Anatwine Guide

This guide details how to setup and use the Anatwine integration.

Introduction

Anatwine provides an interface between your brand and multiple online retailers acting as a type of online marketplace. The Aurora Anatwine integration will allow you to automatically export product information and stock levels using the Anatwine API, and in turn import orders placed on the respective retailer selling platforms. Aurora will also notify Anatwine of any relevant status updates to Anatwine orders processed within Aurora.

Set-up

📘

There are several automated processes that will need to be setup by Aurora Commerce before the Anatwine integration can be tested or go live. However you can continue to setup the integration, related product data and product channels before these processes are activated.

To start using the Anatwine integration, use the Aurora menu and navigate to: Store > Settings >  Feeds > Anatwine.

Enabling the Anatwine Integration

The Anatwine integration has two types of state:

  • Enabled
    • When not selected, the integration is completely dormant and cannot be used.
    • When selected:
      • The integration automated processes will run according to the Live state (see below).
      • The product and variation level integration configuration options will be displayed on the Edit Product page under the Feeds tab.
      • Creation and configuration of Anatwine product channels is permitted.
  • Live
    • When not selected, the integration is in test mode and the test API details will be used.
    • When selected, the live API details will be used.

🚧

There is further protection in place so that the automated processes will not run when a test instance of Aurora is setup as live.

Brand Details

A Brand Logo URL is sent to Anatwine when exporting the product catalogue; this should be an absolute URI to your brand logo.

API Details

The Anatwine integration maintains two sets of Anatwine API credentials, Live and Test:

  • The Endpoint is the Anatwine API endpoint base URI:
    • Including the version and brandCode i.e.  https://instance.anatwine.com/brand/integration/{version}/{brandCode}
    • Excluding the final destination part i.e. products, stocks etc.
  •  The Username and Password will be provided to you by your Anatwine account manager.

Order Settings

The following order related settings include details relating to how orders are imported and order status updates are exported:

Field NameDescriptionDefault
Shipping MethodDetermines which Aurora shipping method is applied to orders imported from Anatwine.None
Order Status TypeThe order status type to be used when identifying the order status of new Anatwine orders.Default Status
Order Status Update DelayDetermines how many minutes to wait after an order status has been changed before notifying Anatwine of the status change. This defaults to 30 minutes when no value is set.30

Product Settings

The following product settings determine how product information is exported to Anatwine:

Field NameDescriptionDefault
Group Products By Style Code?When this is enabled, a single product will be sent to Anatwine for each unique Product Style Code as defined within each product; within which a separate article will be created for each variation of all products sharing the same Product Style Code.

Please see the Anatwine Style Primary Product setting within the Uploading Products > Product Fields section below.
No
Product Colour AttributeDefines which product attribute should be used as the colour attribute.None
Product Colour FieldDefines which product field should be used as the colour field.None
Product Size AttributeDefines which product attribute should be used as the size attribute.None
Product Size FieldDefines which product field should be used as the size field.None
Export Product ImagesDefines how product images should be identified:

Export all product images for each variation

Export only product images explicitly configured for Anatwine
Export only product images explicitly configured for each variation
Export only product images explicitly configured for Anatwine and each variation
Export all product
images for each variation
Default GendersAllows a comma separated list of genders to be used when no product level gender has been defined i.e. female, male
Default SeasonAllows a default value to be used when no product level season is define i.e. All Seasons
Default Size Grid CodeAllows a default value to be used when no product level size grid code is define i.e. DEFAULTSIZES

Product Channels

The product channels section allows integration specific product channels to be created. Product Channels that are not created using the Create Anatwine Product Channel process, will not appear within the Anatwine product catalogue feed.

When creating an Anatwine integration specific product channel, the following channel fields are automatically setup:

  • Channel Fields appear on the Edit Product Channel page:

    Field NameDescriptionDefault
    Anatwine Channel TypeDetermines whether a channel is a Country or Retailer channel.
    Anatwine Channel CurrencyThe local Aurora currency when converting default product prices.Default Currency
    Anatwine Channel CountryThe local Aurora country of a Country channel.Default Country
    Anatwine Country MappingAllows a mapping of multiple country codes to a local Aurora country;

    This determines how orders are assigned to local Aurora countries on order import.
  • Product Fields appear on the Edit Product page under the Channels tab:

    Field NameDescriptionDefault
    Anatwine ActiveThe product channel active value.true
    Anatwine WholesaleThe product channel wholesale value.false
    Anatwine Price Context CodeThe product channel price code context value.Standard
    Anatwine Price RRPThe product price RRP value.Product Pice RRP
    Anatwine Price WasThe product price was value.Product Price Was
    Anatwine PriceThe product price value.Product Price
    Anatwine VAT CodeThe product channel VAT value.100

Please see the Product Channels support article for more details.

Product Bullet Mappings

Product Bullets as defined within the Anatwine product level settings can apply to different data types within the Anatwine XML product feed; your Anatwine account manager can advise further as to the type of information you plan to enter within the Anatwine product bullets i.e.

  • Product Bullet
  • Product Common Attribute
  • Product Category Attribute

Please see the following example of how your Product Bullet Mappings might look:

Stock Settings

Field NameDescriptionDefault
Stock AdjustmentA whole number value that will be added to each product quantity within the Anatwine export stock feed.

This can be a positive or negative value.
0
Product QuantityStock AdjustmentQuantity Sent to Anatwine
505
527
5-23

Uploading Products

The product export process is an automated process that is typically setup to run on daily full and hourly incremental schedules:

  • Once a day all product data will be resent to the Anatwine API irrespective of whether the information has changed.
  • Once an hour products that have been modified (excluding stock modifications) will be resent to the Anatwine API including the new changes.

Product information is sourced from the main product data, however the following additional Anatwine specific product information can be added within the Edit Product page on the Feeds tab:

Product Fields

Field NameDescriptionDefault
Anatwine Send to Anatwine?Should this product be included within the Anatwine catalogue product feed?No
Anatwine Style Primary ProductWhen using the Group By Product Style Code option defined within the Anatwine store feed settings, this option details which product within each style group should be used for the style level product information i.e. product name, description etc.

When more than one product within a style group is set to be a primary product, the first available primary product will be used.

When no products within the style group are set to be a primary product, the first available product will be used.
No
Anatwine Product NameThe product name.Product Name
Anatwine Product Short DescriptionThe product short description.Product Description
Anatwine Product Long DescriptionThe product long description.Selling Text
Anatwine SeasonThe product season.Default Season within the Anatwine store settings.
Anatwine GenderThe product gender.Default Gender within the Anatwine store settings.
Anatwine KeywordA list of keywords for the product.Search Terms
Anatwine BulletA list of bullets for the product, include a name and value i.e.

Temperature, 30
Tumble dry, No
Anatwine Material CompositionA list of materials that make up the product including a Component, Material and Percentage i.e.

Hood, Cotton, 100
Body, Cotton, 80
Body, Polyester, 20

Variation Fields

Field NameDescriptionDefault
Anatwine Colour CodeThe variation colour.First, attempt to identify an attribute colour name;

Second, attempt to identify a product colour field value
Anatwine Size Grid ValueThe variation size.First, attempt to identify an attribute size name;

Second, attempt to identify a product size field value

Category Fields

Field NameDescriptionDefault
Anatwine Category CodeThe corresponding Anatwine category code.
Anatwine Size Grid CodeA Size Grid is a high level grouping within the Anatwine system for the constituent sizes.

The Size Grid Value defined at the variation level must correlate to the values within the defined grid.
Default Size Grid Code within the Anatwine store settings.

Product Images

Product images can be explicitly assigned to the Anatwine integration on the Edit Product page within the Media tab by selecting the Anatwine integration accordingly i.e.

Exporting Product Stock

When the Anatwine integration is enabled and the automation schedule has been setup by Aurora Commerce, product stock for all products that are set with the "Send to Anatwine?" option will automatically be uploaded to the Anatwine API once a day.

In additional, all product stock movements (modified stock) for products that are set with the "Send to Anatwine?" option will be uploaded to the Anatwine API every 60 minutes.

Downloading Orders

When the Anatwine integration is enabled and the automation schedule has been setup by Aurora Commerce, orders created within the Anatwine system will automatically be imported into Aurora with a payment type derived from the retailer channel code.

Order and Item Statuses

The order status will be assigned to the first order status flagged as a Default Status within Aurora.

The order item statuses will be assigned the Default Item System as defined within the settings of the default order status.

The order item return reasons should be managed from the Aurora Back-end under Orders > StatusesOrder Item Statuses to ensure you have configured the reason codes you would like to have sent back to Anatwine for your returned items.

📘

Please see the Order Item Statuses support article for assistance managing these statuses and their retcons codes.

Currency and Tax Rate

The order currency and tax rate will be determined by the default currency and tax band defined within Aurora unless explicitly defined within the order data retrieved from the Anatwine API.

Shipping Type

The order shipping type will be determined by the select Shipping Method within the Anatwine store settings.

Additional Fields

The following values will be stored as order additional field values:

Additional Field NameExample
Anatwine Channel CodeZalando DE
Anatwine Order ID230080044
Anatwine Retailer Order ID276543217654321
Anatwine Retailer Billing Customer ID2123456789
Anatwine Retailer Shipping Customer ID2123456789

The following values will be stored as order item additional field values:

Additional Field NameExample
Anatwine Item Status TypeSHIPPED
Anatwine Retailer Line Number001
Anatwine Retailer Product DescriptionUnion Jack Tee
Anatwine Retailer Size IDXS
Anatwine Retailer SKU ID21234567ABC123001

Order Status Management

When changing an order item status in Aurora, the user will not be able to change from certain statuses into certain other statuses if the behaviour is not supported by Anatwine. The exact details are as follows:

From StatusConditionsDetails
Order Item Status is a Cancelled StatusCannot be set to Despatched Status or Returned StatusOnce an item is marked as cancelled, it cannot be ‘un’-cancelled in Anatwine.
Order Item Status is a Returned StatusCannot be set to Despatched Status or Cancelled StatusOnce an item is marked as returned, it cannot be ‘un’-returned in Anatwine.
Order Item Status is a Despatched StatusCan ONLY be changed to a Returned StatusOnce an item is shipped, it cannot be changed into any other status in Anatwine apart from Returned.

Exporting Order Status Updates

When the Anatwine integration is enabled and the automation schedule has been set up by Aurora Commerce, the following order item status updates on Anatwine orders will automatically be exported back to the Anatwine API respectively:

Aurora Order Item ConditionsAnatwine Notification
Order Item Status is a Cancelled StatusCANCELLED
Order Item Status is a Returned StatusRETURNED
Order Item Status is a Despatched Status AND the order contains a shipping tracking codeSHIPPED

When the status of the order item is updated, Aurora will wait for the Order Status Update Delay period before propagating the update to the Anatwine API.

Order notifications can be viewed and resent when viewing an order under the Feeds section:

1180