Skip to main content

Get an Account's Tags Relationship

GET 

https://useast.api.elasticpath.com/v2/accounts/:accountID/relationships/account-tags

Get a list of Account Tags on an Account

Request

Path Parameters

    accountID uuidrequired

    The ID of the account you want to retrieve.

Responses

OK

Schema
    data object[]
  • Array [
  • idstring

    The unique identifier for the related Account Tag.

    Example: 652e39d8-d613-493e-8c20-fef99ad6327a
    typestring

    Specifies the type of the resource object.

  • ]
  • links object
    selfstring

    A URL to the specific resource.

    Example: https://useast.api.elasticpath.com/v2/accounts/deb6b25f-8451-4211-9a22-95610333df23/relationships/account-tags

Authorization: http

name: BearerTokentype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://useast.api.elasticpath.com/v2/accounts/:accountID/relationships/account-tags");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
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!

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.