API Support
Mtx.PurchaseItems documentation on metadata objects
almost 7 years ago by Øyvind Johansen Amundrud
Hello.
The documentation on Mtx.PurchaseItems says that the items parameter can be an: "Array of item identifier strings, or an array of objects each with a name and data field."
However the code example shows an object with an "identifier" field instead of a name field.
var items = [{identifier:"sword", data:"+1str"}];
Are metadata objects supposed to have an identifier or name field?