example-data.com

addresses / #130

userId
Tabitha McKenzie @tabitha_mckenzie
label
home
recipient
Russell Dare
street1
8430 Albion Street
street2
city
Salem
region
Alabama
postalCode
62501-1812
countryAlpha2
VN
isDefault
false
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/addresses/130" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/addresses/130"
);
const addresse = await res.json();
import type { Addresse } from "https://example-data.com/types/addresses.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/addresses/130"
);
const addresse = (await res.json()) as Addresse;
import requests

res = requests.get(
    "https://example-data.com/api/v1/addresses/130"
)
addresse = res.json()
{
  "id": 130,
  "userId": 98,
  "label": "home",
  "recipient": "Russell Dare",
  "street1": "8430 Albion Street",
  "street2": null,
  "city": "Salem",
  "region": "Alabama",
  "postalCode": "62501-1812",
  "countryAlpha2": "VN",
  "isDefault": false,
  "createdAt": "2024-09-19T20:36:59.863Z"
}
Draftbit