Update Billing Details
Update billing details
Body
application/json
- Type: stringaddress
_line requiredAddress line 1
- Type: stringcityrequired
Name of the city
- Type: stringcompany
_name requiredCompany name
- Type: stringcountry
_code requiredISO country code
- Type: stringgst
_number requiredGST / VAT details of the company
- Type: stringpostalrequired
Postal code of the company
- Type: stringstate
_code requiredISO code of the state / region
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/mixed/billing/details
import Gumlet from '@gumlet/nodejs-sdk';
const client = new Gumlet({
apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});
const billing = await client.billing.updateDetails({
address_line: '',
city: '',
company_name: '',
country_code: '',
gst_number: '',
postal: '',
state_code: '',
});
console.log(billing);
{
"address_line": "string",
"city": "string",
"company_name": "string",
"country_code": "string",
"gst_number": "string",
"postal": "string",
"state_code": "string"
}
