Project
    Project
    • Back to home
    • Sample APIs
    • Find pet by ID
      GET
    • Add a new pet to the store
      POST
    • Find pet's buyer
      GET
    • Update an existing pet
      PUT
    • Deletes a pet
      DELETE
    • Finds Pets by status
      GET

      Find pet's buyer

      Developing
      GET
      /buyer
      Find pet's buyer by pet's id

      Request

      Query Params

      Header Params

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://mock.apidog.com/m1/545587-0-default/buyer?pet id&name&category' \
      --header 'ACCESS_TOKEN: ss'

      Responses

      🟢200Success
      application/json
      Body

      Example
      {
          "id": 1,
          "name": "doggie",
          "photoUrls": [
              "string"
          ],
          "category": {
              "id": 1,
              "name": "string"
          },
          "tags": [
              {
                  "id": 1,
                  "name": "string"
              }
          ],
          "status": "available",
          "buyer's name": "string"
      }
      Modified at 2024-05-22 12:44:20
      Previous
      Add a new pet to the store
      Next
      Update an existing pet
      Built with