POST /product_tutorials/:id/product_tutorial_warnings/create

POST /product_tutorials/{id}/product_tutorial_warnings/create

Create product tutorial warning

Path parameters

  • id integer(int64) Required

    ID of the resource to fetch

Body Required

Responses

POST /product_tutorials/{id}/product_tutorial_warnings/create
curl \
 -X POST https://api.cosmily.com/api/v1/product_tutorials/{id}/product_tutorial_warnings/create \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '[{"warning":"string"}]'
Request example
[
  {
    "warning": "string"
  }
]
Request examples
[
  {
    "warning": "string"
  }
]
Response examples (201)
[
  {
    "id": 42,
    "product_tutorial_id": 42,
    "warning": "string",
    "created_at": "string",
    "updated_at": "string"
  }
]
Response examples (201)
[
  {
    "id": 42,
    "product_tutorial_id": 42,
    "warning": "string",
    "created_at": "string",
    "updated_at": "string"
  }
]