Skip to main content

Add an address to a profile

Add an address to a profile.

Authorizations:Token, JWT
Query Parameters
profile_id
required
integer
Request Body Schema:
The new 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

201Address resource created
Response schema:
Address resource created
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
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null