Update Billing Address
curl --request PUT \
--url https://api.tensormesh.ai/v1/billing/address \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"userId": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"company": "<string>",
"phone": "<string>",
"name": "<string>"
}
}
'import requests
url = "https://api.tensormesh.ai/v1/billing/address"
payload = {
"userId": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"company": "<string>",
"phone": "<string>",
"name": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
userId: '<string>',
address: {
line1: '<string>',
line2: '<string>',
city: '<string>',
state: '<string>',
postalCode: '<string>',
country: '<string>',
company: '<string>',
phone: '<string>',
name: '<string>'
}
})
};
fetch('https://api.tensormesh.ai/v1/billing/address', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"empty": {}
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}Billing - Address
Update Billing Address
Updates the billing address for a user.
PUT
https://api.tensormesh.ai
/
v1
/
billing
/
address
Update Billing Address
curl --request PUT \
--url https://api.tensormesh.ai/v1/billing/address \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"userId": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"company": "<string>",
"phone": "<string>",
"name": "<string>"
}
}
'import requests
url = "https://api.tensormesh.ai/v1/billing/address"
payload = {
"userId": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"company": "<string>",
"phone": "<string>",
"name": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
userId: '<string>',
address: {
line1: '<string>',
line2: '<string>',
city: '<string>',
state: '<string>',
postalCode: '<string>',
country: '<string>',
company: '<string>',
phone: '<string>',
name: '<string>'
}
})
};
fetch('https://api.tensormesh.ai/v1/billing/address', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"empty": {}
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}Authorizations
Bearer authentication using an access token. Format: Bearer <access_token>
Body
application/json
Response
A successful response.
UpdateBillingAddressResponse is the response after updating a billing address.
Empty response.
⌘I

