Subscription Plans
The Subscription Plans API allows you to manage subscription plans for your ERP system. This API enables you to create, retrieve, update, and delete subscription plans, providing flexibility for diffe
Get all Plans
POST https://api.myapi.com/v1/pet
Fetches all plans.
Query Parameters
limit
string
Limit the number of subscription plans returned in the response. Useful for pagination.
offset
number
Skip a number of subscription plans before starting to return the results. Useful for pagination
sort_by
string
Sort the subscription plans by a specific field. Common sortable fields include amount, titlee, and createdat. Default sorting is in ascending order
{
"name": "Wilson",
"owner": {
"id": "sha7891bikojbkreuy",
"name": "Samuel Passet",
"species": "Dog",}
"breed": "Golden Retriever",
}Updating a pet
- : read your pets
- : modify pets in your account
doggiepet status in the store
Invalid ID supplied
No content
Pet not found
Validation exception
PUT /v2/pet HTTP/1.1
Host: petstore.swagger.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 132
{
"id": 1,
"category": {
"id": 1,
"name": "text"
},
"name": "doggie",
"photoUrls": [
"text"
],
"tags": [
{
"id": 1,
"name": "text"
}
],
"status": "available"
}No content
Create a new user
POST /users
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
name
string
Name of the user
age
number
Age of the user
Response
{
"id": 1,
"name": "John",
"age": 30
}{
"error": "Invalid request"
}Last updated