PATCH /product_tutorials/:id/publish

PATCH /product_tutorials/{id}/publish

Publish product tutorial

Path parameters

  • id integer(int64) Required

    ID of the resource to fetch

Responses

PATCH /product_tutorials/{id}/publish
curl \
 -X PATCH https://api.cosmily.com/api/v1/product_tutorials/{id}/publish \
 -H "Authorization: Bearer $ACCESS_TOKEN"
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"
  }
}