{
  "info": {
    "name": "Petstore (xample.in)",
    "description": "A Petstore you can call. It has the same paths and models as the Swagger Petstore v3, and it always answers.\n\n**Nothing is saved.** Writes are checked and answered as if they were saved, but the next request sees the sample data again. To keep your changes for one hour, send the header `X-Sandbox: <any-name>` (or `?sandbox=<any-name>`). Sandboxes are in memory only.\n\nAuthentication is described but not enforced: any `api_key` or token is accepted.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "pet",
      "item": [
        {
          "name": "Update an existing pet",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Update an existing pet by Id",
            "url": {
              "raw": "{{baseUrl}}/pet",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pet"
              ],
              "query": [],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 10,\n  \"name\": \"doggie\",\n  \"category\": {\n    \"id\": 1,\n    \"name\": \"Dogs\"\n  },\n  \"photoUrls\": [\n    \"string\"\n  ],\n  \"tags\": [\n    {\n      \"id\": 1,\n      \"name\": \"string\"\n    }\n  ],\n  \"status\": \"available\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Add a new pet to the store",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Add a new pet to the store",
            "url": {
              "raw": "{{baseUrl}}/pet",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pet"
              ],
              "query": [],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 10,\n  \"name\": \"doggie\",\n  \"category\": {\n    \"id\": 1,\n    \"name\": \"Dogs\"\n  },\n  \"photoUrls\": [\n    \"string\"\n  ],\n  \"tags\": [\n    {\n      \"id\": 1,\n      \"name\": \"string\"\n    }\n  ],\n  \"status\": \"available\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Finds Pets by status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Multiple status values can be provided with comma separated strings",
            "url": {
              "raw": "{{baseUrl}}/pet/findByStatus",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pet",
                "findByStatus"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "available",
                  "disabled": true,
                  "description": "Status values that need to be considered for filter"
                }
              ],
              "variable": []
            }
          },
          "response": []
        },
        {
          "name": "Finds Pets by tags",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
            "url": {
              "raw": "{{baseUrl}}/pet/findByTags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pet",
                "findByTags"
              ],
              "query": [
                {
                  "key": "tags",
                  "value": "string",
                  "disabled": true,
                  "description": "Tags to filter by"
                }
              ],
              "variable": []
            }
          },
          "response": []
        },
        {
          "name": "Find pet by ID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Returns a single pet",
            "url": {
              "raw": "{{baseUrl}}/pet/:petId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pet",
                ":petId"
              ],
              "query": [],
              "variable": [
                {
                  "key": "petId",
                  "value": "1",
                  "description": "ID of the pet"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Updates a pet in the store with form data",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Updates a pet in the store with form data",
            "url": {
              "raw": "{{baseUrl}}/pet/:petId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pet",
                ":petId"
              ],
              "query": [
                {
                  "key": "name",
                  "value": "string",
                  "disabled": true,
                  "description": "Name of pet that needs to be updated"
                },
                {
                  "key": "status",
                  "value": "string",
                  "disabled": true,
                  "description": "Status of pet that needs to be updated"
                }
              ],
              "variable": [
                {
                  "key": "petId",
                  "value": "1",
                  "description": "ID of the pet"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Deletes a pet",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "api_key",
                "value": "",
                "disabled": true
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Deletes a pet",
            "url": {
              "raw": "{{baseUrl}}/pet/:petId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pet",
                ":petId"
              ],
              "query": [],
              "variable": [
                {
                  "key": "petId",
                  "value": "1",
                  "description": "ID of the pet"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "uploads an image",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/octet-stream"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "uploads an image",
            "url": {
              "raw": "{{baseUrl}}/pet/:petId/uploadImage",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pet",
                ":petId",
                "uploadImage"
              ],
              "query": [
                {
                  "key": "additionalMetadata",
                  "value": "string",
                  "disabled": true,
                  "description": "Additional Metadata"
                }
              ],
              "variable": [
                {
                  "key": "petId",
                  "value": "1",
                  "description": "ID of the pet"
                }
              ]
            },
            "body": {
              "mode": "file",
              "file": {}
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "store",
      "item": [
        {
          "name": "Returns pet inventories by status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Returns a map of status codes to quantities",
            "url": {
              "raw": "{{baseUrl}}/store/inventory",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "store",
                "inventory"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": []
        },
        {
          "name": "Place an order for a pet",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Place a new order in the store",
            "url": {
              "raw": "{{baseUrl}}/store/order",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "store",
                "order"
              ],
              "query": [],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 10,\n  \"petId\": 198772,\n  \"quantity\": 7,\n  \"shipDate\": \"2026-10-20T10:00:00Z\",\n  \"status\": \"approved\",\n  \"complete\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Find purchase order by ID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Orders 1 to 10 exist in the sample data. Other values return 404.",
            "url": {
              "raw": "{{baseUrl}}/store/order/:orderId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "store",
                "order",
                ":orderId"
              ],
              "query": [],
              "variable": [
                {
                  "key": "orderId",
                  "value": "1",
                  "description": "ID of the order"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete purchase order by ID",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Deletes the order. Without a sandbox the order is still there on the next request.",
            "url": {
              "raw": "{{baseUrl}}/store/order/:orderId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "store",
                "order",
                ":orderId"
              ],
              "query": [],
              "variable": [
                {
                  "key": "orderId",
                  "value": "1",
                  "description": "ID of the order"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "user",
      "item": [
        {
          "name": "Create user",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "This can only be done by the logged in user.",
            "url": {
              "raw": "{{baseUrl}}/user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user"
              ],
              "query": [],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 10,\n  \"username\": \"theUser\",\n  \"firstName\": \"John\",\n  \"lastName\": \"James\",\n  \"email\": \"john@example.com\",\n  \"password\": \"12345\",\n  \"phone\": \"12345\",\n  \"userStatus\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Creates list of users with given input array",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Creates list of users with given input array",
            "url": {
              "raw": "{{baseUrl}}/user/createWithList",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "createWithList"
              ],
              "query": [],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    \"id\": 10,\n    \"username\": \"theUser\",\n    \"firstName\": \"John\",\n    \"lastName\": \"James\",\n    \"email\": \"john@example.com\",\n    \"password\": \"12345\",\n    \"phone\": \"12345\",\n    \"userStatus\": 1\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Logs user into the system",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Logs user into the system",
            "url": {
              "raw": "{{baseUrl}}/user/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "login"
              ],
              "query": [
                {
                  "key": "username",
                  "value": "string",
                  "disabled": true,
                  "description": "The user name for login"
                },
                {
                  "key": "password",
                  "value": "string",
                  "disabled": true,
                  "description": "The password for login in clear text"
                }
              ],
              "variable": []
            }
          },
          "response": []
        },
        {
          "name": "Logs out current logged in user session",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Logs out current logged in user session",
            "url": {
              "raw": "{{baseUrl}}/user/logout",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "logout"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": []
        },
        {
          "name": "Get user by user name",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "Use user1 for testing.",
            "url": {
              "raw": "{{baseUrl}}/user/:username",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                ":username"
              ],
              "query": [],
              "variable": [
                {
                  "key": "username",
                  "value": "user1",
                  "description": "The user name"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update user",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "This can only be done by the logged in user.",
            "url": {
              "raw": "{{baseUrl}}/user/:username",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                ":username"
              ],
              "query": [],
              "variable": [
                {
                  "key": "username",
                  "value": "user1",
                  "description": "The user name"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 10,\n  \"username\": \"theUser\",\n  \"firstName\": \"John\",\n  \"lastName\": \"James\",\n  \"email\": \"john@example.com\",\n  \"password\": \"12345\",\n  \"phone\": \"12345\",\n  \"userStatus\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete user",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Sandbox",
                "value": "{{sandbox}}",
                "disabled": true,
                "description": "Enable to keep your changes for one hour"
              }
            ],
            "description": "This can only be done by the logged in user.",
            "url": {
              "raw": "{{baseUrl}}/user/:username",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                ":username"
              ],
              "query": [],
              "variable": [
                {
                  "key": "username",
                  "value": "user1",
                  "description": "The user name"
                }
              ]
            }
          },
          "response": []
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://swapi.xample.in/petstore"
    },
    {
      "key": "sandbox",
      "value": "my-sandbox"
    }
  ]
}