billing
- userId
-
Carroll Wisozk @carroll_wisozk
- label
- billing
- recipient
- Leon Anderson
- street1
- 93048 Cody Shoal
- street2
- —
- city
- South Xanderstead
- region
- Maryland
- postalCode
- 02983
- countryAlpha2
- MX
- isDefault
- true
- createdAt
Overview
addresses / #287
billing
#287
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/287" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/287" ); 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/287"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/287"
)
addresse = res.json() Response
{
"id": 287,
"userId": 210,
"label": "billing",
"recipient": "Leon Anderson",
"street1": "93048 Cody Shoal",
"street2": null,
"city": "South Xanderstead",
"region": "Maryland",
"postalCode": "02983",
"countryAlpha2": "MX",
"isDefault": true,
"createdAt": "2025-09-15T04:30:07.191Z"
}