'How to create test orders on flipkart API

I want to create a dummy order to test the flipkart API. I am putting all the necessary fields but still getting 401 error. How could I create dummy orders on flipkart swagger API?

This is my payload:

{
  "shipmentType": "SELF",
  "locationId": "LOCff1c085b37c1447298069854ilkd505",
  "orderItems": [
    {
      "listingId": "LSTAPBGB43RAHPPUAT8448YF",
      "quantity": 1,
      "subItem": {
        "listingId": "LSTAPBGB43RAHPPUAT8448YF"
      }
    }
  ]
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source