Skip to main content

Update an address of a profile

Update an address of a profile.

Authorizations:Token, JWT
Query Parameters
profile_id
required
integer
address_id
required
integer
id
required
stringResource identifier
Request Body Schema:
The updated Address resource
is_billingboolean
is_shippingboolean
is_workboolean
typestringDefault: "R"Enum: "R""C"Example: "R"
titlestring
firstnamestring
lastnamestring
phonestring
address1string
address2string
address3string
zipcodestring<= 32 characters
citystring
country_codestring or null2 characters
stateinteger or null>= 0
state_namestring
custom_fieldsArray of objects
Array
namestring
valuestring

Responses

200Address resource updated
Response schema:
Address resource updated
idinteger>= 0
is_billingboolean
is_shippingboolean
is_workboolean
typestring
titlestring
firstnamestring
lastnamestring
phonestring
address1string
address2string
address3string
zipcodestring<= 32 characters
citystring
country_codestring2 characters
stateinteger or null
state_namestring
custom_fieldsArray of objects
Array
namestring
valuestring
400Invalid input
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
404Resource not found
Response schema:
Resource not found
typestring
titlestring
detailstring or null
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null