GET /address-book
Upcoming
This REST API reference is upcoming. Routes, parameters, and wire error codes may change before the public release.
Method: GET
Resource: Address Book
Route
GET /wp-json/fluid-checkout/v1/address-book
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | integer | no | WordPress user ID whose address book is targeted. Defaults to the current user. |
Error codes
See the REST API errors page for every wire code this plugin may return.
Examples
List address book entries for the current user (replace the host and credentials):
curl -X GET 'https://example.com/wp-json/fluid-checkout/v1/address-book' \
--user 'USERNAME:APPLICATION_PASSWORD'