Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add endpoint for creating an event #7250

Merged

Conversation

kjohnson
Copy link
Member

@kjohnson kjohnson commented Feb 21, 2024

Resolves GIVE-356

Description

This PR adds a new WP Rest Route for creating a new event as a POST request.

Visuals

image

Testing Instructions

Make a POST request to /wp-json/give-api/v2/events-tickets/events passing the title (string) and startDateTime (string as date-time, see RFC3339) and confirm a 201 Created response.

@kjohnson kjohnson changed the base branch from develop to epic/events-GIVE-265 February 21, 2024 23:17
@kjohnson kjohnson marked this pull request as ready for review February 21, 2024 23:21
@kjohnson kjohnson merged commit 3b2f516 into epic/events-GIVE-265 Feb 23, 2024
20 checks passed
@kjohnson kjohnson deleted the feature/create-event-endpoint-GIVE-356 branch February 23, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants