saveCustomerSettings
curl --request POST \
--url https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"check_stock": true,
"company": "<string>",
"company_email": "<string>",
"contact_name": "<string>",
"contact_phone": "<string>",
"delivery_address": "<string>",
"email": "<string>",
"logo_url": "<string>",
"lookup_price": 123,
"minimum_order_line": 123,
"minimum_order_total": 123,
"modify_parts": 123,
"my_company": "<string>",
"name": "<string>",
"old_password": "<string>",
"part_list": "<string>",
"part_url": "<string>",
"password": "<string>",
"theme": 123
}
'import requests
url = "https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings"
payload = {
"check_stock": True,
"company": "<string>",
"company_email": "<string>",
"contact_name": "<string>",
"contact_phone": "<string>",
"delivery_address": "<string>",
"email": "<string>",
"logo_url": "<string>",
"lookup_price": 123,
"minimum_order_line": 123,
"minimum_order_total": 123,
"modify_parts": 123,
"my_company": "<string>",
"name": "<string>",
"old_password": "<string>",
"part_list": "<string>",
"part_url": "<string>",
"password": "<string>",
"theme": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
check_stock: true,
company: '<string>',
company_email: '<string>',
contact_name: '<string>',
contact_phone: '<string>',
delivery_address: '<string>',
email: '<string>',
logo_url: '<string>',
lookup_price: 123,
minimum_order_line: 123,
minimum_order_total: 123,
modify_parts: 123,
my_company: '<string>',
name: '<string>',
old_password: '<string>',
part_list: '<string>',
part_url: '<string>',
password: '<string>',
theme: 123
})
};
fetch('https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'check_stock' => true,
'company' => '<string>',
'company_email' => '<string>',
'contact_name' => '<string>',
'contact_phone' => '<string>',
'delivery_address' => '<string>',
'email' => '<string>',
'logo_url' => '<string>',
'lookup_price' => 123,
'minimum_order_line' => 123,
'minimum_order_total' => 123,
'modify_parts' => 123,
'my_company' => '<string>',
'name' => '<string>',
'old_password' => '<string>',
'part_list' => '<string>',
'part_url' => '<string>',
'password' => '<string>',
'theme' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings"
payload := strings.NewReader("{\n \"check_stock\": true,\n \"company\": \"<string>\",\n \"company_email\": \"<string>\",\n \"contact_name\": \"<string>\",\n \"contact_phone\": \"<string>\",\n \"delivery_address\": \"<string>\",\n \"email\": \"<string>\",\n \"logo_url\": \"<string>\",\n \"lookup_price\": 123,\n \"minimum_order_line\": 123,\n \"minimum_order_total\": 123,\n \"modify_parts\": 123,\n \"my_company\": \"<string>\",\n \"name\": \"<string>\",\n \"old_password\": \"<string>\",\n \"part_list\": \"<string>\",\n \"part_url\": \"<string>\",\n \"password\": \"<string>\",\n \"theme\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"check_stock\": true,\n \"company\": \"<string>\",\n \"company_email\": \"<string>\",\n \"contact_name\": \"<string>\",\n \"contact_phone\": \"<string>\",\n \"delivery_address\": \"<string>\",\n \"email\": \"<string>\",\n \"logo_url\": \"<string>\",\n \"lookup_price\": 123,\n \"minimum_order_line\": 123,\n \"minimum_order_total\": 123,\n \"modify_parts\": 123,\n \"my_company\": \"<string>\",\n \"name\": \"<string>\",\n \"old_password\": \"<string>\",\n \"part_list\": \"<string>\",\n \"part_url\": \"<string>\",\n \"password\": \"<string>\",\n \"theme\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"check_stock\": true,\n \"company\": \"<string>\",\n \"company_email\": \"<string>\",\n \"contact_name\": \"<string>\",\n \"contact_phone\": \"<string>\",\n \"delivery_address\": \"<string>\",\n \"email\": \"<string>\",\n \"logo_url\": \"<string>\",\n \"lookup_price\": 123,\n \"minimum_order_line\": 123,\n \"minimum_order_total\": 123,\n \"modify_parts\": 123,\n \"my_company\": \"<string>\",\n \"name\": \"<string>\",\n \"old_password\": \"<string>\",\n \"part_list\": \"<string>\",\n \"part_url\": \"<string>\",\n \"password\": \"<string>\",\n \"theme\": 123\n}"
response = http.request(request)
puts response.read_body{
"invoice_id": 123,
"message": "<string>"
}EzzyRest
saveCustomerSettings
POST
/
saveCustomerSettings
saveCustomerSettings
curl --request POST \
--url https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"check_stock": true,
"company": "<string>",
"company_email": "<string>",
"contact_name": "<string>",
"contact_phone": "<string>",
"delivery_address": "<string>",
"email": "<string>",
"logo_url": "<string>",
"lookup_price": 123,
"minimum_order_line": 123,
"minimum_order_total": 123,
"modify_parts": 123,
"my_company": "<string>",
"name": "<string>",
"old_password": "<string>",
"part_list": "<string>",
"part_url": "<string>",
"password": "<string>",
"theme": 123
}
'import requests
url = "https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings"
payload = {
"check_stock": True,
"company": "<string>",
"company_email": "<string>",
"contact_name": "<string>",
"contact_phone": "<string>",
"delivery_address": "<string>",
"email": "<string>",
"logo_url": "<string>",
"lookup_price": 123,
"minimum_order_line": 123,
"minimum_order_total": 123,
"modify_parts": 123,
"my_company": "<string>",
"name": "<string>",
"old_password": "<string>",
"part_list": "<string>",
"part_url": "<string>",
"password": "<string>",
"theme": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
check_stock: true,
company: '<string>',
company_email: '<string>',
contact_name: '<string>',
contact_phone: '<string>',
delivery_address: '<string>',
email: '<string>',
logo_url: '<string>',
lookup_price: 123,
minimum_order_line: 123,
minimum_order_total: 123,
modify_parts: 123,
my_company: '<string>',
name: '<string>',
old_password: '<string>',
part_list: '<string>',
part_url: '<string>',
password: '<string>',
theme: 123
})
};
fetch('https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'check_stock' => true,
'company' => '<string>',
'company_email' => '<string>',
'contact_name' => '<string>',
'contact_phone' => '<string>',
'delivery_address' => '<string>',
'email' => '<string>',
'logo_url' => '<string>',
'lookup_price' => 123,
'minimum_order_line' => 123,
'minimum_order_total' => 123,
'modify_parts' => 123,
'my_company' => '<string>',
'name' => '<string>',
'old_password' => '<string>',
'part_list' => '<string>',
'part_url' => '<string>',
'password' => '<string>',
'theme' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings"
payload := strings.NewReader("{\n \"check_stock\": true,\n \"company\": \"<string>\",\n \"company_email\": \"<string>\",\n \"contact_name\": \"<string>\",\n \"contact_phone\": \"<string>\",\n \"delivery_address\": \"<string>\",\n \"email\": \"<string>\",\n \"logo_url\": \"<string>\",\n \"lookup_price\": 123,\n \"minimum_order_line\": 123,\n \"minimum_order_total\": 123,\n \"modify_parts\": 123,\n \"my_company\": \"<string>\",\n \"name\": \"<string>\",\n \"old_password\": \"<string>\",\n \"part_list\": \"<string>\",\n \"part_url\": \"<string>\",\n \"password\": \"<string>\",\n \"theme\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"check_stock\": true,\n \"company\": \"<string>\",\n \"company_email\": \"<string>\",\n \"contact_name\": \"<string>\",\n \"contact_phone\": \"<string>\",\n \"delivery_address\": \"<string>\",\n \"email\": \"<string>\",\n \"logo_url\": \"<string>\",\n \"lookup_price\": 123,\n \"minimum_order_line\": 123,\n \"minimum_order_total\": 123,\n \"modify_parts\": 123,\n \"my_company\": \"<string>\",\n \"name\": \"<string>\",\n \"old_password\": \"<string>\",\n \"part_list\": \"<string>\",\n \"part_url\": \"<string>\",\n \"password\": \"<string>\",\n \"theme\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.ezzydoc.com/EzzyService.svc/Rest/saveCustomerSettings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"check_stock\": true,\n \"company\": \"<string>\",\n \"company_email\": \"<string>\",\n \"contact_name\": \"<string>\",\n \"contact_phone\": \"<string>\",\n \"delivery_address\": \"<string>\",\n \"email\": \"<string>\",\n \"logo_url\": \"<string>\",\n \"lookup_price\": 123,\n \"minimum_order_line\": 123,\n \"minimum_order_total\": 123,\n \"modify_parts\": 123,\n \"my_company\": \"<string>\",\n \"name\": \"<string>\",\n \"old_password\": \"<string>\",\n \"part_list\": \"<string>\",\n \"part_url\": \"<string>\",\n \"password\": \"<string>\",\n \"theme\": 123\n}"
response = http.request(request)
puts response.read_body{
"invoice_id": 123,
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/jsontext/jsonapplication/*+json
⌘I