example-data.com

addresses / #5

userId
Webster Skiles @webster_skiles39
label
other
recipient
Camille Treutel
street1
105 Erich Light
street2
city
North Ayana
region
Iowa
postalCode
87112
countryAlpha2
SA
isDefault
false
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/addresses/5" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/addresses/5"
);
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/5"
);
const addresse = (await res.json()) as Addresse;
import requests

res = requests.get(
    "https://example-data.com/api/v1/addresses/5"
)
addresse = res.json()
{
  "id": 5,
  "userId": 5,
  "label": "other",
  "recipient": "Camille Treutel",
  "street1": "105 Erich Light",
  "street2": null,
  "city": "North Ayana",
  "region": "Iowa",
  "postalCode": "87112",
  "countryAlpha2": "SA",
  "isDefault": false,
  "createdAt": "2024-07-03T18:57:51.162Z"
}
Draftbit