API Reference
Reference for the API
JavaScript
import Dasdk from 'dasdk'; const client = new Dasdk({ apiKey: 'My API Key', }); const pet = await client.pet.update({ name: 'doggie', photoUrls: ['string'] }); console.log(pet.id);
{ "name": "doggie", "photoUrls": [ "<string>" ], "id": 10, "category": { "id": 1, "name": "Dogs" }, "tags": [ { "id": 123, "name": "<string>" } ], "status": "available" }
Update an existing pet by Id
Documentation IndexFetch the complete documentation index at: https://docs.consignease.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.consignease.com/llms.txt
Use this file to discover all available pages before exploring further.
Update an existent pet in the store
"doggie"
10
Show child attributes
pet status in the store
available
pending
sold
Successful operation