Skip to main content
curl --request GET 'https://api.mayar.id/hl/v2/products/6f8c19ff-5b97-4792-aa89-d2a12797b356' \
--header 'Authorization: Bearer Paste-Your-API-Key-Here'
{
    "statusCode": 200,
    "messages": "success",
    "data": {
        "id": "6f8c19ff-5b97-4792-aa89-d2a12797b356",
        "link": "jasa-pembuatan-website",
        "name": "Jasa Pembuatan Website",
        "category": null,
        "limit": null,
        "type": "generic_link",
        "subType": null,
        "variant": null,
        "userId": "348e083d-315a-4e5c-96b1-5a2a98c48413",
        "membershipTier": [],
        "event": null,
        "order": null,
        "qty": null,
        "amount": 150000,
        "status": "active",
        "description": "<p>Jasa pembuatan website company profile.</p>\n",
        "coverImageId": "2529541f-dc98-4ca0-93bb-3c1d35a8dd07",
        "multipleImageId": null,
        "transactions": [
            {
                "id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
                "extraData": null
            }
        ],
        "multipleImage": null,
        "coverImage": {
            "id": "2529541f-dc98-4ca0-93bb-3c1d35a8dd07",
            "fileType": "jpeg",
            "url": "https://media.mayar.id/images/2529541f-dc98-4ca0-93bb-3c1d35a8dd07.jpeg"
        },
        "linkUrl": "https://testingmayar.myr.id/plink/jasa-pembuatan-website",
        "linkPayment": "https://testingmayar.myr.id/pl/jasa-pembuatan-website"
    }
}
Endpoint:
https://api.mayar.id/hl/v2/products/{id}

Authorization

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

Path Parameters

id
string <uuid>
required
Unique product ID.

Response

Successful Response

Main Structure (Root)

statusCode
integer
Status code form API.
messages
string
Status message that describes the status code.
data
object
The product detail object.

data Structure (Object)

id
string
Unique identifier of the product.
Unique slug or identifier used in the product URL.
name
string
Product name.
category
string | null
Product category if available.
limit
integer | null
Purchase or access limit if configured.
type
string
Product type (e.g., saas, event, membership, ebook, etc.).
subType
string | null
Product subtype if applicable.
variant
string | null
Product variant.
userId
string
Identifier of the product owner.
membershipTier
array | null
Membership product tier.
event
object | null
Event details.
order
object | null
Order configuration if applicable.
qty
string | null
Number of product.
amount
integer
Product price amount.
status
string
Current product status (e.g., active, inactive).
description
string
Product description in HTML format.
coverImageId
string | null
Identifier of the cover image.
multipleImageId
string | null
Identifier list of additional images.
transactions
array | null
List of related transactions (empty if none).
multipleImage
array | null
List of additional image objects.
coverImage
object | null
Cover image object containing image details.
Public product page URL.
Public payment link URL.