import { ShippingDetails } from "@gr4vy/sdk/models/components";
let value: ShippingDetails = {};| Field | Type | Required | Description | Example |
|---|---|---|---|---|
firstName |
string | ➖ | The first name(s) or given name for the buyer. | John |
lastName |
string | ➖ | The last name, or family name, of the buyer. | Doe |
emailAddress |
string | ➖ | The email address for the buyer. | john@example.com |
phoneNumber |
string | ➖ | The phone number for the buyer which should be formatted according to the E164 number standard. | +1234567890 |
address |
components.Address | ➖ | The billing address for the buyer. | |
id |
string | ➖ | The ID for the shipping details. | bf8c36ad-02d9-4904-b0f9-a230b149e341 |
buyerId |
string | ➖ | The ID for the buyer. | fe26475d-ec3e-4884-9553-f7356683f7f9 |
type |
"shipping-details" | ➖ | Always shipping-details. |
shipping-details |