Hi @savetherobots42
Here’s a sample JSON body where a venue is included that doesn’t exist yet.
{
"author": "2",
"status": "publish",
"date": "2023-02-01 02:13:07",
"date_utc": "2023-01-31 02:13:07",
"modified": "2023-01-31 02:13:07",
"modified_utc": "2023-01-31 02:13:07",
"title": "MY TEST EVENT",
"description": "my test event",
"excerpt": "my test event",
"slug": "my-test-event",
"all_day": false,
"start_date": "2023-02-01 19:30:00",
"start_date_details": {
"year": "2023",
"month": "02",
"day": "01",
"hour": "19",
"minutes": "30",
"seconds": "00"
},
"end_date": "2023-02-01 21:30:00",
"end_date_details": {
"year": "2023",
"month": "02",
"day": "01",
"hour": "21",
"minutes": "30",
"seconds": "00"
},
"utc_start_date": "2023-02-01 19:30:00",
"utc_start_date_details": {
"year": "2023",
"month": "02",
"day": "01",
"hour": "19",
"minutes": "30",
"seconds": "00"
},
"utc_end_date": "2023-02-01 21:30:00",
"utc_end_date_details": {
"year": "2023",
"month": "02",
"day": "01",
"hour": "21",
"minutes": "30",
"seconds": "00"
},
"timezone": "UTC+0",
"timezone_abbr": "UTC+0",
"cost": "",
"cost_details": {
"currency_symbol": "",
"currency_code": "",
"currency_position": "prefix",
"values": []
},
"website": "",
"show_map": false,
"show_map_link": false,
"hide_from_listings": false,
"sticky": false,
"featured": false,
"categories": [],
"tags": [],
"venue": {
"venue": "My test venue from api",
"description": "Venue Description",
"address": "123, raccoon Ave.",
"city": "Raccon City",
"country": "United States",
"province": "raccoon County",
"state": "NH",
"zip": "12345",
"phone": "+112341234",
"website": "http://raccoons.org",
"stateprovince": "NH",
"show_map": true,
"show_map_link": true
},
"organizer": []
}
I hope this helps, and please let me know if you have further questions or concerns.