Optimizely Rule Clause Customers API

The Rule Clause Customers API from Optimizely — 5 operation(s) for rule clause customers.

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/RuleClauseCustomers List customers attached to rule clauses · Returns the EntitySet RuleClauseCustomers #
Ask an LLM
“Which customers are targeted by rule clauses in my Optimizely commerce rules?”
“Can I filter rule clause customers to one rule clause?”
Tell an agent
List all rule clause customer links.
List rule clause customers matching {filter}.
POST /api/v1/admin/RuleClauseCustomers Attach a customer to a rule clause · Post a new entity to EntitySet RuleClauseCustomers #
Ask an LLM
“How do I make a rule clause apply to a specific customer?”
“Can I link a customer to an existing rule clause?”
Tell an agent
Attach customer {customerId} to rule clause {ruleClauseId}.
Add rule clause {ruleClauseId} targeting customer {customerId}.
GET /api/v1/admin/RuleClauseCustomers({id}) Get a rule clause customer link · Returns the entity with the key from RuleClauseCustomers #
Ask an LLM
“Which customer and rule clause does a given link record connect?”
“How do I fetch one rule clause customer by id?”
Tell an agent
Get rule clause customer {id}.
Show the customer and clause behind link {id}.
PUT /api/v1/admin/RuleClauseCustomers({id}) Replace a rule clause customer link · Replace entity in EntitySet RuleClauseCustomers #
Ask an LLM
“How do I overwrite a rule clause customer record?”
“Can I replace both the clause and customer on a link?”
Tell an agent
Replace rule clause customer {id} with clause {ruleClauseId} and customer {customerId}.
Fully overwrite rule clause customer link {id}.
DELETE /api/v1/admin/RuleClauseCustomers({id}) Detach a customer from a rule clause · Delete entity in EntitySet RuleClauseCustomers #
Ask an LLM
“How do I stop a rule clause from applying to a customer?”
“Can I delete a rule clause customer link with an ETag guard?”
Tell an agent destructive · confirm first
Delete rule clause customer {id}.
Delete rule clause customer link {id} if its ETag is {etag}.
PATCH /api/v1/admin/RuleClauseCustomers({id}) Change the customer on a rule clause link · Update entity in EntitySet RuleClauseCustomers #
Ask an LLM
“How do I switch a rule clause link to a different customer?”
“Can I move a customer link to another rule clause?”
Tell an agent
Change the customer on rule clause link {id} to {customerId}.
Point rule clause customer {id} at rule clause {ruleClauseId}.
GET /api/v1/admin/RuleClauseCustomers/Default.Default() Get a blank default rule clause customer · Call operation Default #
Ask an LLM
“What does an empty rule clause customer object contain?”
“Is there a template for a new rule clause customer link?”
Tell an agent
Get the default template for a new rule clause customer.
Show the blank rule clause customer object.
DELETE /api/v1/admin/ruleclausecustomers/delete Delete several rule clause customer links · Rule clause customers delete route #
Ask an LLM
“Can I remove many rule clause customer links at once?”
“How do I bulk-delete rule clause customers by id?”
Tell an agent destructive · confirm first
Delete rule clause customers {ids}.
Bulk-remove rule clause customer links with ids {ids}.
GET /api/v1/admin/ruleclausecustomers({key})/customproperties({custompropertyKey}) Get a rule clause customer custom property · Rule clause customers get custom property by key and custompropertykey #
Ask an LLM
“How do I read a custom property on a rule clause customer?”
“Can rule clause customer links carry custom properties?”
Tell an agent
Get custom property {custompropertyKey} of rule clause customer {key}.
Show rule clause customer {key}'s custom property {custompropertyKey}.

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-rule-clause-customers-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-rule-clause-customers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: admin-v1
  title: Admin API V1 Rule Clause Customers API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Rule Clause Customers
paths:
  /api/v1/admin/RuleClauseCustomers:
    get:
      tags:
      - Rule Clause Customers
      summary: Returns the EntitySet RuleClauseCustomers
      operationId: RuleClauseCustomers_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:
      - Rule Clause Customers
      summary: Post a new entity to EntitySet RuleClauseCustomers
      operationId: RuleClauseCustomers_Post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.RuleClauseCustomer'
        description: The entity to post
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/RuleClauseCustomers({id}):
    get:
      tags:
      - Rule Clause Customers
      summary: Returns the entity with the key from RuleClauseCustomers
      operationId: RuleClauseCustomers_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:
      - Rule Clause Customers
      summary: Replace entity in EntitySet RuleClauseCustomers
      operationId: RuleClauseCustomers_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.RuleClauseCustomer'
        description: The entity to put
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    delete:
      tags:
      - Rule Clause Customers
      summary: Delete entity in EntitySet RuleClauseCustomers
      operationId: RuleClauseCustomers_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:
      - Rule Clause Customers
      summary: Update entity in EntitySet RuleClauseCustomers
      operationId: RuleClauseCustomers_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.RuleClauseCustomer'
        description: The entity to patch
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/RuleClauseCustomers/Default.Default():
    get:
      tags:
      - Rule Clause Customers
      summary: Call operation Default
      operationId: RuleClauseCustomers_Default
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/ruleclausecustomers/delete:
    delete:
      tags:
      - Rule Clause Customers
      operationId: RuleClauseCustomers_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: Rule clause customers delete route
      x-summary-source: derived
  /api/v1/admin/ruleclausecustomers({key})/customproperties({custompropertyKey}):
    get:
      tags:
      - Rule Clause Customers
      operationId: RuleClauseCustomers_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: Rule clause customers get custom property by key and custompropertykey
      x-summary-source: derived
components:
  schemas:
    Insite.Data.Entities.RuleClauseCustomer:
      type: object
      properties:
        id:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        ruleClauseId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        customerId:
          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