Skip to content

GET Account Addresses

phw edited this page Oct 12, 2012 · 6 revisions

GET /account/addresses

Request: GET /account/addresses

Returns the list of billing addresses of the authorized customer.

Query parameters

Parameter Description
per_page An integer value defining how many entries should be returned. Only values between 1 and 100 (both inclusive) are allowed. If not given, this defaults to 100.
page Return search results starting at a given page. Used for paging through more than one page of results.

Request headers

Header Description
Authorize oAuth 2 authentication header
Accept application/json or application/xml

Response status codes

HTTP status Description
200 Ok Successful request.

Example

Load all billing addresses for the authorized customer:

GET /account/addresses HTTP/1.1
Host: api.textking.com
Accept: application/json
Authorize: Bearer youraccesstoken

Response:

HTTP/1.1 200 Ok
Content-Type: application/json; charset=utf-8

{
    
}
Clone this wiki locally