Skip to main content
DELETE
/
checkout
/
guest
/
addresses
/
{id}
JavaScript
import HenrySDK from '@henrylabs/sdk';

const client = new HenrySDK({
  apiKey: process.env['HENRY_SDK_API_KEY'], // This is the default and can be omitted
});

const address = await client.checkout.guest.addresses.delete(
  '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
);

console.log(address.message);
{
  "success": true,
  "status": "<string>",
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required
x-access-token
string
header
required

Supabase access token for authentication.

Headers

x-user-id
string

Required when authenticating with API key

Path Parameters

id
string<uuid>
required

Response

Guest address deleted successfully

success
boolean
required
status
string
required
message
string
required