curl --request POST 'https://api.mayar.id/hl/v1/product/event/create'\
--header 'Authorization: Bearer Paste-Your-API-Key-Here' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Bootcamp Coding Fullstack Asix",
"description": "Workshop fullstack development 2 hari",
"amount": 3100000,
"crossoutPrice": 500000,
"eventUrl": "https://meet.google.com/abc-defg-hij",
"notes": "offline-jakarta",
"terms": "Tiket tidak dapat di-refund",
"redirectUrl": "https://example.com/event-thanks",
"paymentType": "paid",
"startAt": "2026-07-01T08:00:00.000Z",
"eventStartAt": "2026-07-15T08:00:00.000Z",
"eventEndAt": "2026-07-16T17:00:00.000Z",
"expiredAt": "2026-07-10T17:00:00.000Z",
"limit": 50,
"event": {
"eventAddress": "jl perjuangan no 32",
"isOnlineEvent": false,
"maxTicket": 5
}
}'
{
"statusCode": 200,
"messages": "success",
"data": {
"id": "7f992557-8791-41b5-a1c8-c5641c3e72b5",
"link": "https://testingmayar.myr.id/event/Bootcamp-Coding-Fullstack-Asix/"
}
}
Event Product
Create Event
Endpoint used to create event product
Was this page helpful?
