example-data.com

addresses / #36

userId
Conrad Connelly @conrad.connelly22
label
home
recipient
Jimmy Larkin
street1
48095 Buckingham Road
street2
Apt. 685
city
New Amiehaven
region
Indiana
postalCode
55487-6982
countryAlpha2
CA
isDefault
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/addresses/36"
)
addresse = res.json()
{
  "id": 36,
  "userId": 30,
  "label": "home",
  "recipient": "Jimmy Larkin",
  "street1": "48095 Buckingham Road",
  "street2": "Apt. 685",
  "city": "New Amiehaven",
  "region": "Indiana",
  "postalCode": "55487-6982",
  "countryAlpha2": "CA",
  "isDefault": true,
  "createdAt": "2024-07-21T23:16:39.564Z"
}
Draftbit