shipping
- userId
-
Era Mitchell @era.mitchell21
- label
- shipping
- recipient
- Sarah Windler
- street1
- 5259 Birch Close
- street2
- Suite 965
- city
- Kokomo
- region
- North Dakota
- postalCode
- 39007-7757
- countryAlpha2
- SG
- isDefault
- true
- createdAt
Overview
addresses / #336
shipping
#336
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/336" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/336" ); 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/336"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/336"
)
addresse = res.json() Response
{
"id": 336,
"userId": 243,
"label": "shipping",
"recipient": "Sarah Windler",
"street1": "5259 Birch Close",
"street2": "Suite 965",
"city": "Kokomo",
"region": "North Dakota",
"postalCode": "39007-7757",
"countryAlpha2": "SG",
"isDefault": true,
"createdAt": "2025-11-30T11:34:20.544Z"
}