Interface: UpdateAddressRequest
Extends
Omit<Partial<CreateAddressRequest>,"presentment_currency"|"customer_id"|"discounts">
Properties
address1?
optionaladdress1?:string
The street associated with the Address. Minimum length is 1 character.
Inherited from
address2?
optionaladdress2?:string
Any additional information associated with the Address.
Inherited from
city?
optionalcity?:string
The city associated with the address.
Inherited from
company?
optionalcompany?:string
The company associated with the address.
Inherited from
country_code?
optionalcountry_code?:string
2-letter country code.
Inherited from
CreateAddressRequest.country_code
discounts?
optionaldiscounts?:object[]
code
code:
string
first_name?
optionalfirst_name?:string
The customer’s first name associated with the address.
Inherited from
CreateAddressRequest.first_name
is_gift?
optionalis_gift?:boolean
Set to true when this address is being used for redeeming gifts.
Inherited from
last_name?
optionallast_name?:string
The customer’s last name associated with the address.
Inherited from
CreateAddressRequest.last_name
order_attributes?
optionalorder_attributes?:Property[]
Replaces cart_attributes. Extra information that is added to the order.
Inherited from
CreateAddressRequest.order_attributes
order_note?
optionalorder_note?:string|null
Notes to be added to all orders associated with the address.
Inherited from
CreateAddressRequest.order_note
payment_method_id?
optionalpayment_method_id?:number
Payment method id for the Payment_method to be associated to this address.
Inherited from
CreateAddressRequest.payment_method_id
phone?
optionalphone?:string
The phone number associated with the address. Must be included in the request schema but can be an empty string.
Inherited from
province?
optionalprovince?:string|null
The state or province associated with the address.
Inherited from
shipping_lines_override?
optionalshipping_lines_override?:object[] |null
Used when shipping rates need to be overridden. If this parameter has value null, rates will be fetched when Charge is created or regenerated
Inherited from
CreateAddressRequest.shipping_lines_override
zip?
optionalzip?:string
The zip or postal code associated with the address.