question

trevorm avatar image
trevorm asked Brett Dismang commented

Modifiers created by API not showing in web inventory app

Hi,

I've noticed an bug where modifiers that are added to a modifier group through the API are not showing on the web inventory app, but are showing on the Clover station's inventory app. The modifiers seem to work on the station itself, but never seem to show up on the web inventory app. I can provide more details with a proof of concept if needed.

Thanks, -Trevor

InventoryModifiers
3 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dan avatar image Dan ♦ commented ·

Can you provide the item uuids or a sample request?

0 Likes 0 ·
trevorm avatar image trevorm commented ·

MerchantID: KREGFT55QM3QY ModifierGroupID: V3WKJ4HS3YP86 ModifierID: B62AFYJM691NP

Added it today via web API at 2016-08-04 16:50:02 and it does not show up on the web inventory.

Sent: {"price":0,"name":"TMTest123456","alternateName":"TMTest123456"}

Response: {"id":"B62AFYJM691NP","name":"TMTest123456","alternateName":"TMTest123456","price":0,"modifierGroup":{"id":"V3WKJ4HS3YP86"}}

As you can see, I have received a successful response that the modifier was added that particular modifier group; However, the item will not show in the API response for that modifierGroup.

0 Likes 0 ·
Brett Dismang avatar image Brett Dismang commented ·

We really need some help with this! We have merchants who are trying to use this app and this bug is preventing them from being able to use this.

0 Likes 0 ·

1 Answer

trevorm avatar image
trevorm answered

MerchantID: KREGFT55QM3QY ModifierGroupID: V3WKJ4HS3YP86 ModifierID: B62AFYJM691NP

Added it today via web API at 2016-08-04 16:50:02 and it does not show up on the web inventory.

Sent: {"price":0,"name":"TMTest123456","alternateName":"TMTest123456"}

Response: {"id":"B62AFYJM691NP","name":"TMTest123456","alternateName":"TMTest123456","price":0,"modifierGroup":{"id":"V3WKJ4HS3YP86"}}

As you can see, I have received a successful response that the modifier was added that particular modifier group; however, when I then make an API request to retrieve that modifier group from clover, that item never shows up:

Sent: https://api.clover.com/v3/merchants/K...

Received: { "id": "V3WKJ4HS3YP86", "name": "Add", "minRequired": 1, "showByDefault": true, "modifiers": { "elements": [ { "id": "4GF2HNAYV6JBG", "name": "Bagel", "alternateName": "Bagel", "price": 0, "modifierGroup": { "id": "V3WKJ4HS3YP86" } }, { "id": "6EC87YWMPY5N6", "name": "Croissant", "alternateName": "Croissant", "price": 0, "modifierGroup": { "id": "V3WKJ4HS3YP86" } }, { "id": "NSXRSJ4Y4XKB0", "name": "English Muffin", "alternateName": "English Muffin", "price": 0, "modifierGroup": { "id": "V3WKJ4HS3YP86" } }, { "id": "PDXJY75BWMAYE", "name": "Country White", "alternateName": "Country White", "price": 0, "modifierGroup": { "id": "V3WKJ4HS3YP86" } }, { "id": "WVF822BRYT2FJ", "name": "Corn Rye", "alternateName": "Corn Rye", "price": 0, "modifierGroup": { "id": "V3WKJ4HS3YP86" } }, { "id": "G0W3Q2APJ30VA", "name": "GF Bread", "alternateName": "GF Bread", "price": 0, "modifierGroup": { "id": "V3WKJ4HS3YP86" } } ] }, "modifierIds": "4GF2HNAYV6JBG,6EC87YWMPY5N6,NSXRSJ4Y4XKB0,PDXJY75BWMAYE,WVF822BRYT2FJ,G0W3Q2APJ30VA" }

-Trevor

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community