billing
- userId
-
Glenna Keebler @glenna_keebler
- label
- billing
- recipient
- Mr. Jacob Walker
- street1
- 753 Ledner Glen
- street2
- Apt. 412
- city
- South Theresia
- region
- Utah
- postalCode
- 02586
- countryAlpha2
- AT
- isDefault
- true
- createdAt
Overview
addresses / #174
billing
#174
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/174" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/174" ); const address = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/addresses.d.ts https://example-data.com/types/addresses.d.ts
import type { Address } from "./types/addresses";
const res = await fetch(
"https://example-data.com/api/v1/addresses/174"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/174"
)
addresse = res.json() Response
{
"id": 174,
"userId": 134,
"label": "billing",
"recipient": "Mr. Jacob Walker",
"street1": "753 Ledner Glen",
"street2": "Apt. 412",
"city": "South Theresia",
"region": "Utah",
"postalCode": "02586",
"countryAlpha2": "AT",
"isDefault": true,
"createdAt": "2025-03-16T23:22:09.638Z"
}