How to set refund_policy for an event through API

805 views
Skip to first unread message

Ammm Som

unread,
Jul 22, 2024, 6:10:24 PM7/22/24
to android-webview-dev
     How to set refund_policy for an event through API
Hello,

I'm creating events through the API ( & Eventbrite php library) and need to set refund_policy.

Currently I have the following code

$eventParams array(
'event.name.html' => $name,
'event.description.html' => $event_html_description,
'event.start.utc' => $startdatetime,
'event.start.timezone' => $time_zone,
'event.end.utc' => $enddatetime,
'event.end.timezone' => $time_zone ,
'event.currency' => $currency,
'event.listed' => true,
'event.logo_id'=> $imageId
'event.capacity' => 10
//'event.refund_policy' => 'no_refunds', // error when I uncomment this line
);


When I uncomment the last line I get this error:

create event result: {"status_code":400,"error_description":"There are errors with your arguments: event.refund_policy - Unknown parameter","error":"ARGUMENTS_ERROR","description":""}

When I comment out the last like the create event API call works.

Please help if you know how to set the "refund_policy" for an event.

Thanks

Nate Fischer

unread,
Jul 22, 2024, 6:12:57 PM7/22/24
to Ammm Som, android-webview-dev
Hi,

I think your message may have been sent to the wrong mailing list. This mailing list is for discussion about engineering and development for the Android WebView component used in Android apps. It sounds like your question is about the EventBrite API, so you should instead post your question on a forum which is staffed by the EventBrite team.

Nate Fischer | Software Engineer | ntf...@google.com



--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/c0b502aa-d6ba-46b7-a908-220abed992ecn%40chromium.org.
Reply all
Reply to author
Forward
0 new messages