{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/serviceproviders/:uid","auth":"required","method":"put","params":[{"name":"uid","type":"string","default":"","desc":"Unique ID of the service provider","required":true,"in":"path","ref":"","_id":"5923547f88e3d00f00e60b21"},{"name":"firstName","type":"string","default":"","desc":"first name of the service provider","required":false,"in":"body","ref":"","_id":"56e788a19b25270e001d1260"},{"name":"lastName","type":"string","default":"","desc":"Last name of the service provider","required":false,"in":"body","ref":"","_id":"56e788a19b25270e001d1265"},{"name":"companyName","type":"string","default":"","desc":"Company name of the service provider","required":false,"in":"body","ref":"","_id":"56e788a19b25270e001d125f"},{"name":"type","type":"string","default":"","desc":"Can be CLEANER, GREETER, HANDYMA, LANDSCAPE, CONTRACTOR, OTHER","required":false,"in":"body","ref":"","_id":"56e792971e071c22001a0488"},{"name":"email","type":"string","default":"","desc":"Email of the service provider","required":false,"in":"body","ref":"","_id":"56e788a19b25270e001d1267"},{"name":"address","type":"string","default":"","desc":"Address of the service provider","required":false,"in":"body","ref":"","_id":"56e788a19b25270e001d1262"},{"name":"city","type":"string","default":"","desc":"City of the service provider","required":false,"in":"body","ref":"","_id":"56e788a19b25270e001d125e"},{"name":"zipCode","type":"string","default":"","desc":"Zip code of the service provider","required":false,"in":"body","ref":"","_id":"592351a888e3d00f00e60a9e"},{"name":"state","type":"string","default":"","desc":"State of the service provider","required":false,"in":"body","ref":"","_id":"592351a888e3d00f00e60a9d"},{"name":"phoneNumber","type":"string","default":"","desc":"Phone number of the service provider","required":false,"in":"body","ref":"","_id":"592351a888e3d00f00e60a9c"},{"name":"countryCode","type":"string","default":"","desc":"Use an ISO_3166-1_alpha-2 format","required":false,"in":"body","ref":"","_id":"56e788a19b25270e001d1263"},{"name":"currency","type":"string","default":"","desc":"Use an ISO 4217 format","required":false,"in":"body","ref":"","_id":"592351a888e3d00f00e60a9b"},{"name":"imageUrl","type":"string","default":"","desc":"The URL of an image representing this Service Provider","required":false,"in":"body","ref":"","_id":"5c9bede3830d6f004b9b54e8"}],"results":{"codes":[{"name":"","code":"{\n  \"uid\": \"4f6a3a32-6d57-450d-8b46-44abb3b01994\",\n  \"type\": \"CLEANER\",\n  \"firstName\": \"Cedric\",\n  \"lastName\": \"Raudin\",\n  \"companyName\": \"Responseev\",\n  \"email\": \"cedric.r:::at:::gmail.com\",\n  \"address\": \"Haight Street\",\n  \"city\": \"San Francisco\",\n  \"zipCode\": \"H1B TP2\",\n  \"state\": \"CA\",\n  \"countryCode\": \"US\",\n  \"cost\": \"10\",\n  \"currency\": \"USD\",\n  \"phoneNumber\": \"+4098764587\",\n}","language":"json","status":200},{"status":400,"name":"","code":"Orbirental API - Bad request.","language":"text"},{"language":"text","status":409,"code":"Orbirental API - Service providernot found."}]},"settings":"","examples":{"codes":[]}},"next":{"description":"","pages":[]},"title":"/serviceproviders/:uid","type":"endpoint","slug":"serviceproviders-2","excerpt":"Edit a service provider","body":"","updates":[],"order":75,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5de85dbbb0b885003ddf3369","user":"56e371538b32a10e00f79750","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"},"parentDoc":null,"createdAt":"2017-05-22T21:05:50.449Z","githubsync":"","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"},"__v":3,"project":"56e3719a591f620e00bf5095"}

put/serviceproviders/:uid

Edit a service provider

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

uid:
required
string
Unique ID of the service provider

Body Params

firstName:
string
first name of the service provider
lastName:
string
Last name of the service provider
companyName:
string
Company name of the service provider
type:
string
Can be CLEANER, GREETER, HANDYMA, LANDSCAPE, CONTRACTOR, OTHER
email:
string
Email of the service provider
address:
string
Address of the service provider
city:
string
City of the service provider
zipCode:
string
Zip code of the service provider
state:
string
State of the service provider
phoneNumber:
string
Phone number of the service provider
countryCode:
string
Use an ISO_3166-1_alpha-2 format
currency:
string
Use an ISO 4217 format
imageUrl:
string
The URL of an image representing this Service Provider

Result Format


User Information

Try It Out

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