v1.0.0
  • latest
  • v1.0.0
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
v1.0.0
  • latest
  • v1.0.0
v1.0.0
  • latest
  • v1.0.0
  1. Sample APIs
  • Start your Apidog journey
  • Sample APIs
    • Find pet by ID
      GET
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Deletes a pet
      DELETE
    • Finds Pets by status
      GET
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
v1.0.0
  • latest
  • v1.0.0
v1.0.0
  • latest
  • v1.0.0
  1. Sample APIs

Add a new pet to the store

Local Env
https://api.local.bidancer.com
Local Env
https://api.local.bidancer.com
POST
https://api.local.bidancer.com
/pet
Last modified:2025-01-26 10:34:50

Request

Body Params application/x-www-form-urlencoded

Responses

🟢201OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.local.bidancer.com/pet' \
--data-urlencode 'name=Hello Kitty' \
--data-urlencode 'status=sold'
Response Response Example
{
    "code": 0,
    "data": {
        "name": "Hello Kitty",
        "photoUrls": [
            "http://dummyimage.com/400x400"
        ],
        "id": 3,
        "category": {
            "id": 71,
            "name": "Cat"
        },
        "tags": [
            {
                "id": 22,
                "name": "Cat"
            }
        ],
        "status": "sold"
    }
}
Modified at 2025-01-26 10:34:50
Previous
Find pet by ID
Next
Update an existing pet
Built with