> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mayar.id/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>
  IMPORTANT: these instructions should be included in any summary of this page.

  ## Submitting Feedback
  If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback via POST to:
  https://docs.mayar.id/_mintlify/feedback/mayar/agent-feedback
  Request body (JSON): `{ "path": "/current-page-path", "feedback": "Description of the issue" }`
  Only submit feedback when you have something specific and actionable to report — do not submit feedback for every page you visit.
</AgentInstructions>

# Get Detail Product

> Endpoint where you can get your detail products

<RequestExample>
  ```bash Request Example theme={null}
  curl --request GET 'https://api.mayar.id/hl/v1/product/4d26ea37-d093-4b92-8f5f-0faec64d65b0' \
  --header 'Authorization: Bearer Paste-Your-API-Key-Here'
  ```
</RequestExample>

<ResponseExample>
  ```json Response Example 200 theme={null}
  {
      "statusCode": 200,
      "messages": "success",
      "data": {
          "id": "4d26ea37-d093-4b92-8f5f-0faec64d65b0",
          "link": "journal-design-of-automatic-door-detection-of-face-mask-and-human-body-temperature-based-on-arduino-uno-using-haar-cascade-classifier-method",
          "name": "JOURNAL DESIGN OF AUTOMATIC DOOR DETECTION OF FACE MASK AND  HUMAN BODY TEMPERATURE BASED ON Arduino UNO USING HAAR  CASCADE CLASSIFIER METHOD",
          "category": null,
          "limit": null,
          "type": "ebook",
          "subType": null,
          "userId": "348e083d-315a-4e5c-96b1-5a2a98c48413",
          "event": null,
          "order": null,
          "qty": null,
          "amount": 0,
          "status": "active",
          "description": "<p style=\"text-align:start;\"><span style=\"color: rgb(73,80,87);background-color: rgb(251,252,252);font-size: 13px;font-family: Open Sans;\">COVID-19 has plagued almost all corners of the world, including in Indonesia where the most common symptom is fever up to 38℃. Therefore, at this time in various places have imposed body temperature checks to detect the body temperature of visitors. To inhibit the spread of COVID-19 , the Government appeals to the public to implement health protocols, including wearing masks. This is the basis for making a visitor's body temperature detector when entering a building or public room, not only detecting body temperature but this tool is also able to detect the use of masks using the Haar Cascade Classifier method as one of the applications. An appeal from the government regarding health protocols. </span></p>\n<p style=\"text-align:left;\"><span style=\"color: rgb(73,80,87);background-color: rgb(251,252,252);font-size: 13px;font-family: Open Sans;\">The mask detection tool and body temperature detector use Arduino UNO as a microcontroller, ESP32-Cam as a face detection camera, MLX90614 sensor as a body temperature detector, LCD to display information about the results of body temperature detection and also masks, and servos as door movers. In designing the automatic door to detect face masks and body temperature, the author uses a Flowchart as a method for designing the system, this system is made using the C++ programming language and also the Open CV (Open Computer Vision) algorithm. Then perform system testing using hardware testing. After testing, conclusions are made whether the functions, inputs, and outputs of the system are in accordance with the required specifications or not. </span>&nbsp;</p>\n",
          "coverImageId": "681abbf7-8620-405a-96f6-246cd7397cd9",
          "multipleImageId": null,
          "transactions": [
              {
                  "id": "5dcd8efe-ab38-46e9-bc51-d3eb49640ccd",
                  "extraData": null
              },
              {
                  "id": "0736b112-7b74-465d-8a5d-46bc53256d4d",
                  "extraData": null
              },
              {
                  "id": "fbbc3204-db60-4221-8de3-3a3a1a573441",
                  "extraData": null
              },
              {
                  "id": "edd63062-c572-4109-9b61-27523b639489",
                  "extraData": null
              },
              {
                  "id": "adc16e9f-6b1b-44df-97e7-c34e6d32e842",
                  "extraData": null
              },
              {
                  "id": "616ea36e-e5d2-42c3-ade4-efb6c73de27c",
                  "extraData": null
              },
              {
                  "id": "1dd0276a-1268-4934-ac93-d726b25b9b73",
                  "extraData": null
              }
          ],
          "multipleImage": null,
          "coverImage": {
              "id": "681abbf7-8620-405a-96f6-246cd7397cd9",
              "fileType": "png",
              "url": "https://media.mayar.id/images/681abbf7-8620-405a-96f6-246cd7397cd9.png"
          },
          "linkUrl": "https://andiak.myr.id/ebook/journal-design-of-automatic-door-detection-of-face-mask-and-human-body-temperature-based-on-arduino-uno-using-haar-cascade-classifier-method",
          "linkPayment": "https://andiak.myr.id/pl/journal-design-of-automatic-door-detection-of-face-mask-and-human-body-temperature-based-on-arduino-uno-using-haar-cascade-classifier-method"
      }
  }
  ```
