Update Billing Details

​

Update billing details

Body

application/json
  • Address line 1

  • Name of the city

  • Company name

  • ISO country code

  • GST / VAT details of the company

  • Postal code of the company

  • ISO 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"
}