API

Validate event data

Validates data gathered in the booking/event-creation flow.

POST/v1/marketplace/companies/{id}/events/validate

Authorization

Marketplace-Authentication

Authorization<token>

The Noona Marketplace API uses an Authorization header with JWT Bearer tokens to authenticate marketplace users.

In: header

Path Parameters

id*string

Company ID

Request Body

application/json

name?string
Example"Johnny The Second"
phone_country_code?string
Example"354"
phone_number?string
Example"7134124"
license_plate?string
Example"df302"
ssn?string
Example"1302782649"
email?string

Response Body

application/json

application/json

curl -X POST "https://api.noona.is/v1/marketplace/companies/string/events/validate" \  -H "Content-Type: application/json" \  -d '{}'
{
  "name": "",
  "phone_country_code": "",
  "phone_number": "",
  "license_plate": "",
  "ssn": "",
  "email": ""
}
{
  "type": "generic_error",
  "message": "Time slot is not available."
}