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,
"show_tax": true,
"show_gl": true
}
'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,
"show_tax": True,
"show_gl": True
}
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,
show_tax: true,
show_gl: true
})
};
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,
'show_tax' => true,
'show_gl' => true
]),
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 \"show_tax\": true,\n \"show_gl\": true\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 \"show_tax\": true,\n \"show_gl\": true\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 \"show_tax\": true,\n \"show_gl\": true\n}"
response = http.request(request)
puts response.read_body{
"invoice_id": 123,
"message": "<string>",
"status": 0
}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,
"show_tax": true,
"show_gl": true
}
'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,
"show_tax": True,
"show_gl": True
}
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,
show_tax: true,
show_gl: true
})
};
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,
'show_tax' => true,
'show_gl' => true
]),
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 \"show_tax\": true,\n \"show_gl\": true\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 \"show_tax\": true,\n \"show_gl\": true\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 \"show_tax\": true,\n \"show_gl\": true\n}"
response = http.request(request)
puts response.read_body{
"invoice_id": 123,
"message": "<string>",
"status": 0
}Authorizations
Body
application/jsontext/jsonapplication/*+json
Available options:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 165, 166, 167, 168, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 192, 193, 194, 195, 196, 197, 198, 199