POST /product_tutorials/:id/product_tutorial_instructions/create

POST /product_tutorials/{id}/product_tutorial_instructions/create

Create product tutorial instruction

Path parameters

  • id integer(int64) Required

    ID of the resource to fetch

Body Required

Responses

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