Insert/update store contact records (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/locationmgmt/locationcontacts \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"store_number": "98722-01",
"role": "RE_MANAGER",
"first_name": "John",
"last_name": "Markson",
"company": "WC Franchisee",
"business_phone": "1234567890",
"extension": "241",
"email": "john_markson@wc.com",
"fax": "3546128323",
"status": "A"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
store_number: '98722-01',
role: 'RE_MANAGER',
first_name: 'John',
last_name: 'Markson',
company: 'WC Franchisee',
business_phone: '1234567890',
extension: '241',
email: 'john_markson@wc.com',
fax: '3546128323',
status: 'A'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/locationmgmt/locationcontacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/locationmgmt/locationcontacts"
payload = { "records": [
{
"store_number": "98722-01",
"role": "RE_MANAGER",
"first_name": "John",
"last_name": "Markson",
"company": "WC Franchisee",
"business_phone": "1234567890",
"extension": "241",
"email": "john_markson@wc.com",
"fax": "3546128323",
"status": "A"
}
] }
headers = {
"x-client": "<api-key>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"status": "OK",
"gu_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status_message": "<string>"
}Store Contacts
Insert/update store contact records (async)
PUT
/
v1
/
locationmgmt
/
locationcontacts
Insert/update store contact records (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/locationmgmt/locationcontacts \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"store_number": "98722-01",
"role": "RE_MANAGER",
"first_name": "John",
"last_name": "Markson",
"company": "WC Franchisee",
"business_phone": "1234567890",
"extension": "241",
"email": "john_markson@wc.com",
"fax": "3546128323",
"status": "A"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
store_number: '98722-01',
role: 'RE_MANAGER',
first_name: 'John',
last_name: 'Markson',
company: 'WC Franchisee',
business_phone: '1234567890',
extension: '241',
email: 'john_markson@wc.com',
fax: '3546128323',
status: 'A'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/locationmgmt/locationcontacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/locationmgmt/locationcontacts"
payload = { "records": [
{
"store_number": "98722-01",
"role": "RE_MANAGER",
"first_name": "John",
"last_name": "Markson",
"company": "WC Franchisee",
"business_phone": "1234567890",
"extension": "241",
"email": "john_markson@wc.com",
"fax": "3546128323",
"status": "A"
}
] }
headers = {
"x-client": "<api-key>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"status": "OK",
"gu_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status_message": "<string>"
}Body
application/json
Show child attributes
Show child attributes

