GET
/
api-offers
/
attributes
/
{attributeId}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Path Parameters

attributeId
number
required

ID of the attribute to be retrieved

Response

200 - application/json
_id
string

A 24-character system-generated attribute ID.

attributeId
number

A unique identifier of the attribute, for external use.

createdAt
string

The time of attribute creation, in UTC format.

deleted
boolean

A flag indicating the deletion status of the attribute. Set it to true to indicate the attribute is deleted and false to indicate otherwise.

name
string

The attribute name.

updatedAt
string

The time when the attribute was last updated, in UTC format.

values
string[]

The attribute values.