Create customer
POST {{baseUrl}}/customer-accounts
Request Body
{"@context"=>"https://openactive.io/", "@type"=>"CustomerAccount", "customer"=>{"@type"=>"Person", "email"=>"luke+fx@imin.co", "telephone"=>"020 811 8055", "givenName"=>"LukFx", "familyName"=>"WinFx", "birthDate"=>"1990-08-24", "gender"=>"https://schema.org/Male", "address"=>{"@type"=>"PostalAddress", "streetAddress"=>"Raynes Park High School, 46A West Barnes Lane", "addressLocality"=>"New Malden", "addressRegion"=>"London", "postalCode"=>"NW5 3DU", "addressCountry"=>"GB"}, "emergencyContact"=>{"@type"=>"Person", "name"=>"Charles Mingus", "telephone"=>"020 811 8055"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-api-key | string | ||
X-Broker-Identifier | string | (only needed for imin Platform: Local) |