PATCH /product_tutorials/:id/set_media_url

PATCH /product_tutorials/{id}/set_media_url

Update product tutorial media url

Path parameters

  • id integer(int64) Required

    ID of the resource to fetch

Body Required

Responses

PATCH /product_tutorials/{id}/set_media_url
curl \
 -X PATCH https://api.cosmily.com/api/v1/product_tutorials/{id}/set_media_url \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"media_url":"string"}'
Request example
{
  "media_url": "string"
}
Request examples
{
  "media_url": "string"
}
Response examples (201)
{
  "data": {
    "id": 42,
    "product_id": 42,
    "user_id": 42,
    "unit_of_measurement_display": "string",
    "measurement_value": "string",
    "general_info": "string",
    "status": "string",
    "created_at": "string",
    "updated_at": "string"
  }
}
Response examples (201)
{
  "data": {
    "id": 42,
    "product_id": 42,
    "user_id": 42,
    "unit_of_measurement_display": "string",
    "measurement_value": "string",
    "general_info": "string",
    "status": "string",
    "created_at": "string",
    "updated_at": "string"
  }
}