Skip to main content

Get an Account

GET 

https://useast.api.elasticpath.com/v2/accounts/:accountID

View a specific account contained within your store

Request

Path Parameters

    accountID stringrequired

    The ID of the account you want to retrieve.

Responses

OK

Schema
    data object
    type stringrequired

    Default value: account

    Specifies the the type of object. Set this value to account.

    name stringrequired

    Specifies the name of the account.

    legal_name stringrequired

    Specifies the legal name of the account.

    registration_id string

    Specifies the registration ID. If specified, this field is checked for uniqueness.

    external_ref string

    The unique attribute associated with the account. For example, this could be an external reference from a separate company system. The maximum length is 2048 characters. Default is null.

    id UUID (string)

    The unique identifier for an Account.

    meta object

    Additional information for this realm. For more information, see The meta object section.

    timestamps object
    created_at string

    The date the account is created.

    updated_at string

    The date the account is updated.

    links object
    self string

    A URL to the specific resource.

Authorization: http

name: BearerTokentype: httpscheme: bearer
curl -L -X GET 'https://useast.api.elasticpath.com/v2/accounts/:accountID' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://useast.api.elasticpath.com
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!