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_billing | boolean | ||||
is_shipping | boolean | ||||
is_work | boolean | ||||
type | stringDefault: "R" Enum: "R" "C" Example: "R" | ||||
title | string | ||||
firstname | string | ||||
lastname | string | ||||
phone | string | ||||
address1 | string | ||||
address2 | string | ||||
address3 | string | ||||
zipcode | string<= 32 characters | ||||
city | string | ||||
country_code | string or null2 characters | ||||
state | integer or null>= 0 | ||||
state_name | string | ||||
custom_fields | Array of objects | ||||
Array
|
Responses
200Address resource updated
Response schema:
Address resource updated id | integer>= 0 | ||||
is_billing | boolean | ||||
is_shipping | boolean | ||||
is_work | boolean | ||||
type | string | ||||
title | string | ||||
firstname | string | ||||
lastname | string | ||||
phone | string | ||||
address1 | string | ||||
address2 | string | ||||
address3 | string | ||||
zipcode | string<= 32 characters | ||||
city | string | ||||
country_code | string2 characters | ||||
state | integer or null | ||||
state_name | string | ||||
custom_fields | Array of objects | ||||
Array
|
400Invalid input
401Unauthorized
Response schema:
Unauthorized type | string |
title | string |
detail | string or null |
instance | string or null |
404Resource not found
Response schema:
Resource not found type | string |
title | string |
detail | string or null |
instance | string or null |
422Unprocessable entity
500Internal error
Response schema:
Internal error type | string |
title | string |
detail | string or null |
instance | string or null |