Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sdk-sales/src/sdk/getAddresses"

Index

Functions

Functions

getAddresses

  • getAddresses(): Promise<Array<Address> | APIErrorResponse>
  • Returns Promise<Array<Address> | APIErrorResponse>

    Promise resolving to an array of available billing & shipping addresses.

    On success (resolves)
    [
      {
        "country": "string",
        "line1": "string",
        "line2": "string",
        "locality": "string",
        "region": "string",
        "postal": "string"
      }
    ]