AdminOrderAddress
Type: schema
Description
Address snapshot captured at checkout for an order or invoice.
TypeScript Definition
typescript
AdminOrderAddress: {{
first_name: string | null;
last_name?: string | null;
/** @description Phone country calling code, e.g. +91. */
country_code?: string;
/** @description 10 digit phone number without country code. */
phone: string | null;
email: string | null;
address_line1: string | null;
address_line2?: string | null;
landmark?: string | null;
pincode: string | null;
city: string | null;
state: string | null;
country: string | null;
/** @description Use in shipping details only for third party. */
gstin?: string | null;
/** @description Use in shipping details only for third party. */
business_name?: string | null;
is_phone_verified?: $Read<boolean>;
is_email_verified?: $Read<boolean>;
};
/** OrderItem */
}OpenAPI Schema
json
{
"description": "Address snapshot captured at checkout for an order or invoice.",
"type": "object",
"properties": {
"first_name": {
"type": [
"string",
"null"
]
},
"last_name": {
"type": [
"string",
"null"
]
},
"country_code": {
"description": "Phone country calling code, e.g. +91.",
"type": "string"
},
"phone": {
"description": "10 digit phone number without country code.",
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"address_line1": {
"type": [
"string",
"null"
]
},
"address_line2": {
"type": [
"string",
"null"
]
},
"landmark": {
"type": [
"string",
"null"
]
},
"pincode": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"gstin": {
"description": "Use in shipping details only for third party.",
"type": [
"string",
"null"
]
},
"business_name": {
"description": "Use in shipping details only for third party.",
"type": [
"string",
"null"
]
},
"is_phone_verified": {
"type": "boolean",
"readOnly": true
},
"is_email_verified": {
"type": "boolean",
"readOnly": true
}
},
"required": [
"first_name",
"phone",
"email",
"address_line1",
"pincode",
"city",
"state",
"country"
],
"title": "OrderAddress",
"x-tags": [
"Orders"
]
}Auto-generated from OpenAPI spec and TypeScript definitions