# Create an address

Only available to Buyer Users. Addresses created using this endpoint are considered private, and only accessible to the user who created them.

Endpoint: POST /me/addresses
Version: 1.0.457.36910
Security: OAuth2

## Security:

  - `OAuth2` (unknown)
    oauth2 scopes: FullAccess, MeAddressAdmin

## Request fields (application/json):

  - `Shipping` (boolean)
    Indicates whether this address can be used as a ShippingAddress on an order or line item.

  - `Billing` (boolean)
    Indicates whether this address can be used as a BillingAddress on an order.

  - `CompanyName` (string)

  - `FirstName` (string)

  - `LastName` (string)

  - `Street1` (string)

  - `Street2` (string)

  - `City` (string)

  - `State` (string)

  - `Zip` (string)

  - `Country` (string)

  - `Phone` (string)

  - `AddressName` (string)

  - `xp` (object)

## Response 201:

  - `201` (unknown)
    Only available to Buyer Users. Addresses created using this endpoint are considered private, and only accessible to the user who created them.

## Response 201 fields (application/json):

  - `ID` (string)

  - `Shipping` (boolean)
    Indicates whether this address can be used as a ShippingAddress on an order or line item.

  - `Billing` (boolean)
    Indicates whether this address can be used as a BillingAddress on an order.

  - `Editable` (boolean)
    Indicates whether this address can be edited by the current user.

  - `DateCreated` (string)

  - `CompanyName` (string)

  - `FirstName` (string)

  - `LastName` (string)

  - `Street1` (string)

  - `Street2` (string)

  - `City` (string)

  - `State` (string)

  - `Zip` (string)

  - `Country` (string)

  - `Phone` (string)

  - `AddressName` (string)

  - `xp` (object)

## Response 4XX:

  - `4XX` (unknown)
    Expected errors range from 400-409. Anything in the 5XX range indicates a server issue and should be reported to support.

## Response 4XX fields (application/json):

  - `StatusCode` (integer)
    Example: 404

  - `ErrorCode` (string)
    Example: NotFoundError

  - `Message` (string)
    Example: Object not found

  - `Data` (object)
    Example: {"ObjectType":"","ObjectID":""}

