API Support

Ask a Question
Back to All

Mtx.PurchaseItems documentation on metadata objects

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?