variant issue

MicrostepMicrostep Posts: 1Member

From our warehouse we received the following question, since we recently started having issues with incorrect stock variants.

Question: 

On 2019-04-05 19:27:03 we received a variant/updated event on the webhook https://portal.wssn.nl/v3/webhook/29/variants/updated

{ "variant": { "id": 175516697, "createdAt": "2019-02-25T10:57:38+01:00", "updatedAt": "2019-04-05T19:26:58+02:00", "isDefault": true, "sortOrder": 1, "articleCode": "AC4626", "ean": "7640170573084", "sku": "", "hs": null, "unitPrice": 0, "unitUnit": "", "priceExcl": 6.5702, "priceIncl": 7.95, "priceCost": 0, "oldPriceExcl": 0, "oldPriceIncl": 0, "stockTracking": "enabled", "stockLevel": -1, "stockAlert": 5, "stockMinimum": 0, "stockSold": 1, "stockBuyMininum": 1, "stockBuyMinimum": 1, "stockBuyMaximum": 100, "weight": 500, "weightValue": "500.000", "weightUnit": "g", "volume": 0, "volumeValue": 0, "volumeUnit": "ml", "colli": 0, "sizeX": 0, "sizeY": 0, "sizeZ": 0, "sizeXValue": "0.000", "sizeYValue": "0.000", "sizeZValue": "0.000", "sizeUnit": "cm", "matrix": false, "title": "-", "taxType": "", "image": false, "tax": { "resource": { "id": 50320, "url": "taxes/50320", "link": "http://api.webshopapp.com/nl/taxes/50320.json" } }, "product": { "resource": { "id": 88509965, "url": "products/88509965", "link": "http://api.webshopapp.com/nl/products/88509965.json" } }, "movements": { "resource": { "id": false, "url": "variants/movements?variant=175516697", "link": "http://api.webshopapp.com/nl/variants/movements.json?variant=175516697" } }, "metafields": { "resource": { "id": false, "url": "variants/175516697/metafields", "link": "http://api.webshopapp.com/nl/variants/175516697/metafields.json" } }, "additionalcost": false, "options": [] } }

We can't discover/find what has caused this. The latest change we could find was on 2019-04-05 16:09:17

{ "variant": { "id": 175516697, "createdAt": "2019-02-25T10:57:38+01:00", "updatedAt": "2019-04-05T16:09:17+02:00", "isDefault": true, "sortOrder": 1, "articleCode": "AC4626", "ean": "7640170573084", "sku": "", "hs": null, "unitPrice": 0, "unitUnit": "", "priceExcl": 6.5702, "priceIncl": 7.95, "priceCost": 0, "oldPriceExcl": 0, "oldPriceIncl": 0, "stockTracking": "enabled", "stockLevel": 91, "stockAlert": 5, "stockMinimum": 0, "stockSold": 1, "stockBuyMininum": 1, "stockBuyMinimum": 1, "stockBuyMaximum": 100, "weight": 500, "weightValue": "500.000", "weightUnit": "g", "volume": 0, "volumeValue": 0, "volumeUnit": "ml", "colli": 0, "sizeX": 0, "sizeY": 0, "sizeZ": 0, "sizeXValue": "0.000", "sizeYValue": "0.000", "sizeZValue": "0.000", "sizeUnit": "cm", "matrix": false, "title": "-", "taxType": "", "image": false, "tax": { "resource": { "id": 50320, "url": "taxes/50320", "link": "http://api.webshopapp.com/nl/taxes/50320.json" } }, "product": { "resource": { "id": 88509965, "url": "products/88509965", "link": "http://api.webshopapp.com/nl/products/88509965.json" } }, "movements": { "resource": { "id": false, "url": "variants/movements?variant=175516697", "link": "http://api.webshopapp.com/nl/variants/movements.json?variant=175516697" } }, "metafields": { "resource": { "id": false, "url": "variants/175516697/metafields", "link": "http://api.webshopapp.com/nl/variants/175516697/metafields.json" } }, "additionalcost": false, "options": [] } }

Especially the change in stock level is hard to explain for us. We can't find anything in the activity log in lightspeed around this time, which could explain it.

Sign In or Register to comment.