shopify-admin-api
Version:
Shopify Admin API is a NodeJS library built to help developers easily authenticate and make calls against the Shopify API. It was inspired by and borrows heavily from ShopifySharp.
72 lines (71 loc) • 1.32 kB
TypeScript
import { ShopifyObject } from "./base";
export interface Address extends ShopifyObject {
/**
* The mailing address.
*/
address1?: string;
/**
* An additional field for the mailing address.
*/
address2?: string;
/**
* The city.
*/
city?: string;
/**
* The company.
*/
company?: string;
/**
* The country.
*/
country?: string;
/**
* The two-letter country code corresponding to the country.
*/
country_code?: string;
/**
* The normalized country name.
*/
country_name?: string;
/**
* Indicates whether this address is the default address.
*/
default?: boolean;
/**
* The first name.
*/
first_name?: string;
/**
* The last name.
*/
last_name?: string;
/**
* The latitude of the address.
*/
latitude?: number;
/**
* The longitude of the address.
*/
longitude?: number;
/**
* The name.
*/
name?: string;
/**
* The phone number.
*/
phone?: string;
/**
* The province or state name
*/
province?: string;
/**
* The two-letter province or state code.
*/
province_code?: string;
/**
* The ZIP or postal code.
*/
zip?: string;
}