Added the migration that allows empty and non unique SKU

You can see if that migration is enabled or not via the GET profile request in the featureToggles parameter. If the feature is enabled, the response will be the following:

"featureToggles”: [
{
"name": "ALLOW_EMPTY_AND_NON_UNIQUE_SKU",
"visible": false,
"enabled": true
},
]

If the enabled field of this object is true, then non unique and empty SKUs are allowed in the store.

Below you can find the detailed description of the changes:

REST API
Search orders [GET]
Request: non unique sku can be defined in the ‘keyword’ field
Response: ‘sku’ field in the object

Get order [GET]
Response: ‘sku’ field in the object

Create order [POST]
Request: optional ‘sku’ field in the object

Update order [PUT]
Request: optional ‘sku’ field in the object

Get cart [GET]
Response: ‘sku’ field in the object

Search products [GET]
Request: non unique sku can be defined in the ‘keyword’ field and optional ‘sku’ field 
Response: ‘sku’ field in the , objects

Get a product [GET]
Response: ‘sku’ field in the , objects

Add a product [POST]
Request: optional ‘sku’ field in the object

Update a product [PUT]
Request: optional ‘sku’ field in the object


Get product filters [GET]
Request: non unique sku can be defined in the ‘keyword’ field of the object

Get all product variations [GET]
Response: ‘sku’ field in the object

Get product variation [GET]
Response: ‘sku’ field in the object

Create product variation [POST]
Request: optional ‘sku’ field in the object

Update product variation [PUT]
Request: optional ‘sku’ field in the object

Search subscriptions [GET]
Response: ‘sku’ field in the object

Get subscription [GET]
Response: ‘sku’ field in the object

JS API
The ‘sku’ field of objects in the callback function now can be non unique or empty. Affected events and methods:

Ecwid.OnOrderPlaced
‘sku’ field in the object

Ecwid.OnCartChanged
‘sku’ field in the object

Ecwid.Cart.get
‘sku’ field in the object

Ecwid.Cart.addProduct
‘sku’ field in the object

No changes in the flow

Search carts [GET]
Response: ‘sku’ field in the object

Calculate order details [POST]
Request: optional ‘sku’ field in the object
Response: ‘sku’ field in the object