Optimizely Badge Attribute Values API

The Badge Attribute Values API from Optimizely — 5 operation(s) for badge attribute values.

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/admin/BadgeAttributeValues List badge attribute value links · Returns the EntitySet BadgeAttributeValues #
Ask an LLM
“Which attribute values are tied to product badges in Optimizely Configured Commerce?”
“Can I filter badge attribute values down to one badge?”
Tell an agent
List all badge attribute value links.
List badge attribute values matching {filter}, top {top}.
POST /api/v1/admin/BadgeAttributeValues Link an attribute value to a badge · Post a new entity to EntitySet BadgeAttributeValues #
Ask an LLM
“How do I make a badge apply to products with a certain attribute value?”
“What do I need to connect a badge to an attribute value?”
Tell an agent
Link badge {badgeId} to attribute value {attributeValueId}.
Attach attribute value {attributeValueId} as a rule for badge {badgeId}.
GET /api/v1/admin/BadgeAttributeValues({id}) Get one badge attribute value link · Returns the entity with the key from BadgeAttributeValues #
Ask an LLM
“How do I look up a single badge-to-attribute-value link by its ID?”
“Can I expand the badge on one badge attribute value record?”
Tell an agent
Show badge attribute value {id}.
Fetch badge attribute value {id} with {expand} expanded.
PUT /api/v1/admin/BadgeAttributeValues({id}) Replace a badge attribute value link · Replace entity in EntitySet BadgeAttributeValues #
Ask an LLM
“Can I overwrite a badge attribute value link with a new badge and value?”
“What happens when I fully replace a badge attribute value record?”
Tell an agent
Replace badge attribute value {id} with badge {badgeId} and attribute value {attributeValueId}.
Overwrite the whole badge attribute value record {id}, pointing it at badge {badgeId}.
DELETE /api/v1/admin/BadgeAttributeValues({id}) Delete a badge attribute value link · Delete entity in EntitySet BadgeAttributeValues #
Ask an LLM
“How do I unlink one attribute value from a badge?”
“Can I make removing a badge attribute value conditional on an ETag?”
Tell an agent destructive · confirm first
Delete badge attribute value {id}.
Delete badge attribute value {id} only if its ETag matches {etag}.
PATCH /api/v1/admin/BadgeAttributeValues({id}) Update a badge attribute value link · Update entity in EntitySet BadgeAttributeValues #
Ask an LLM
“Can I switch just the attribute value on an existing badge link?”
“Is it possible to partially update a badge attribute value?”
Tell an agent
Patch badge attribute value {id} to use attribute value {attributeValueId}.
Move badge attribute value {id} over to badge {badgeId}.
GET /api/v1/admin/BadgeAttributeValues/Default.Default() Get default values for a badge attribute value · Call operation Default #
Ask an LLM
“What defaults does the admin pre-fill for a new badge attribute value?”
“Where can I get a blank badge attribute value template?”
Tell an agent
Get the default badge attribute value template.
Show me the pre-filled defaults for a new badge attribute value.
DELETE /api/v1/admin/badgeattributevalues/delete Bulk delete badge attribute values · Badge attribute values delete route #
Ask an LLM
“How do I unlink many attribute values from badges in one request?”
“Can I bulk-remove badge attribute values by ID?”
Tell an agent destructive · confirm first
Bulk delete badge attribute values {ids}.
Permanently remove the badge attribute value links {ids}.
GET /api/v1/admin/badgeattributevalues({key})/customproperties({custompropertyKey}) Get a custom property on a badge attribute value · Badge attribute values get custom property by key and custompropertykey #
Ask an LLM
“How can I read one custom property on a badge attribute value?”
“Can I select fields from a badge attribute value's custom property?”
Tell an agent
Show custom property {custompropertyKey} on badge attribute value {key}.
Fetch badge attribute value {key}'s custom property {custompropertyKey}, selecting {select}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/optimizely:optimizely-badge-attribute-values-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

optimizely-badge-attribute-values-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: admin-v1
  title: Admin API V1 Badge Attribute Values API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Badge Attribute Values
