Fetch Inventory Report


This API generates the Inventory report and send it to the inventory webhook in the CSV format. In order to use this feature, we need the inventory webhook URL of your server. The URL can be shared with our team through the email. For the response structure of the webhook, please check this page

Basic Information

  • Method: GET
  • URI: /inventory/report
  • Response Format: JSON

Headers

The following headers should be sent along with the request

  • Accept: application/json
  • Authorization: Your API Key

Request

Sample Request

https://dev-fc-api.aymakan.net/api/v1/inventory/report

Response

Sample response is added here:

{
    "success": true,
    "message": "Report generation in progress. You'll soon receive the response on the webhook",
    "data": null,
    "meta": null
}