Hi there.
VTEX told that this functionality was already working with seller awareness and we release it for 22+ websites, but apparently is not.
When I fill the form with a product without stock and check the API value the seller object is getting the wrong one and put it as a default. The correct one should be called motorolaeudr
{
"id": "2b9ebdd2-418a-11ec-82ac-16e3d3268643",
"dataEntityId": "notify",
"accountId": "94be96b9-8abc-4057-bae3-1a59e90213fd",
"accountName": "motorolauk",
"followers": [],
"schemas": [
"notify"
],
"name": "s",
"email": "hugo.costa@corebiz.ag",
"skuId": "304",
"createdAt": "2021-11-09T18:23:53.828Z",
"notificationSend": "false",
"locale": "en-GB",
"seller": {
"sellerId": "1",
"sellerName": "Motorola.co.uk",
"addToCartLink": "https://portal.vtexcommercestable.com.br/checkout/cart/add?sku=304&qty=1&seller=1&sc=1&price=0&cv=7BDD73AE65C4DC2A07E2881E913C9698_&sc=1",
"sellerDefault": true
},
"createdBy": "952dd5b6-6894-4ea0-8106-a2bff120636d",
"createdBy_USER": {
"Id": "952dd5b6-6894-4ea0-8106-a2bff120636d",
"Login": "vrn--vtexsphinx--aws-us-east-1--motorolauk--notify--app_vtex.availability-notify@1.2.1",
"Name": null
},
"createdIn": "2021-11-09T18:23:53.9415633Z",
"lastInteractionBy": "952dd5b6-6894-4ea0-8106-a2bff120636d",
"lastInteractionBy_USER": {
"Id": "952dd5b6-6894-4ea0-8106-a2bff120636d",
"Login": "vrn--vtexsphinx--aws-us-east-1--motorolauk--notify--app_vtex.availability-notify@1.2.1",
"Name": null
},
"lastInteractionIn": "2021-11-09T18:23:53.9415633Z",
"tags": [],
"dataInstanceId": "2b9ebdd2-418a-11ec-82ac-16e3d3268643"
}
I tried to create a document with the correct Seller object and an SKU that has a stock to check if the email was triggered but did not work. I waited 2 hours and also ran the API to trigger the requests (Process all unsent request and Process all requests)
Document created:
{
"id": "491a9528-4968-11ec-82ac-0a9a526de39b",
"dataEntityId": "notify",
"accountId": "94be96b9-8abc-4057-bae3-1a59e90213fd",
"accountName": "motorolauk",
"followers": [],
"schemas": [
"notify"
],
"sendAt": "",
"createdAt": "2021-11-09T18:23:53.828Z",
"email": "hugo.costa@corebiz.ag",
"name": "Hugo Costa test",
"notificationSend": "false",
"skuId": "373",
"seller": {
"sellerId": "motorolaeudr",
"sellerName": "Motorola DR",
"addToCartLink": "https://portal.vtexcommercestable.com.br/checkout/cart/add?sku=373&qty=1&seller=1&sc=1&price=0&cv=0CAF8478C06F8D5EC9C000523CC0339F_&sc=1",
"sellerDefault": true
},
"createdBy": "bf2618e8-53f0-480a-bca6-f649df6921d2",
"createdBy_USER": {
"Id": "bf2618e8-53f0-480a-bca6-f649df6921d2",
"Login": "vtexappkey-motorolauk-OQZJVZ",
"Name": null
},
"createdIn": "2021-11-19T18:41:29.9738801Z",
"lastInteractionBy": "bf2618e8-53f0-480a-bca6-f649df6921d2",
"lastInteractionBy_USER": {
"Id": "bf2618e8-53f0-480a-bca6-f649df6921d2",
"Login": "vtexappkey-motorolauk-OQZJVZ",
"Name": null
},
"lastInteractionIn": "2021-11-19T18:41:29.9738801Z",
"tags": [],
"dataInstanceId": "491a9528-4968-11ec-82ac-0a9a526de39b"
}
I checked the .NET code and don't seem to be getting the Seller Stock quantity...
Marketplace account used: motorolauk
Seller account: motorolaeudr
Marketplace SKU Id: 373
We need a solution for that asap.
P.S: The maintainers could update the README to give the users more clear information on how to use and implement this app. It has already a PR for that. (#14)
Many thanks!
Hi there.
VTEX told that this functionality was already working with seller awareness and we release it for 22+ websites, but apparently is not.
When I fill the form with a product without stock and check the API value the seller object is getting the wrong one and put it as a default. The correct one should be called motorolaeudr
{ "id": "2b9ebdd2-418a-11ec-82ac-16e3d3268643", "dataEntityId": "notify", "accountId": "94be96b9-8abc-4057-bae3-1a59e90213fd", "accountName": "motorolauk", "followers": [], "schemas": [ "notify" ], "name": "s", "email": "hugo.costa@corebiz.ag", "skuId": "304", "createdAt": "2021-11-09T18:23:53.828Z", "notificationSend": "false", "locale": "en-GB", "seller": { "sellerId": "1", "sellerName": "Motorola.co.uk", "addToCartLink": "https://portal.vtexcommercestable.com.br/checkout/cart/add?sku=304&qty=1&seller=1&sc=1&price=0&cv=7BDD73AE65C4DC2A07E2881E913C9698_&sc=1", "sellerDefault": true }, "createdBy": "952dd5b6-6894-4ea0-8106-a2bff120636d", "createdBy_USER": { "Id": "952dd5b6-6894-4ea0-8106-a2bff120636d", "Login": "vrn--vtexsphinx--aws-us-east-1--motorolauk--notify--app_vtex.availability-notify@1.2.1", "Name": null }, "createdIn": "2021-11-09T18:23:53.9415633Z", "lastInteractionBy": "952dd5b6-6894-4ea0-8106-a2bff120636d", "lastInteractionBy_USER": { "Id": "952dd5b6-6894-4ea0-8106-a2bff120636d", "Login": "vrn--vtexsphinx--aws-us-east-1--motorolauk--notify--app_vtex.availability-notify@1.2.1", "Name": null }, "lastInteractionIn": "2021-11-09T18:23:53.9415633Z", "tags": [], "dataInstanceId": "2b9ebdd2-418a-11ec-82ac-16e3d3268643" }I tried to create a document with the correct Seller object and an SKU that has a stock to check if the email was triggered but did not work. I waited 2 hours and also ran the API to trigger the requests (Process all unsent request and Process all requests)
Document created:
{ "id": "491a9528-4968-11ec-82ac-0a9a526de39b", "dataEntityId": "notify", "accountId": "94be96b9-8abc-4057-bae3-1a59e90213fd", "accountName": "motorolauk", "followers": [], "schemas": [ "notify" ], "sendAt": "", "createdAt": "2021-11-09T18:23:53.828Z", "email": "hugo.costa@corebiz.ag", "name": "Hugo Costa test", "notificationSend": "false", "skuId": "373", "seller": { "sellerId": "motorolaeudr", "sellerName": "Motorola DR", "addToCartLink": "https://portal.vtexcommercestable.com.br/checkout/cart/add?sku=373&qty=1&seller=1&sc=1&price=0&cv=0CAF8478C06F8D5EC9C000523CC0339F_&sc=1", "sellerDefault": true }, "createdBy": "bf2618e8-53f0-480a-bca6-f649df6921d2", "createdBy_USER": { "Id": "bf2618e8-53f0-480a-bca6-f649df6921d2", "Login": "vtexappkey-motorolauk-OQZJVZ", "Name": null }, "createdIn": "2021-11-19T18:41:29.9738801Z", "lastInteractionBy": "bf2618e8-53f0-480a-bca6-f649df6921d2", "lastInteractionBy_USER": { "Id": "bf2618e8-53f0-480a-bca6-f649df6921d2", "Login": "vtexappkey-motorolauk-OQZJVZ", "Name": null }, "lastInteractionIn": "2021-11-19T18:41:29.9738801Z", "tags": [], "dataInstanceId": "491a9528-4968-11ec-82ac-0a9a526de39b" }I checked the .NET code and don't seem to be getting the Seller Stock quantity...
Marketplace account used: motorolauk
Seller account: motorolaeudr
Marketplace SKU Id: 373
We need a solution for that asap.
P.S: The maintainers could update the README to give the users more clear information on how to use and implement this app. It has already a PR for that. (#14)
Many thanks!