Delete
Menghapus alamat pengiriman pengguna
DeleteAddress(idAddress: number)import { InaLib } from "ina-digital-sdk";
const inaLib = new InaLib({ mode: string, secret_key: string });
inaLib
.DeleteAddress(idAddress)
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});Contoh
import { InaLib } from "ina-digital-sdk";
const inaLib = new InaLib({ mode: 'prod', secret_key: '{your_secret_key}' })
inaLib.DeleteAddress(97110)
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});Last updated
