Skip to main content

Shipping address

Import checkout previously initialized, and add client data.

Add shipping address#

import { checkout } from './lib'
checkout.shippingAddress = {  door: '23',  floor: '2',  locality: 'elche',  name: 'elche',  number: 23,  postalCode: '23332',  province: 'alc',  type: 2,}

Update shipping address#

checkout.updateShippingAddress({  locality: 'bcn',  name: 'barcelona',})

Remove shipping address#

checkout.removeShippingAddress()