Exporting order data
You can use the HCL Commerce REST API to export order data of a specific store. The output is exported in CSV format.
Before you begin
Note: By default, for
each store, only 1 order export is allowed per user (with the appropriate access control role) per
hour. To change the minimum time between exports, see Configuring the minimum elapsed time between order exports.
Procedure
-
Use the Organization Administration Console to assign the following roles to an HCL Commerce user:
- Assign the Registered Customer role to the user. This role allows users to log in to the store and access the order export tools in the Swagger UI. This role is necessary if the user password is expired and must be reset by using the storefront.
- Assign any of the following roles to provide access to export and download order data:
- Operations Manager
- Buyer ( sell side)
- Category Manager
- Marketing Manager
- Operations Manager
- Logistics Manager
- Sales Manager
- Product Manager
- Seller
- Site Administrator
- Go to the Aurora starter store and log in to the store with a user account that has access to export orders. You need to log in to use the order export REST services that are in the Swagger UI.
-
Open a web browser and go to the following URL to access the Swagger UI:
https://hostname/webapp/wcs/stores/servlet/swagger/index.html
In the Swagger UI, the order_export class is used to export order data. Then, the order_download class is used to download the exported order data.
-
Export the order data.
-
Download the exported order data.