Documentation
Feedback
Guides

Release Notes
Release Notes
Improved
Custom IO apps need to add the ListOrders resource
February, 9

Recently, VTEX created the ListOrders License Manager resource, which gives permission to list orders from a given account. Before, the OMSViewer allowed both viewing and listing orders, but now each resource grants permission for a single action:

  • OMSViewer: view orders.
  • ListOrders: list orders.

Starting on March 15th, 2023, the new ListOrders resource will be automatically added to all authentications (roles and appkeys) that use the OMSViewer resource. In those cases, no action will be necessary.

However, to work as before, in addition to the previous OMSViewer resource, accounts with custom IO apps will need to add the ListOrders resource on their manifest.json file. That way, they will be able to view orders and make List Orders requests.

To make the update, go to the manifest.json file of your app project and add the ListOrders resource to the policies field, as shown in the example below:


_10
{
_10
"policies": [
_10
{
_10
"name": "OMSViewer"
_10
},
_10
{
_10
"name": "ListOrders"
_10
}
_10
]
_10
}

Was this helpful?
Yes
No
On this page