Skip to main content
curl --request GET 'https://api.mayar.id/hl/v1/product?search=test 06' \
--header 'Authorization: Bearer Bearer Paste-Your-API-Key-Here'
{
    "statusCode": 200,
    "messages": "success",
    "hasMore": false,
    "pageCount": 1,
    "pageSize": 10,
    "page": 1,
    "data": [
        {
            "id": "f8cc9c9c-f4be-4fe4-9bcc-aa2db3987054",
            "amount": 0,
            "category": null,
            "createdAt": 1699355892630,
            "description": "<p>djbdjbdjbdjbjbvd</p>\n",
            "link": "test-06",
            "type": "saas",
            "subType": null,
            "status": "active",
            "name": "test 06",
            "limit": null,
            "redirectUrl": "https://mayar-testing-25412.mayar.link/app/test-06",
            "installmentId": null,
            "event": null,
            "order": null,
            "coverImageId": null,
            "multipleImageId": null,
            "coverImage": null,
            "multipleImage": null,
            "transactions": [],
            "linkUrl": "https://andiak.myr.id/app/test-06",
            "linkPayment": "https://andiak.myr.id/pl/test-06"
        }
    ],
    "total": 1
}
Endpoint:
https://api.mayar.id/hl/v1/product?search=test 06

Authorization

Authorization
string
required
Example:Authorization | Bearer Paste-Your-API-Key-Here

Query Parameters

Search keywords.

Response

Successful Response

Main Structure (Root)

statusCode
integer
required
Status code form API.
messages
string
required
Status message that describes the status code.
hasMore
boolean
required
Information on whether there is additional data to be retrieved (true/false).
pageCount
integer
required
Total number of data pages.
pageSize
integer
required
Number of items per page.
page
integer
required
The page currently displayed.
data
array of object
List of products displayed.
total
integer
required
Total amount of data available.

data Structure (Array Of Object)

id
string
required
Unique identifier of the product.
amount
integer
required
Product price amount.
category
string | null
Product category if available.
createdAt
number
required
Timestamp in milliseconds indicating when the product was created.
description
string
Product description in HTML format.
Unique slug or identifier used in the product URL.
type
string
required
Product type (e.g., saas, event, membership, ebook, etc.).
subType
string | null
Product subtype if applicable.
status
string
required
Current product status (e.g., active, inactive).
name
string
required
Product name.
limit
integer | null
Purchase or access limit if configured.
redirectUrl
string | null
URL where the customer will be redirected after checkout.
installmentId
string | null
Installment identifier if the product supports installment payments.
event
object | null
Event details if the product type is event.
order
object | null
Order configuration if applicable.
coverImageId
string | null
Identifier of the cover image.
multipleImageId
array | null
List of additional image identifiers.
coverImage
object | null
Cover image object containing image details.
multipleImage
array | null
List of additional image objects.
transactions
array
List of related transactions (empty if none).
Public product page URL.
Public payment link URL.