Pets Api
Pets Api endpoints from VTEX
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Pets Api endpoints from VTEX
Endpoints 3
pets
- GETList all pets
/pets?limit=0 - POSTCreate a pet
/pets - GETInfo for a specific pet
/pets/:petId
API details
- Base URL
https://vtex.localhttps://{accountName}.{environment}.com.br- Authentication
- An API key in the X-VTEX-API-AppKey header
An API key in the X-VTEX-API-AppToken header - Operations
- 3 operations on 2 pathsGET 2POST 1
- Main resources
- pets 3
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
1.0.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Pets Api in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Pets Api collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the X-VTEX-API-AppKey header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “List all pets” (GET /pets?limit=0), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Pets Api?
Pets Api endpoints from VTEX It is listed under Other and has 3 endpoints.
Who publishes the Pets Api?
It is listed from VTEX's public API description (an OpenAPI document), not published by VTEX on Swastik Codes. Anyone who controls vtex.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Pets Api?
Its description lists 2 base URLs: https://vtex.local, https://{accountName}.{environment}.com.br. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the Pets Api?
It accepts 2 methods: an API key in the X-VTEX-API-AppKey header; an API key in the X-VTEX-API-AppToken header.
How many endpoints does the Pets Api have?
3 operations on 2 paths (2 GET, 1 POST). The largest groups are pets.
Is forking the Pets Api free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.