Skip to main content

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.

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": "3d4a503a-04a7-4587-915a-8983f0ab05f7",
            "amount": 300000,
            "category": null,
            "createdAt": 1704961863326,
            "description": "<p>Yo test</p>\n",
            "link": "jasa-pembuatan-website-82187",
            "type": "generic_link",
            "subType": null,
            "status": "deleted",
            "name": "Jasa Pembuatan Website ",
            "limit": null,
            "redirectUrl": "",
            "installmentId": null,
            "variant": "[{\"id\":\"18399af2-1063-4022-868d-23917ee8410b\",\"name\":\"Produk Dengan Jumlah 15\",\"description\":\"<p></p>\\n\",\"amount\":12000,\"limit\":null,\"notes\":\"\",\"redirectUrl\":\"\",\"status\":\"ACTIVE\",\"createdAt\":1728286386687}]",
            "membershipTier": [],
            "event": null,
            "order": null,
            "coverImageId": null,
            "multipleImageId": "468565a7-b2ad-4ec1-8cbe-2308160c5a4b",
            "coverImage": null,
            "multipleImage": [
                {
                    "id": "62a02c2d-2d46-4382-9683-b49e5971bfa0",
                    "fileType": "jpeg",
                    "createdAt": 1729063348803,
                    "updatedAt": 1729064548803,
                    "url": "https://media.mayar.id/images/62a02c2d-2d46-4382-9683-b49e5971bfa0.jpeg"
                },
                {
                    "id": "7b3777d4-0c94-4bfe-9dd9-da691f6bf575",
                    "fileType": "jpeg",
                    "createdAt": 1729063348032,
                    "updatedAt": 1729065148033,
                    "url": "https://media.mayar.id/images/7b3777d4-0c94-4bfe-9dd9-da691f6bf575.jpeg"
                },
                {
                    "id": "c81180e7-e91f-464e-abd7-b19254f76cf0",
                    "fileType": "jpeg",
                    "createdAt": 1729063348209,
                    "updatedAt": 1729063948210,
                    "url": "https://media.mayar.id/images/c81180e7-e91f-464e-abd7-b19254f76cf0.jpeg"
                }
            ],
            "variants": [
                {
                    "id": "18399af2-1063-4022-868d-23917ee8410b",
                    "name": "Produk Dengan Jumlah 15",
                    "description": "<p></p>\n",
                    "amount": 12000,
                    "limit": null,
                    "notes": "",
                    "redirectUrl": "",
                    "status": "ACTIVE",
                    "createdAt": 1728286386687
                }
            ],
            "transactions": [],
            "linkUrl": "https://testingmayar.myr.id/plink/jasa-pembuatan-website-82187",
            "linkPayment": "https://testingmayar.myr.id/pl/jasa-pembuatan-website-82187"
        },
        {
            "id": "6f8c19ff-5b97-4792-aa89-d2a12797b356",
            "amount": 100000,
            "category": null,
            "createdAt": 1768375011056,
            "description": "<p>Testing</p>\n",
            "link": "pembuatan-jasa-web",
            "type": "generic_link",
            "subType": null,
            "status": "active",
            "name": "Pembuatan Jasa Web",
            "limit": null,
            "redirectUrl": "",
            "installmentId": null,
            "variant": "[{\"id\":\"986cb91e-70ee-4579-a046-3201f936e6e1\",\"name\":\"Landing Page \",\"description\":\"<p></p>\\n\",\"amount\":100000,\"limit\":null,\"notes\":\"\",\"redirectUrl\":\"\",\"status\":\"ACTIVE\",\"createdAt\":1778236239496},{\"id\":\"99de25dc-0302-4d64-9467-6f1c85fbc1bb\",\"name\":\"Sistem Crud\",\"description\":\"<p></p>\\n\",\"amount\":500000,\"limit\":null,\"notes\":\"\",\"redirectUrl\":\"\",\"status\":\"ACTIVE\",\"createdAt\":1778236254836}]",
            "membershipTier": [],
            "event": null,
            "order": null,
            "coverImageId": null,
            "multipleImageId": "62840541-d45d-4e3f-a13a-e4f8bcdf4e5d",
            "coverImage": null,
            "multipleImage": [
                {
                    "id": "503d493e-7ae5-4892-80a6-b925e057698f",
                    "fileType": "jpeg",
                    "createdAt": 1775731966396,
                    "updatedAt": 1775731974978,
                    "url": "https://media.mayar.id/images/503d493e-7ae5-4892-80a6-b925e057698f.jpeg"
                }
            ],
            "variants": [
                {
                    "id": "986cb91e-70ee-4579-a046-3201f936e6e1",
                    "name": "Landing Page ",
                    "description": "<p></p>\n",
                    "amount": 100000,
                    "limit": null,
                    "notes": "",
                    "redirectUrl": "",
                    "status": "ACTIVE",
                    "createdAt": 1778236239496
                },
                {
                    "id": "99de25dc-0302-4d64-9467-6f1c85fbc1bb",
                    "name": "Sistem Crud",
                    "description": "<p></p>\n",
                    "amount": 500000,
                    "limit": null,
                    "notes": "",
                    "redirectUrl": "",
                    "status": "ACTIVE",
                    "createdAt": 1778236254836
                }
            ],
            "transactions": [],
            "linkUrl": "https://testingmayar.myr.id/plink/pembuatan-jasa-web",
            "linkPayment": "https://testingmayar.myr.id/pl/pembuatan-jasa-web"
        }
    ],
    "total": 1
}
Endpoint:
https://api.mayar.id/hl/v1/product?search={namaproduk}

Authorization

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

Query Parameters

Search keywords.

Response

Successful Response

Main Structure (Root)

id
string
Unique identifier of the product.
amount
integer
Product price amount.
category
string | null
Product category if available.
createdAt
number
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
Product type (e.g., saas, event, membership, ebook, etc.).
subType
string | null
Product subtype if applicable.
status
string
Current product status (e.g., active, inactive).
name
string
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.
variant
string
Product variant.
membershipTier
string | null
Installment identifier if the product supports installment payments.
event
object | null
Membership product tier.
order
object | null
Order configuration if applicable.
coverImageId
string | null
Identifier of the cover image.
multipleImageId
array
List of additional image identifiers.
coverImage
object | null
Cover image object containing image details.
multipleImage
array
List of additional image objects.
variants
string
Product variant.
transactions
array
List of related transactions (empty if none).
Public product page URL.
Public payment link URL.