{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/owner","auth":"required","settings":"","results":{"codes":[{"language":"json","status":200,"name":"","code":"{\n   \"Status\":\"Owner Created\"\n}"},{"name":"","code":"Orbirental API - Bad request.","language":"text","status":400},{"code":"Orbirental API - Missing email or password for the owner.","language":"text","status":409},{"status":409,"language":"text","code":"Orbirental API - Owner with the given email already exists"}]},"method":"post","examples":{"codes":[]},"params":[{"name":"email","type":"string","default":"","desc":"Email ID of the Owner","required":true,"in":"body","ref":"","_id":"5b58972d58555d0003a9f4d7"},{"name":"password","type":"string","default":"","desc":"Password for the owner account","required":true,"in":"body","ref":"","_id":"5b58972d58555d0003a9f4d6"},{"name":"firstName","type":"string","default":"","desc":"First Name of the owner","required":false,"in":"body","ref":"","_id":"5b58972d58555d0003a9f4d5"},{"name":"lastName","type":"string","default":"","desc":"Last Name of the owner","required":false,"in":"body","ref":"","_id":"5b58972d58555d0003a9f4d4"},{"name":"commissionRate","type":"int","default":"","desc":"Commission Rate of the owner","required":false,"in":"body","ref":"","_id":"5b58972d58555d0003a9f4d3"},{"name":"phoneNumber","type":"string","default":"","desc":"Phone Number of the owner","required":false,"in":"body","ref":"","_id":"5b58972d58555d0003a9f4d2"}]},"next":{"description":"","pages":[]},"title":"/owner","type":"endpoint","slug":"owner-2","excerpt":"Create a new Owner. Note that the Owner API is only be accessible to agencies to create/update/delete their own data and not to affiliates.","body":"","updates":[],"order":44,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5de85dbbb0b885003ddf338a","project":"56e3719a591f620e00bf5095","version":{"version":"1.5","version_clean":"1.5.0","codename":"Domain","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5de85dbbb0b885003ddf3334","56e7b24ad365390e007baeab","5de85dbbb0b885003ddf3335","5de85dbbb0b885003ddf3336","5de85dbbb0b885003ddf3337","5de85dbbb0b885003ddf3338"],"_id":"5de85dbbb0b885003ddf339f","__v":0,"project":"56e3719a591f620e00bf5095","forked_from":"56e3719a591f620e00bf5098","createdAt":"2016-03-12T01:32:10.751Z","releaseDate":"2016-03-12T01:32:10.751Z"},"category":{"sync":{"isSync":false,"url":""},"pages":["5de85dbbb0b885003ddf3339","5de85dbbb0b885003ddf333a","5de85dbbb0b885003ddf333b","5de85dbbb0b885003ddf333c","5de85dbbb0b885003ddf333d","5de85dbbb0b885003ddf333e","5de85dbbb0b885003ddf333f","5de85dbbb0b885003ddf3340","5de85dbbb0b885003ddf3341","5de85dbbb0b885003ddf3342","5de85dbbb0b885003ddf3343","56e77e22911296190096de13","5de85dbbb0b885003ddf3344","5de85dbbb0b885003ddf3345","5de85dbbb0b885003ddf3346","5de85dbbb0b885003ddf3347","5de85dbbb0b885003ddf3348","5de85dbbb0b885003ddf3349","5de85dbbb0b885003ddf334a"],"title":"Documentation","slug":"documentation","order":0,"from_sync":false,"reference":false,"_id":"5de85dbbb0b885003ddf3334","project":"56e3719a591f620e00bf5095","__v":19,"createdAt":"2016-03-12T01:32:11.359Z","version":"5de85dbbb0b885003ddf339f"},"user":"5ad0d1d6d24f9c0003476a4c","createdAt":"2018-07-25T15:28:45.585Z","githubsync":"","__v":1,"parentDoc":null}

post/owner

Create a new Owner. Note that the Owner API is only be accessible to agencies to create/update/delete their own data and not to affiliates.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

email:
required
string
Email ID of the Owner
password:
required
string
Password for the owner account
firstName:
string
First Name of the owner
lastName:
string
Last Name of the owner
commissionRate:
integer
Commission Rate of the owner
phoneNumber:
string
Phone Number of the owner

Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}