Customer Tax Group definitions. Each Customer is assigned to a tax group. Each tax group has individually defined Product Category tax groups and rates.
You must be logged in to use this method. Basic Authentication is supported.
Parameters
Possible Return Data
List: ErrorQueue
ErrorNumber
(long integer)
ErrorPosition
(string[255])
ErrorRecordId
(string[255])
ErrorDescription
(string[255])
ErrorRecommendation
(string[255])
Group: result
status
(string[5000])
List: customer_group
groupid
(long integer)
description
(string[30])
JSON POST (JSON Response)
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
function tax_customer_group_list_jsonpost(host,jsondata,username,password,result){ fetch(host + "/tax_customer_group_list", { method: "POST", credentials: "include", headers: { "Authorization": "Basic " + btoa(username + ":" + password), "Content-Type": "application/json", "Accept": "application/json;", }, body: jsondata }).then(function(response){ // get the text out of the reply return response.text() }).then( function(text){ // do something with the text reply textToTextarea(text,result) }) } var host = "https://localhost:2293"
function tax_customer_group_list_getjson(host,urldata,username,password,result){ fetch(host + "/tax_customer_group_list" +"?" + urldata, { credentials: "include", headers: { "Authorization": "Basic " + btoa(username + ":" + password), "Accept": "application/json;", } }).then(function(response){ // get the text out of the reply return response.text() }).then( function(text){ // do something with the text reply }) } var host = "https://localhost:2293"
function tax_customer_group_list_restjson(host,id,username,password,result){ fetch(host + "/api/tax_customer_group_list/" + id, { credentials: "include", headers: { "Authorization": "Basic " + btoa(username + ":" + password), "Accept": "application/json;", } }).then(function(response){ // get the text out of the reply return response.text() }).then( function(text){ // do something with the text reply }) } var host = "https://localhost:2293"