Skip to main content
GET
/
experiences
/
{id}
cURL
curl --request GET \
  --url https://admin.fanfare.io/api/experiences/{id} \
  --header 'Authorization: Bearer <token>'
{
  "archived": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "timeZone": "<string>",
  "accessCode": "<string>",
  "closeAt": "2023-11-07T05:31:56Z",
  "i18n": {},
  "openAt": "2023-11-07T05:31:56Z",
  "product": {
    "archived": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "url": "<string>",
    "defaultVariantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "description": "<string>",
    "handle": "<string>",
    "metadata": {},
    "primaryExternalId": "<string>",
    "primaryLastSyncedAt": "2023-11-07T05:31:56Z",
    "primarySourceVendor": "<string>",
    "primarySyncSource": {
      "archived": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "syncSource": "<string>",
      "syncSourceId": "<string>",
      "lastSyncedAt": "2023-11-07T05:31:56Z",
      "sourceData": {},
      "syncStatus": "PENDING",
      "updatedAt": "2023-11-07T05:31:56Z",
      "updatedBy": "<string>"
    },
    "primarySyncSourceId": "<string>",
    "productMediaAssets": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "mediaAsset": {
          "archived": true,
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "altText": "<string>",
          "description": "<string>",
          "publicUrl": "<string>",
          "sourceUrl": "<string>",
          "thumbnailUrl": "<string>",
          "updatedAt": "2023-11-07T05:31:56Z",
          "updatedBy": "<string>",
          "uploadUrl": "<string>"
        },
        "mediaAssetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "position": 1,
        "productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "purpose": "<string>"
      }
    ],
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "<string>",
    "variants": [
      {
        "options": [
          {
            "optionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "optionName": "<string>",
            "value": "<string>",
            "valueId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
          }
        ],
        "archived": true,
        "createdAt": "2023-11-07T05:31:56Z",
        "createdBy": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "inventoryQuantity": 123,
        "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "price": "<string>",
        "productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "sku": "<string>",
        "metadata": {},
        "primaryExternalId": "<string>",
        "primaryLastSyncedAt": "2023-11-07T05:31:56Z",
        "primarySourceVendor": "<string>",
        "primarySyncSourceId": "<string>",
        "updatedAt": "2023-11-07T05:31:56Z",
        "updatedBy": "<string>"
      }
    ]
  },
  "products": [
    {
      "experienceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "isPrimary": true,
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "position": 123,
      "productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "product": {
        "archived": true,
        "createdAt": "2023-11-07T05:31:56Z",
        "createdBy": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "url": "<string>",
        "defaultVariantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "description": "<string>",
        "handle": "<string>",
        "metadata": {},
        "primaryExternalId": "<string>",
        "primaryLastSyncedAt": "2023-11-07T05:31:56Z",
        "primarySourceVendor": "<string>",
        "primarySyncSource": {
          "archived": true,
          "createdAt": "2023-11-07T05:31:56Z",
          "createdBy": "<string>",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "syncSource": "<string>",
          "syncSourceId": "<string>",
          "lastSyncedAt": "2023-11-07T05:31:56Z",
          "sourceData": {},
          "syncStatus": "PENDING",
          "updatedAt": "2023-11-07T05:31:56Z",
          "updatedBy": "<string>"
        },
        "primarySyncSourceId": "<string>",
        "productMediaAssets": [
          {
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "mediaAsset": {
              "archived": true,
              "createdAt": "2023-11-07T05:31:56Z",
              "createdBy": "<string>",
              "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "name": "<string>",
              "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "altText": "<string>",
              "description": "<string>",
              "publicUrl": "<string>",
              "sourceUrl": "<string>",
              "thumbnailUrl": "<string>",
              "updatedAt": "2023-11-07T05:31:56Z",
              "updatedBy": "<string>",
              "uploadUrl": "<string>"
            },
            "mediaAssetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "position": 1,
            "productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "purpose": "<string>"
          }
        ],
        "updatedAt": "2023-11-07T05:31:56Z",
        "updatedBy": "<string>",
        "variants": [
          {
            "options": [
              {
                "optionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
                "optionName": "<string>",
                "value": "<string>",
                "valueId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
              }
            ],
            "archived": true,
            "createdAt": "2023-11-07T05:31:56Z",
            "createdBy": "<string>",
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "inventoryQuantity": 123,
            "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "price": "<string>",
            "productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "sku": "<string>",
            "metadata": {},
            "primaryExternalId": "<string>",
            "primaryLastSyncedAt": "2023-11-07T05:31:56Z",
            "primarySourceVendor": "<string>",
            "primarySyncSourceId": "<string>",
            "updatedAt": "2023-11-07T05:31:56Z",
            "updatedBy": "<string>"
          }
        ]
      },
      "productVariant": {
        "archived": true,
        "createdAt": "2023-11-07T05:31:56Z",
        "createdBy": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "inventoryQuantity": 123,
        "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "price": "<string>",
        "productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "sku": "<string>",
        "metadata": {},
        "primaryExternalId": "<string>",
        "primaryLastSyncedAt": "2023-11-07T05:31:56Z",
        "primarySourceVendor": "<string>",
        "primarySyncSourceId": "<string>",
        "updatedAt": "2023-11-07T05:31:56Z",
        "updatedBy": "<string>"
      },
      "productVariantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "theme": {
    "background": "<string>",
    "danger": "<string>",
    "fontFamily": "<string>",
    "fontHeading": "<string>",
    "headerImageUrl": "<string>",
    "logoUrl": "<string>",
    "muted": "<string>",
    "primary": "<string>",
    "secondary": "<string>",
    "success": "<string>",
    "surface": "<string>",
    "text": "<string>",
    "warning": "<string>"
  },
  "updatedAt": "2023-11-07T05:31:56Z",
  "updatedBy": "<string>"
}

Authorizations

Authorization
string
header
required

Fanfare secret key. Keep secret credentials on your server.

Path Parameters

id
string
required

Response

Experience retrieved successfully

archived
boolean
required
createdAt
string<date-time>
required
createdBy
string
required
id
string<uuid>
required
name
string
required
Minimum string length: 1
organizationId
string<uuid>
required
timeZone
string
required
Minimum string length: 1
accessCode
string | null
closeAt
string<date-time> | null
i18n
object | null
openAt
string<date-time> | null
product
object | null
products
object[] | null
theme
object | null
updatedAt
string<date-time> | null
updatedBy
string | null