billing
- userId
-
Karlee Hudson-Turner @karlee.hudson-turner88
- label
- billing
- recipient
- Keith Collins
- street1
- 62669 Faustino Estate
- street2
- —
- city
- New Sally
- region
- Virginia
- postalCode
- 90249-6048
- countryAlpha2
- AT
- isDefault
- true
- createdAt
Overview
addresses / #45
billing
#45
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/45" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/45" ); 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/45"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/45"
)
addresse = res.json() Response
{
"id": 45,
"userId": 36,
"label": "billing",
"recipient": "Keith Collins",
"street1": "62669 Faustino Estate",
"street2": null,
"city": "New Sally",
"region": "Virginia",
"postalCode": "90249-6048",
"countryAlpha2": "AT",
"isDefault": true,
"createdAt": "2025-03-09T07:36:22.761Z"
}