paths:
  /api/v1/admin/BadgeAttributeValues:
    get:
      tags:
      - Badge Attribute Values
      summary: Returns the EntitySet BadgeAttributeValues
      operationId: BadgeAttributeValues_Get
      parameters:
      - name: $expand
        in: query
        description: Expands related entities inline.
        required: false
        schema:
          type: string
      - name: $filter
        in: query
        description: Filters the results, based on a Boolean condition.
        required: false
        schema:
          type: string
      - name: $select
        in: query
        description: Selects which properties to include in the response.
        required: false
        schema:
          type: string
      - name: $apply
        in: query
        description: Aggregates the results according to one or more transformations.
        required: false
        schema:
          type: string
      - name: $orderby
        in: query
        description: Sorts the results.
        required: false
        schema:
          type: string
      - name: $top
        in: query
        description: Returns only the first n results.
        required: false
        schema:
          type: integer
          format: int32
      - name: $skip
        in: query
        description: Skips the first n results.
        required: false
        schema:
          type: integer
          format: int32
      - name: $count
        in: query
        description: Includes a count of the matching results in the response.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    post:
      tags:
      - Badge Attribute Values
      summary: Post a new entity to EntitySet BadgeAttributeValues
      operationId: BadgeAttributeValues_Post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.BadgeAttributeValue'
        description: The entity to post
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/BadgeAttributeValues({id}):
    get:
      tags:
      - Badge Attribute Values
      summary: Returns the entity with the key from BadgeAttributeValues
      operationId: BadgeAttributeValues_GetById
      parameters:
      - name: id
        in: path
        description: 'key: id'
        required: true
        schema:
          type: string
          format: uuid
      - name: $expand
        in: query
        description: Expands related entities inline.
        required: false
        schema:
          type: string
      - name: $select
        in: query
        description: Selects which properties to include in the response.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    put:
      tags:
      - Badge Attribute Values
      summary: Replace entity in EntitySet BadgeAttributeValues
      operationId: BadgeAttributeValues_PutById
      parameters:
      - name: id
        in: path
        description: 'key: id'
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.BadgeAttributeValue'
        description: The entity to put
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    delete:
      tags:
      - Badge Attribute Values
      summary: Delete entity in EntitySet BadgeAttributeValues
      operationId: BadgeAttributeValues_DeleteById
      parameters:
      - name: id
        in: path
        description: 'key: id'
        required: true
        schema:
          type: string
          format: uuid
      - name: If-Match
        in: header
        description: If-Match header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    patch:
      tags:
      - Badge Attribute Values
      summary: Update entity in EntitySet BadgeAttributeValues
      operationId: BadgeAttributeValues_PatchById
      parameters:
      - name: id
        in: path
        description: 'key: id'
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.BadgeAttributeValue'
        description: The entity to patch
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/BadgeAttributeValues/Default.Default():
    get:
      tags:
      - Badge Attribute Values
      summary: Call operation Default
      operationId: BadgeAttributeValues_Default
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/badgeattributevalues/delete:
    delete:
      tags:
      - Badge Attribute Values
      operationId: BadgeAttributeValues_DeleteRoute
      parameters:
      - name: ids
        in: query
        required: true
        explode: true
        schema:
          type: array
          items:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
      summary: Badge attribute values delete route
      x-summary-source: derived
  /api/v1/admin/badgeattributevalues({key})/customproperties({custompropertyKey}):
    get:
      tags:
      - Badge Attribute Values
      operationId: BadgeAttributeValues_GetCustomPropertyByKeyAndCustompropertykey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: custompropertyKey
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: $expand
        in: query
        description: Expands related entities inline.
        required: false
        schema:
          type: string
      - name: $select
        in: query
        description: Selects which properties to include in the response.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
      summary: Badge attribute values get custom property by key and custompropertykey
      x-summary-source: derived
components:
  schemas:
    Insite.Data.Entities.BadgeAttributeValue:
      type: object
      properties:
        id:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        badgeId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        attributeValueId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        createdOn:
          format: date-time
          type: string
        createdBy:
          type: string
        modifiedOn:
          format: date-time
          type: string
        modifiedBy:
          type: string
  securitySchemes:
    access_token:
      type: apiKey
      description: Token used to access storefront API.
      name: access_token
      in: query