Skip to main content
POST
Look up an international address suggestion

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, an opaque member token, or a verified One Auth identity access token for a non-impersonated rep or shopper. The credential alone identifies the member and company.

Body

application/json

The international suggestion to look up, and the country it was asked for.

address_id
string
required

The id of an international suggestion, as Smarty gave it.

Required string length: 1 - 255
Pattern: ^[A-Za-z0-9+/=_-]+$
country
string
required

The ISO 3166-1 alpha-2 code the suggestion was asked for, either case.

Pattern: ^[A-Za-z]{2}$

Response

The address, or the suggestions to choose among first.

status
integer
required
data
object
required
meta
object
required

Envelope metadata present on every response.