example-data.com

addresses / #199

userId
Jonathan Howe @jonathan_howe77
label
shipping
recipient
Jimmy Daugherty
street1
5531 Johnston Alley
street2
city
Corkeryland
region
Vermont
postalCode
61834-1901
countryAlpha2
BE
isDefault
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/addresses/199"
)
addresse = res.json()
{
  "id": 199,
  "userId": 150,
  "label": "shipping",
  "recipient": "Jimmy Daugherty",
  "street1": "5531 Johnston Alley",
  "street2": null,
  "city": "Corkeryland",
  "region": "Vermont",
  "postalCode": "61834-1901",
  "countryAlpha2": "BE",
  "isDefault": true,
  "createdAt": "2024-10-26T13:10:57.166Z"
}
Draftbit