Only available to Buyer Users. Addresses created using this endpoint are considered private, and only accessible to the user who created them.
Security
OAuth2(Required scopes: FullAccessMeAddressAdmin)
Indicates whether this address can be used as a ShippingAddress on an order or line item.
Example:false
Indicates whether this address can be used as a BillingAddress on an order.
Example:false
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/me/addresses
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.ordercloud.io/v1/me/addresses \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ID": "",
"Shipping": false,
"Billing": false,
"Editable": false,
"DateCreated": "2018-01-01T00:00:00-06:00",
"CompanyName": "",
"FirstName": "",
"LastName": "",
"Street1": "",
"Street2": "",
"City": "",
"State": "",
"Zip": "",
"Country": "",
"Phone": "",
"AddressName": "",
"xp": {}
}'Only available to Buyer Users. Addresses created using this endpoint are considered private, and only accessible to the user who created them.
Indicates whether this address can be used as a ShippingAddress on an order or line item.
Example:false
Indicates whether this address can be used as a BillingAddress on an order.
Example:false
Indicates whether this address can be edited by the current user.
Example:false
Response
{ "ID": "", "Shipping": false, "Billing": false, "Editable": false, "DateCreated": "2018-01-01T00:00:00-06:00", "CompanyName": "", "FirstName": "", "LastName": "", "Street1": "", "Street2": "", "City": "", "State": "", "Zip": "", "Country": "", "Phone": "", "AddressName": "", "xp": {} }