Get a an address for a customer
  • 15 Nov 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light

Get a an address for a customer

  • Dark
    Light

Article summary

Get
/customer/v1/customers/{customerId}/addresses/{addressId}

Get a address by customerId and addressId

Security
HTTP
Type bearer
Path parameters
customerId
stringRequired
addressId
stringRequired
Responses
200

The address was found

Headers
ETag
stringRequired
Expand All
object
data
object
id
string

The unique identifier of the address

type
string

The type of the object

Valid values[ "ADDRESS" ]
createdAt
string (date-time)

The date and time the address was created

updatedAt
string (date-time)

The date and time the address was last updated

line1
string

The first line of the address

line2
string

The second line of the address

line3
string

The third line of the address

city
string

The city of the address

province
string

The province of the address

postalCode
string

The postal code of the address

country
string

The country of the address

meta
object
400

Invalid Request

Expand All
object
meta
object

Additional information about the error.

errors
Array of object

A list of causes for the error.

object
status
string

The HTTP status code of the error.

title
string

A short, human-readable summary of the problem.

detail
string

A human-readable explanation specific to this occurrence of the problem.

source
object

The source of the error.

pointer
string

A JSON Pointer to the location in the request that caused the error.

parameter
string

The parameter in the request that caused the error.

header
string

The header in the request that caused the error.

meta
object

Additional information about the error.

401

Invalid Authentication Credentials

Expand All
object
meta
object

Additional information about the error.

errors
Array of object

A list of causes for the error.

object
status
string

The HTTP status code of the error.

title
string

A short, human-readable summary of the problem.

detail
string

A human-readable explanation specific to this occurrence of the problem.

source
object

The source of the error.

pointer
string

A JSON Pointer to the location in the request that caused the error.

parameter
string

The parameter in the request that caused the error.

header
string

The header in the request that caused the error.

meta
object

Additional information about the error.

403

Invalid Authorization Credentials

Expand All
object
meta
object

Additional information about the error.

errors
Array of object

A list of causes for the error.

object
status
string

The HTTP status code of the error.

title
string

A short, human-readable summary of the problem.

detail
string

A human-readable explanation specific to this occurrence of the problem.

source
object

The source of the error.

pointer
string

A JSON Pointer to the location in the request that caused the error.

parameter
string

The parameter in the request that caused the error.

header
string

The header in the request that caused the error.

meta
object

Additional information about the error.

404

Resource Not Found

Expand All
object
meta
object

Additional information about the error.

errors
Array of object

A list of causes for the error.

object
status
string

The HTTP status code of the error.

title
string

A short, human-readable summary of the problem.

detail
string

A human-readable explanation specific to this occurrence of the problem.

source
object

The source of the error.

pointer
string

A JSON Pointer to the location in the request that caused the error.

parameter
string

The parameter in the request that caused the error.

header
string

The header in the request that caused the error.

meta
object

Additional information about the error.

500

Internal Server Error

Expand All
object
meta
object

Additional information about the error.

errors
Array of object

A list of causes for the error.

object
status
string

The HTTP status code of the error.

title
string

A short, human-readable summary of the problem.

detail
string

A human-readable explanation specific to this occurrence of the problem.

source
object

The source of the error.

pointer
string

A JSON Pointer to the location in the request that caused the error.

parameter
string

The parameter in the request that caused the error.

header
string

The header in the request that caused the error.

meta
object

Additional information about the error.


Was this article helpful?