example-data.com

addresses / #217

userId
Nikolas Wolf @nikolas.wolf
label
other
recipient
Bennie O'Hara
street1
558 Buckingham Road
street2
city
Fort Francisca
region
Vermont
postalCode
70182
countryAlpha2
ES
isDefault
false
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/addresses/217"
)
addresse = res.json()
{
  "id": 217,
  "userId": 158,
  "label": "other",
  "recipient": "Bennie O'Hara",
  "street1": "558 Buckingham Road",
  "street2": null,
  "city": "Fort Francisca",
  "region": "Vermont",
  "postalCode": "70182",
  "countryAlpha2": "ES",
  "isDefault": false,
  "createdAt": "2024-10-23T20:35:01.012Z"
}
Draftbit