GET /my/product_pitches
Returns the product_pitches belonging to the logged in user
GET /my/product_pitches
curl \
-X GET https://api.cosmily.com/api/v1/my/product_pitches \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 42,
"product_id": 42,
"user_id": 42,
"effects": [
{
"effect": "string",
"ingredient_ids": [
42
]
}
],
"preferred_ingredients": [
{
"effects": [
"string"
],
"ingredient_id": 42
}
],
"affiliate_url": "string",
"coupon_code": "string",
"created_at": "string",
"updated_at": "string"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}
Response examples (200)
{
"data": [
{
"id": 42,
"product_id": 42,
"user_id": 42,
"effects": [
{
"effect": "string",
"ingredient_ids": [
42
]
}
],
"preferred_ingredients": [
{
"effects": [
"string"
],
"ingredient_id": 42
}
],
"affiliate_url": "string",
"coupon_code": "string",
"created_at": "string",
"updated_at": "string"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}