Optimizely Customer Product Set Products API

The Customer Product Set Products API from Optimizely — 5 operation(s) for customer product set products.

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/CustomerProductSetProducts List products in customer product sets · Returns the EntitySet CustomerProductSetProducts #
Ask an LLM
“Which products are included in my customers' restricted product sets in Optimizely Configured Commerce?”
“Can I filter the product set entries to a single customer product set?”
Tell an agent
List all customer product set product entries.
List customer product set products matching {filter}, skipping {skip}.
POST /api/v1/admin/CustomerProductSetProducts Add a product to a customer product set · Post a new entity to EntitySet CustomerProductSetProducts #
Ask an LLM
“How do I add a product to a customer-specific product set?”
“What do I need to include a product in a customer product set?”
Tell an agent
Add product {productId} to customer product set {customerProductSetId}.
Put product {productId} into the customer's product set {customerProductSetId}.
GET /api/v1/admin/CustomerProductSetProducts({id}) Get one customer product set entry · Returns the entity with the key from CustomerProductSetProducts #
Ask an LLM
“How do I look up a single product-in-set entry by its ID?”
“Can I expand the product when fetching one customer product set entry?”
Tell an agent
Show customer product set product {id}.
Fetch customer product set entry {id} with {expand} expanded.
PUT /api/v1/admin/CustomerProductSetProducts({id}) Replace a customer product set entry · Replace entity in EntitySet CustomerProductSetProducts #
Ask an LLM
“Can I overwrite a product set entry with a different product and set?”
“What happens when I fully replace a customer product set product record?”
Tell an agent
Replace customer product set entry {id} with product {productId} in set {customerProductSetId}.
Overwrite the whole product set entry {id}, pointing it at product {productId}.
DELETE /api/v1/admin/CustomerProductSetProducts({id}) Remove a product from a customer product set · Delete entity in EntitySet CustomerProductSetProducts #
Ask an LLM
“How do I take one product out of a customer product set?”
“Can I make removing a product set entry conditional on an ETag?”
Tell an agent destructive · confirm first
Delete customer product set product {id}.
Delete product set entry {id} only if its ETag matches {etag}.
PATCH /api/v1/admin/CustomerProductSetProducts({id}) Update a customer product set entry · Update entity in EntitySet CustomerProductSetProducts #
Ask an LLM
“Can I move a product set entry to a different customer product set?”
“Is a partial update possible on a customer product set product?”
Tell an agent
Patch product set entry {id} to belong to set {customerProductSetId}.
Swap the product on set entry {id} to {productId}.
GET /api/v1/admin/CustomerProductSetProducts/Default.Default() Get default values for a product set entry · Call operation Default #
Ask an LLM
“What defaults does the admin pre-fill for a new customer product set product?”
“Where do I get a blank customer product set entry template?”
Tell an agent
Get the default customer product set product template.
Show me the pre-filled defaults for a new product set entry.
DELETE /api/v1/admin/customerproductsetproducts/delete Bulk remove products from customer product sets · Customer product set products delete route #
Ask an LLM
“How do I remove many products from customer product sets at once?”
“Can I bulk-delete customer product set entries by ID?”
Tell an agent destructive · confirm first
Bulk delete customer product set products {ids}.
Permanently remove the product set entries {ids}.
GET /api/v1/admin/customerproductsetproducts({key})/customproperties({custompropertyKey}) Get a custom property on a product set entry · Customer product set products get custom property by key and custompropertykey #
Ask an LLM
“How can I read one custom property stored on a customer product set entry?”
“Can I select fields from a product set entry's custom property?”
Tell an agent
Show custom property {custompropertyKey} on customer product set product {key}.
Fetch product set entry {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-customer-product-set-products-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-customer-product-set-products-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: admin-v1
  title: Admin API V1 Customer Product Set Products API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Customer Product Set Products
paths:
  /api/v1/admin/CustomerProductSetProducts:
    get:
      tags:
      - Customer Product Set Products
      summary: Returns the EntitySet CustomerProductSetProducts
      operationId: CustomerProductSetProducts_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:
      - Customer Product Set Products
      summary: Post a new entity to EntitySet CustomerProductSetProducts
      operationId: CustomerProductSetProducts_Post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.CustomerProductSetProduct'
        description: The entity to post
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/CustomerProductSetProducts({id}):
    get:
      tags:
      - Customer Product Set Products
      summary: Returns the entity with the key from CustomerProductSetProducts
      operationId: CustomerProductSetProducts_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:
      - Customer Product Set Products
      summary: Replace entity in EntitySet CustomerProductSetProducts
      operationId: CustomerProductSetProducts_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.CustomerProductSetProduct'
        description: The entity to put
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    delete:
      tags:
      - Customer Product Set Products
      summary: Delete entity in EntitySet CustomerProductSetProducts
      operationId: CustomerProductSetProducts_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:
      - Customer Product Set Products
      summary: Update entity in EntitySet CustomerProductSetProducts
      operationId: CustomerProductSetProducts_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.CustomerProductSetProduct'
        description: The entity to patch
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/CustomerProductSetProducts/Default.Default():
    get:
      tags:
      - Customer Product Set Products
      summary: Call operation Default
      operationId: CustomerProductSetProducts_Default
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/customerproductsetproducts/delete:
    delete:
      tags:
      - Customer Product Set Products
      operationId: CustomerProductSetProducts_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: Customer product set products delete route
      x-summary-source: derived
  /api/v1/admin/customerproductsetproducts({key})/customproperties({custompropertyKey}):
    get:
      tags:
      - Customer Product Set Products
      operationId: CustomerProductSetProducts_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: Customer product set products get custom property by key and custompropertykey
      x-summary-source: derived
components:
  schemas:
    Insite.Data.Entities.CustomerProductSetProduct:
      type: object
      properties:
        id:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        customerProductSetId:
          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