zwei.9073:

I would like to know whether item is stackable (usually crafting material, booster, consumable, upgrade, loot box…) or not (usually weapon or armor piece, some gizmos) or if it is special case (item has charges like salvage kits or gathering tools, but cann not be stacked or split).

Is this possible from API? Inventory/Bank api always shows stack number of at least 1, Item api does not show anything like that.

Lawton Campbell.8517:

AFAIK, not currently. I should dig up that flag and add it to /v2/items.

StevenL.3761:

Maybe unrelated, but it’s possible to generate chat codes for item stacks up to 255 items for any item type. So it seems that any item is fundamentally stackable.

MegumiAzusa.2918:

Maybe unrelated, but it’s possible to generate chat codes for item stacks up to 255 items for any item type. So it seems that any item is fundamentally stackable.

The game just prints the information contained in the code without error checking, even if actually illegal ingame.
Also a simple bool/flag to check if one can stack it is much less work than creating a new class with different inventory handling.

StevenL.3761:

Where I was going is that stack-ability is most likely a setting that can be changed per item. Your app infrastructure would have to take that into account.

zwei.9073:

AFAIK, not currently. I should dig up that flag and add it to /v2/items.

Thank you!

Roy Spector.5781:

Just letting you know this is still needed, in case everyone forgot about it.
Thanks.