Add an address to a profile
Add an address to a profile.
Authorizations:Token
Query Parameters
profile_id required | integer |
Request Body Schema:
The new Address resource is_billing | boolean | ||||
is_shipping | boolean | ||||
is_work | boolean | ||||
type | stringDefault: "R" Example: "R" | ||||
title | string | ||||
firstname | string | ||||
lastname | string | ||||
phone | string | ||||
street | string | ||||
zipcode | string<= 32 characters | ||||
city | string | ||||
country_code | string or null2 characters | ||||
state | integer or null | ||||
state_name | string | ||||
custom_fields | Array of objects | ||||
Array
|
Responses
201Address resource created
Response schema:
Address resource created id | integer | ||||
is_billing | boolean | ||||
is_shipping | boolean | ||||
is_work | boolean | ||||
type | string | ||||
title | string | ||||
firstname | string | ||||
lastname | string | ||||
phone | string | ||||
street | 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
422Unprocessable entity