Optimizely Restriction Group Product Additions API

The Restriction Group Product Additions API from Optimizely — 5 operation(s) for restriction group product additions.

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/RestrictionGroupProductAdditions List products added to restriction groups · Returns the EntitySet RestrictionGroupProductAdditions #
Ask an LLM
“Which products have been explicitly added to restriction groups in my commerce catalog?”
“Can I filter restriction group product additions to a single restriction group?”
Tell an agent
List all restriction group product additions.
List restriction group product additions matching {filter}.
POST /api/v1/admin/RestrictionGroupProductAdditions Add a product to a restriction group · Post a new entity to EntitySet RestrictionGroupProductAdditions #
Ask an LLM
“How do I add a product to a restriction group?”
“Can I link one product to a specific restriction group through the admin API?”
Tell an agent
Add product {productId} to restriction group {restrictionGroupId}.
Create a restriction group product addition for product {productId}.
GET /api/v1/admin/RestrictionGroupProductAdditions({id}) Get one restriction group product addition · Returns the entity with the key from RestrictionGroupProductAdditions #
Ask an LLM
“Which product and restriction group does a specific addition record link?”
“Can I fetch a single restriction group product addition by ID?”
Tell an agent
Get restriction group product addition {id}.
Show restriction group product addition {id} with {expand} expanded.
PUT /api/v1/admin/RestrictionGroupProductAdditions({id}) Replace a restriction group product addition · Replace entity in EntitySet RestrictionGroupProductAdditions #
Ask an LLM
“Is there a way to overwrite a whole restriction group product addition record?”
“What call fully replaces an existing product-to-restriction-group link?”
Tell an agent
Replace restriction group product addition {id} to link product {productId} with group {restrictionGroupId}.
Overwrite the full restriction group product addition {id}.
DELETE /api/v1/admin/RestrictionGroupProductAdditions({id}) Remove a product from a restriction group · Delete entity in EntitySet RestrictionGroupProductAdditions #
Ask an LLM
“How do I take a product back out of a restriction group?”
“Can I delete one restriction group product addition by ID?”
Tell an agent destructive · confirm first
Delete restriction group product addition {id}.
Remove restriction group product addition {id} if its ETag is {ifMatch}.
PATCH /api/v1/admin/RestrictionGroupProductAdditions({id}) Update a restriction group product addition · Update entity in EntitySet RestrictionGroupProductAdditions #
Ask an LLM
“Can I move an existing product addition to a different restriction group?”
“How do I change which product an existing restriction group addition points at?”
Tell an agent
Move restriction group product addition {id} to restriction group {restrictionGroupId}.
Patch restriction group product addition {id} to point at product {productId}.
GET /api/v1/admin/RestrictionGroupProductAdditions/Default.Default() Call the Default function on restriction group additions · Call operation Default #
Ask an LLM
“What does the Default function on restriction group product additions return?”
“Is there a Default operation for restriction group product additions?”
Tell an agent
Call the Default function on restriction group product additions.
Run the restriction group product additions Default operation and show the result.
DELETE /api/v1/admin/restrictiongroupproductadditions/delete Bulk delete restriction group product additions · Restriction group product additions delete route #
Ask an LLM
“Can I pull many products out of restriction groups in one request?”
“How do I delete a batch of restriction group product additions by ID?”
Tell an agent destructive · confirm first
Delete the restriction group product additions with IDs {ids}.
Bulk remove restriction group product additions {ids} together.
GET /api/v1/admin/restrictiongroupproductadditions({key})/customproperties({custompropertyKey}) Get a custom property of a restriction group addition · Restriction group product additions get custom property by key and… #
Ask an LLM
“How can I read a custom property on a restriction group product addition?”
“Do restriction group product additions carry custom properties I can fetch by key?”
Tell an agent
Get custom property {custompropertyKey} of restriction group product addition {key}.
Show the value of custom property {custompropertyKey} on restriction group product addition {key}.

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-restriction-group-product-additions-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-restriction-group-product-additions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: admin-v1
  title: Admin API V1 Restriction Group Product Additions API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Restriction Group Product Additions
paths:
  /api/v1/admin/RestrictionGroupProductAdditions:
    get:
      tags:
      - Restriction Group Product Additions
      summary: Returns the EntitySet RestrictionGroupProductAdditions
      operationId: RestrictionGroupProductAdditions_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:
      - Restriction Group Product Additions
      summary: Post a new entity to EntitySet RestrictionGroupProductAdditions
      operationId: RestrictionGroupProductAdditions_Post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.RestrictionGroupProductAddition'
        description: The entity to post
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/RestrictionGroupProductAdditions({id}):
    get:
      tags:
      - Restriction Group Product Additions
      summary: Returns the entity with the key from RestrictionGroupProductAdditions
      operationId: RestrictionGroupProductAdditions_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:
      - Restriction Group Product Additions
      summary: Replace entity in EntitySet RestrictionGroupProductAdditions
      operationId: RestrictionGroupProductAdditions_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.RestrictionGroupProductAddition'
        description: The entity to put
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    delete:
      tags:
      - Restriction Group Product Additions
      summary: Delete entity in EntitySet RestrictionGroupProductAdditions
      operationId: RestrictionGroupProductAdditions_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:
      - Restriction Group Product Additions
      summary: Update entity in EntitySet RestrictionGroupProductAdditions
      operationId: RestrictionGroupProductAdditions_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.RestrictionGroupProductAddition'
        description: The entity to patch
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/RestrictionGroupProductAdditions/Default.Default():
    get:
      tags:
      - Restriction Group Product Additions
      summary: Call operation Default
      operationId: RestrictionGroupProductAdditions_Default
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/restrictiongroupproductadditions/delete:
    delete:
      tags:
      - Restriction Group Product Additions
      operationId: RestrictionGroupProductAdditions_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: Restriction group product additions delete route
      x-summary-source: derived
  /api/v1/admin/restrictiongroupproductadditions({key})/customproperties({custompropertyKey}):
    get:
      tags:
      - Restriction Group Product Additions
      operationId: RestrictionGroupProductAdditions_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: Restriction group product additions get custom property by key and…
      x-summary-source: derived
components:
  schemas:
    Insite.Data.Entities.RestrictionGroupProductAddition:
      type: object
      properties:
        id:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        restrictionGroupId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        productId:
          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