Partner
Generate test data for partner development
Changed onGenerates a test user and a lab requisition with a booked appointment for partner integration testing. Fetch it with GET /v2/partner/requisition/{id}. Only available in non-production environments.
post/v2/partner/development/add-test-data
Request
- Base URLhttps://api.prod.whoop.com/developer
- AuthOAuth 2Client credentialsToken URLhttps://api.prod.whoop.com/developer/v2/partner/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
appointmentType'IN_PERSON' | 'MOBILE' | 'VIRTUAL'
Appointment to book: IN_PERSON (default, lab collection) or MOBILE (home collection, includes collection_address).
Response
Test data generated successfully
Changes
- info
endpoint added
- info