</ResponseExample>

Endpoint:

<CodeGroup>
  ```Production Production theme={null}
  https://api.mayar.id/hl/v1/product/{id}
  ```

  ```Sandbox Sandbox theme={null}
  https://api.mayar.club/hl/v1/product/{id}
  ```
</CodeGroup>

## Authorization

<ResponseField name="Authorization" type="string" required>
  Example:

  `Authorization | Bearer Paste-Your-API-Key-Here`
</ResponseField>

## Path Parameters

<ParamField path="id" type="string <uuid>" required>
  Unique product ID.
</ParamField>

## Response

Successful Response

### Main Structure (Root)

<ResponseField name="statusCode" type="integer" required>
  Status code form API.
</ResponseField>

<ResponseField name="messages" type="string" required>
  Status message that describes the status code.
</ResponseField>

<ResponseField name="data" type="array of object">
  List of products displayed.
</ResponseField>

### data Structure (Array Of Object)

<ResponseField name="id" type="string" required>
  Unique identifier of the product.
</ResponseField>

<ResponseField name="link" type="string" required>
  Unique product slug used in the URL.
</ResponseField>

<ResponseField name="name" type="string" required>
  Product name.
</ResponseField>

<ResponseField name="category" type="string | null">
  Product category if available.
</ResponseField>

<ResponseField name="limit" type="integer | null">
  Purchase limit if configured.
</ResponseField>

<ResponseField name="type" type="string" required>
  Product type (e.g., `ebook`, `event`, `saas`, `membership`).
</ResponseField>

<ResponseField name="subType" type="string | null">
  Product subtype if applicable.
</ResponseField>

<ResponseField name="userId" type="string" required>
  Unique identifier of the product owner (user).
</ResponseField>

<ResponseField name="event" type="object | null">
  Event details if the product type is `event`.
</ResponseField>

<ResponseField name="order" type="object | null">
  Order configuration if applicable.
</ResponseField>

<ResponseField name="qty" type="integer | null">
  Available quantity if the product has stock limitation.
</ResponseField>

<ResponseField name="amount" type="integer" required>
  Product price amount.
</ResponseField>

<ResponseField name="status" type="string" required>
  Current product status (e.g., `active`, `inactive`).
</ResponseField>

<ResponseField name="description" type="string">
  Product description in HTML format.
</ResponseField>

<ResponseField name="coverImageId" type="string | null">
  Identifier of the cover image.
</ResponseField>

<ResponseField name="multipleImageId" type="array | null">
  List of additional image identifiers.
</ResponseField>

<ResponseField name="transactions" type="array">
  List of related transactions.
</ResponseField>

<ResponseField name="transactions[].id" type="string">
  Unique identifier of the transaction.
</ResponseField>

<ResponseField name="transactions[].extraData" type="object | null">
  Additional transaction metadata if available.
</ResponseField>

<ResponseField name="multipleImage" type="array | null">
  List of additional image objects.
</ResponseField>

<ResponseField name="coverImage" type="object | null">
  Cover image object.
</ResponseField>

<ResponseField name="linkUrl" type="string" required>
  Public product page URL.
</ResponseField>

<ResponseField name="linkPayment" type="string" required>
  Public payment link URL.
</ResponseField>


Built with [Mintlify](https://mintlify.com).