Skip to main content
GET
/
wellnessPlanSubscriptions
cURL
curl --request GET \
  --url https://api.cuddles.care/v1/wellnessPlanSubscriptions \
  --header 'Authorization: Bearer <token>'
{
  "total": 12,
  "data": [
    {
      "id": "18221470-5b01-4ec8-8766-c823dd5bc9d3",
      "status": "Active",
      "autoRenew": true,
      "wellnessPlanSubscriptionStatus": "Active",
      "selectedPractice": {
        "id": "the_schwarzman_animal_medical_center",
        "businessName": "The Schwarzman Animal Medical Center",
        "type": "emergencyPractice",
        "email": {
          "work": "[email protected]"
        },
        "phone": {
          "main": "+18328156279",
          "fax": null
        }
      },
      "selectedPatient": {
        "species": "Dog",
        "firstName": "Tony",
        "lastName": "King",
        "patientName": "Tony  King",
        "type": "patientDog",
        "id": "7f7053a0-b238-4d15-b342-3ea6ca2b56c2"
      },
      "subscriptionDetails": {
        "items": {
          "service1": {
            "service": "Senior Dog Plan",
            "ageGroup": "Senior (7 to 10 Years)",
            "price": "$60.00",
            "qty": 1,
            "tax": "$3.00",
            "total": "$60.00",
            "imageUrl": "https://d24s7ywwar9ske.cloudfront.net/e74014df-d5a8-4250-aa74-3b0c299e3a2c"
          }
        },
        "subTotal": "60.00",
        "taxTotal": "3.00",
        "total": "60.00"
      },
      "selectedService": {
        "id": "7af8d1ae-57de-42ab-a58a-bcf3e43f7184",
        "type": "wellnessPlan",
        "title": "Senior Dog Plan",
        "species": "Dog",
        "ageGroup": "Senior (7 to 10 Years)"
      },
      "paymentDetails": {
        "id": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
        "billingDetails": {
          "address": {
            "streetAddress": "",
            "city": "",
            "state": "",
            "country": "US",
            "zip": "10022"
          },
          "email": "",
          "name": "",
          "phone": ""
        },
        "card": {
          "brand": "visa",
          "country": "US",
          "expMonth": 12,
          "expYear": 2028,
          "funding": "credit",
          "last4": "4242"
        },
        "created": 1701359052,
        "type": "paymentMethod",
        "paymentType": "card",
        "default": null,
        "isDefault": false,
        "defaultValue": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
        "paymentId": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
        "customer": {
          "customerHolder": {
            "id": "8b70d359-89c2-40af-9619-28fd015574a2",
            "type": "petparent"
          },
          "type": "customer",
          "id": "0822e4b9-dace-48de-8ec8-9c3c32726bfa",
          "customerId": "cus_P6PDtw75WDJBr2"
        }
      },
      "selectedClient": {
        "id": "12b5c20c-9092-4a6a-a130-1c1ef61adc80",
        "type": "client",
        "firstName": "Martin",
        "lastName": "Lewis",
        "fullName": "Martin Lewis",
        "phone": {
          "home": "+18328156279"
        },
        "email": {
          "main": "[email protected]"
        }
      },
      "subscriptionPeriod": "Monthly",
      "planDate": "2023-12-01T15:50:41+05:30",
      "planEndDate": "2032-09-01T10:20:42.540Z",
      "subscription": {
        "id": "sub_1OITpvFqoVWwtVyeOaL3eRlE",
        "type": "subscription"
      },
      "type": "wellnessPlanSubscription"
    },
    {
      "id": "18221470-5b01-4ec8-8766-c823dd5bc9d3",
      "status": "Active",
      "autoRenew": true,
      "wellnessPlanSubscriptionStatus": "Active",
      "selectedPractice": {
        "id": "the_schwarzman_animal_medical_center",
        "businessName": "The Schwarzman Animal Medical Center",
        "type": "emergencyPractice",
        "email": {
          "work": "[email protected]"
        },
        "phone": {
          "main": "+18328156279",
          "fax": null
        }
      },
      "selectedPatient": {
        "species": "Dog",
        "firstName": "Tony",
        "lastName": "King",
        "patientName": "Tony  King",
        "type": "patientDog",
        "id": "7f7053a0-b238-4d15-b342-3ea6ca2b56c2"
      },
      "subscriptionDetails": {
        "items": {
          "service1": {
            "service": "Senior Dog Plan",
            "ageGroup": "Senior (7 to 10 Years)",
            "price": "$60.00",
            "qty": 1,
            "tax": "$3.00",
            "total": "$60.00",
            "imageUrl": "https://d24s7ywwar9ske.cloudfront.net/e74014df-d5a8-4250-aa74-3b0c299e3a2c"
          }
        },
        "subTotal": "60.00",
        "taxTotal": "3.00",
        "total": "60.00"
      },
      "selectedService": {
        "id": "7af8d1ae-57de-42ab-a58a-bcf3e43f7184",
        "type": "wellnessPlan",
        "title": "Senior Dog Plan",
        "species": "Dog",
        "ageGroup": "Senior (7 to 10 Years)"
      },
      "paymentDetails": {
        "id": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
        "billingDetails": {
          "address": {
            "streetAddress": "",
            "city": "",
            "state": "",
            "country": "US",
            "zip": "10022"
          },
          "email": "",
          "name": "",
          "phone": ""
        },
        "card": {
          "brand": "visa",
          "country": "US",
          "expMonth": 12,
          "expYear": 2028,
          "funding": "credit",
          "last4": "4242"
        },
        "created": 1701359052,
        "type": "paymentMethod",
        "paymentType": "card",
        "default": null,
        "isDefault": false,
        "defaultValue": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
        "paymentId": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
        "customer": {
          "customerHolder": {
            "id": "8b70d359-89c2-40af-9619-28fd015574a2",
            "type": "petparent"
          },
          "type": "customer",
          "id": "0822e4b9-dace-48de-8ec8-9c3c32726bfa",
          "customerId": "cus_P6PDtw75WDJBr2"
        }
      },
      "selectedClient": {
        "id": "12b5c20c-9092-4a6a-a130-1c1ef61adc80",
        "type": "client",
        "firstName": "Martin",
        "lastName": "Lewis",
        "fullName": "Martin Lewis",
        "phone": {
          "home": "+18328156279"
        },
        "email": {
          "main": "[email protected]"
        }
      },
      "subscriptionPeriod": "Monthly",
      "planDate": "2023-12-01T15:50:41+05:30",
      "planEndDate": "2032-09-01T10:20:42.540Z",
      "subscription": {
        "id": "sub_1OITpvFqoVWwtVyeOaL3eRlE",
        "type": "subscription"
      },
      "type": "wellnessPlanSubscription"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:1

Page number of the list

Required range: x >= 1
size
integer
default:10

Number of records to return per page

Required range: 1 <= x <= 100
createdFrom
string

Start creation date of the record Format of the date should be ISO format

createdTo
string

End creation date of the record Format of the date should be ISO format

updatedFrom
string

Start updated date of the record Format of the date should be ISO format

updatedTo
string

End updated date of the record Format of the date should be ISO format

practiceId
string

ID of practice from which records need to be filtered

clientId
string

ID of client from which records need to be filtered

patientId
string

ID of patient from which records need to be filtered

planId
string

ID of plan from which records need to be filtered

status
enum<string>

status of plan from which records need to be filtered

Available options:
Active,
In Active,
Processing,
Canceled

Response

List of all wellness plans

total
integer

Total count of the matched records

Example:

12

data
object[]

Array of wellness plan records

Example:
[
{
"id": "18221470-5b01-4ec8-8766-c823dd5bc9d3",
"status": "Active",
"autoRenew": true,
"wellnessPlanSubscriptionStatus": "Active",
"selectedPractice": {
"id": "the_schwarzman_animal_medical_center",
"businessName": "The Schwarzman Animal Medical Center",
"type": "emergencyPractice",
"email": { "work": "[email protected]" },
"phone": { "main": "+18328156279", "fax": null }
},
"selectedPatient": {
"species": "Dog",
"firstName": "Tony",
"lastName": "King",
"patientName": "Tony King",
"type": "patientDog",
"id": "7f7053a0-b238-4d15-b342-3ea6ca2b56c2"
},
"subscriptionDetails": {
"items": {
"service1": {
"service": "Senior Dog Plan",
"ageGroup": "Senior (7 to 10 Years)",
"price": "$60.00",
"qty": 1,
"tax": "$3.00",
"total": "$60.00",
"imageUrl": "https://d24s7ywwar9ske.cloudfront.net/e74014df-d5a8-4250-aa74-3b0c299e3a2c"
}
},
"subTotal": "60.00",
"taxTotal": "3.00",
"total": "60.00"
},
"selectedService": {
"id": "7af8d1ae-57de-42ab-a58a-bcf3e43f7184",
"type": "wellnessPlan",
"title": "Senior Dog Plan",
"species": "Dog",
"ageGroup": "Senior (7 to 10 Years)"
},
"paymentDetails": {
"id": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
"billingDetails": {
"address": {
"streetAddress": "",
"city": "",
"state": "",
"country": "US",
"zip": "10022"
},
"email": "",
"name": "",
"phone": ""
},
"card": {
"brand": "visa",
"country": "US",
"expMonth": 12,
"expYear": 2028,
"funding": "credit",
"last4": "4242"
},
"created": 1701359052,
"type": "paymentMethod",
"paymentType": "card",
"default": null,
"isDefault": false,
"defaultValue": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
"paymentId": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
"customer": {
"customerHolder": {
"id": "8b70d359-89c2-40af-9619-28fd015574a2",
"type": "petparent"
},
"type": "customer",
"id": "0822e4b9-dace-48de-8ec8-9c3c32726bfa",
"customerId": "cus_P6PDtw75WDJBr2"
}
},
"selectedClient": {
"id": "12b5c20c-9092-4a6a-a130-1c1ef61adc80",
"type": "client",
"firstName": "Martin",
"lastName": "Lewis",
"fullName": "Martin Lewis",
"phone": { "home": "+18328156279" },
"email": {
"main": "[email protected]"
}
},
"subscriptionPeriod": "Monthly",
"planDate": "2023-12-01T15:50:41+05:30",
"planEndDate": "2032-09-01T10:20:42.540Z",
"subscription": {
"id": "sub_1OITpvFqoVWwtVyeOaL3eRlE",
"type": "subscription"
},
"type": "wellnessPlanSubscription"
},
{
"id": "18221470-5b01-4ec8-8766-c823dd5bc9d3",
"status": "Active",
"autoRenew": true,
"wellnessPlanSubscriptionStatus": "Active",
"selectedPractice": {
"id": "the_schwarzman_animal_medical_center",
"businessName": "The Schwarzman Animal Medical Center",
"type": "emergencyPractice",
"email": { "work": "[email protected]" },
"phone": { "main": "+18328156279", "fax": null }
},
"selectedPatient": {
"species": "Dog",
"firstName": "Tony",
"lastName": "King",
"patientName": "Tony King",
"type": "patientDog",
"id": "7f7053a0-b238-4d15-b342-3ea6ca2b56c2"
},
"subscriptionDetails": {
"items": {
"service1": {
"service": "Senior Dog Plan",
"ageGroup": "Senior (7 to 10 Years)",
"price": "$60.00",
"qty": 1,
"tax": "$3.00",
"total": "$60.00",
"imageUrl": "https://d24s7ywwar9ske.cloudfront.net/e74014df-d5a8-4250-aa74-3b0c299e3a2c"
}
},
"subTotal": "60.00",
"taxTotal": "3.00",
"total": "60.00"
},
"selectedService": {
"id": "7af8d1ae-57de-42ab-a58a-bcf3e43f7184",
"type": "wellnessPlan",
"title": "Senior Dog Plan",
"species": "Dog",
"ageGroup": "Senior (7 to 10 Years)"
},
"paymentDetails": {
"id": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
"billingDetails": {
"address": {
"streetAddress": "",
"city": "",
"state": "",
"country": "US",
"zip": "10022"
},
"email": "",
"name": "",
"phone": ""
},
"card": {
"brand": "visa",
"country": "US",
"expMonth": 12,
"expYear": 2028,
"funding": "credit",
"last4": "4242"
},
"created": 1701359052,
"type": "paymentMethod",
"paymentType": "card",
"default": null,
"isDefault": false,
"defaultValue": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
"paymentId": "pm_1OICPQFqoVWwtVyeJtH6fYBS",
"customer": {
"customerHolder": {
"id": "8b70d359-89c2-40af-9619-28fd015574a2",
"type": "petparent"
},
"type": "customer",
"id": "0822e4b9-dace-48de-8ec8-9c3c32726bfa",
"customerId": "cus_P6PDtw75WDJBr2"
}
},
"selectedClient": {
"id": "12b5c20c-9092-4a6a-a130-1c1ef61adc80",
"type": "client",
"firstName": "Martin",
"lastName": "Lewis",
"fullName": "Martin Lewis",
"phone": { "home": "+18328156279" },
"email": {
"main": "[email protected]"
}
},
"subscriptionPeriod": "Monthly",
"planDate": "2023-12-01T15:50:41+05:30",
"planEndDate": "2032-09-01T10:20:42.540Z",
"subscription": {
"id": "sub_1OITpvFqoVWwtVyeOaL3eRlE",
"type": "subscription"
},
"type": "wellnessPlanSubscription"
}
]