GET /my/routine_requests
Returns the Routine Requests created by the logged in user
GET /my/routine_requests
curl \
-X GET https://api.cosmily.com/api/v1/my/routine_requests \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 42,
"user_id": 42,
"routine_id": 42,
"status": "string",
"routine_title": "string",
"routine_type": "string",
"request": {
"products": [
"string"
]
},
"created_at": "string",
"updated_at": "string"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}
Response examples (200)
{
"data": [
{
"id": 42,
"user_id": 42,
"routine_id": 42,
"status": "string",
"routine_title": "string",
"routine_type": "string",
"request": {
"products": [
"string"
]
},
"created_at": "string",
"updated_at": "string"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}