Submit vendor / supplier-site records (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/suppliermgmt/suppliersites \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"supplier_site_name": "<string>",
"supplier_site_number": "<string>",
"supplier_site_type": "<string>",
"Supplier_number": "<string>",
"Country": "<string>",
"payment_term": "<string>",
"supplier_rating": 123,
"Partner": "<string>",
"Prequalified": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Email": "jsmith@example.com",
"contact_person": "<string>",
"business_phone": "<string>",
"Fax": "<string>",
"cell_phone": "<string>",
"payment_method": "<string>",
"tax_id": "<string>",
"bank_routing": "<string>",
"bank_account": "<string>",
"payment_email": "jsmith@example.com",
"payment_comments": "<string>",
"effective_date": "<string>"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
supplier_site_name: '<string>',
supplier_site_number: '<string>',
supplier_site_type: '<string>',
Supplier_number: '<string>',
Country: '<string>',
payment_term: '<string>',
supplier_rating: 123,
Partner: '<string>',
Prequalified: '<string>',
address1: '<string>',
address2: '<string>',
address3: '<string>',
City: '<string>',
State: '<string>',
Zip: '<string>',
Email: 'jsmith@example.com',
contact_person: '<string>',
business_phone: '<string>',
Fax: '<string>',
cell_phone: '<string>',
payment_method: '<string>',
tax_id: '<string>',
bank_routing: '<string>',
bank_account: '<string>',
payment_email: 'jsmith@example.com',
payment_comments: '<string>',
effective_date: '<string>'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/suppliermgmt/suppliersites', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/suppliermgmt/suppliersites"
payload = { "records": [
{
"supplier_site_name": "<string>",
"supplier_site_number": "<string>",
"supplier_site_type": "<string>",
"Supplier_number": "<string>",
"Country": "<string>",
"payment_term": "<string>",
"supplier_rating": 123,
"Partner": "<string>",
"Prequalified": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Email": "jsmith@example.com",
"contact_person": "<string>",
"business_phone": "<string>",
"Fax": "<string>",
"cell_phone": "<string>",
"payment_method": "<string>",
"tax_id": "<string>",
"bank_routing": "<string>",
"bank_account": "<string>",
"payment_email": "jsmith@example.com",
"payment_comments": "<string>",
"effective_date": "<string>"
}
] }
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>"
}Vendors
Submit vendor / supplier-site records (async)
PUT
/
v1
/
suppliermgmt
/
suppliersites
Submit vendor / supplier-site records (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/suppliermgmt/suppliersites \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"supplier_site_name": "<string>",
"supplier_site_number": "<string>",
"supplier_site_type": "<string>",
"Supplier_number": "<string>",
"Country": "<string>",
"payment_term": "<string>",
"supplier_rating": 123,
"Partner": "<string>",
"Prequalified": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Email": "jsmith@example.com",
"contact_person": "<string>",
"business_phone": "<string>",
"Fax": "<string>",
"cell_phone": "<string>",
"payment_method": "<string>",
"tax_id": "<string>",
"bank_routing": "<string>",
"bank_account": "<string>",
"payment_email": "jsmith@example.com",
"payment_comments": "<string>",
"effective_date": "<string>"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
supplier_site_name: '<string>',
supplier_site_number: '<string>',
supplier_site_type: '<string>',
Supplier_number: '<string>',
Country: '<string>',
payment_term: '<string>',
supplier_rating: 123,
Partner: '<string>',
Prequalified: '<string>',
address1: '<string>',
address2: '<string>',
address3: '<string>',
City: '<string>',
State: '<string>',
Zip: '<string>',
Email: 'jsmith@example.com',
contact_person: '<string>',
business_phone: '<string>',
Fax: '<string>',
cell_phone: '<string>',
payment_method: '<string>',
tax_id: '<string>',
bank_routing: '<string>',
bank_account: '<string>',
payment_email: 'jsmith@example.com',
payment_comments: '<string>',
effective_date: '<string>'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/suppliermgmt/suppliersites', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/suppliermgmt/suppliersites"
payload = { "records": [
{
"supplier_site_name": "<string>",
"supplier_site_number": "<string>",
"supplier_site_type": "<string>",
"Supplier_number": "<string>",
"Country": "<string>",
"payment_term": "<string>",
"supplier_rating": 123,
"Partner": "<string>",
"Prequalified": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Email": "jsmith@example.com",
"contact_person": "<string>",
"business_phone": "<string>",
"Fax": "<string>",
"cell_phone": "<string>",
"payment_method": "<string>",
"tax_id": "<string>",
"bank_routing": "<string>",
"bank_account": "<string>",
"payment_email": "jsmith@example.com",
"payment_comments": "<string>",
"effective_date": "<string>"
}
] }
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

