patch
https://api.lirium-sandbox.com/v1/customers//address_book/
Update the label of an address book entry.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Updates the label of an existing address book entry. Only the label field can be modified.
Request
PATCH /customers/{customer_id}/address_book/{address_book_id}
Request Body
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| label | string | Yes | The new label for the address | "my new label" |
Response Fields
| Field | Type | Description | Example |
|---|---|---|---|
| id | string | Unique identifier for the entry | "ewteqwtqewtqwetqwetqwetq" |
| address | string | The cryptocurrency address | "bc1qmv4pr0hs4gd3s7chgacccr3m9ajf7xdcf7mfrm" |
| network | string | The blockchain network | "bitcoin" |
| label | string | The updated label | "my new label" |
| created | string | ISO 8601 creation timestamp | "2021-01-25T20:38:31+00:00" |
| last_used | string | null | ISO 8601 timestamp of last use | null |
| ownership_type | string | null | Ownership relationship: self or third_party | "self" |
| beneficiary_full_name | string | null | Full name of the beneficiary when ownership_type is third_party | null |
Error Responses
| Status | Error Code | Description |
|---|---|---|
| 400 | invalid_parameters | Request validation failed |
| 404 | not_found | Address book entry not found |
