Home > @vsf-enterprise/sap-commerce-webservices-sdk > AddressApi

AddressApi class

AddressApi - object-oriented interface AddressApi {BaseAPI}

Signature:

export declare class AddressApi extends BaseAPI 

Extends: BaseAPI

Methods

Method Modifiers Description
createAddress(baseSiteId, userId, address, fields, options) Creates a new address. Creates a new address.
getAddress(addressId, baseSiteId, userId, fields, options) Returns detailed information about address with a given id. Get info about address
getAddresses(baseSiteId, userId, fields, options) Returns customer's addresses. Get customer's addresses
removeAddress(addressId, baseSiteId, userId, options) Removes customer's address. Delete customer's address.
replaceAddress(addressId, baseSiteId, userId, address, options) Updates the address. Attributes not provided in the request will be defined again (set to null or default). Updates the address
updateAddress(addressId, baseSiteId, userId, address, options) Updates the address. Only attributes provided in the request body will be changed. Updates the address
validateAddress(baseSiteId, userId, address, fields, options) Verifies address. Verifies address.