Optimizely Tax Exemptions API

The Tax Exemptions API from Optimizely — 11 operation(s) for tax exemptions.

Business capability
Indirect Tax Management BC-220.20

Operations 15

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/TaxExemptions List and filter tax exemptions · Returns the EntitySet TaxExemptions #
Ask an LLM
“How can I see all the tax exemptions configured in my commerce site?”
“Can I filter tax exemptions by name or only get the ones active this year?”
Tell an agent
List every tax exemption.
List tax exemptions matching {filter}, ordered by {orderby}.
POST /api/v1/admin/TaxExemptions Create a tax exemption · Post a new entity to EntitySet TaxExemptions #
Ask an LLM
“How do I set up a new tax exemption with an exempt amount?”
“What does a new tax exemption require besides a name and description?”
Tell an agent
Create a tax exemption named {name} described as {description}.
Add tax exemption {name} ({description}) for amount {amount}, active from {activateOn}.
GET /api/v1/admin/TaxExemptions({id}) Get one tax exemption by id · Returns the entity with the key from TaxExemptions #
Ask an LLM
“How can I look up the details of a single tax exemption?”
“Can I pick which fields come back when fetching one tax exemption?”
Tell an agent
Show tax exemption {id}.
Fetch only {select} for tax exemption {id}.
PUT /api/v1/admin/TaxExemptions({id}) Replace a tax exemption entirely · Replace entity in EntitySet TaxExemptions #
Ask an LLM
“How do I overwrite all fields of an existing tax exemption at once?”
“Does a full replace of a tax exemption clear dates I don't send?”
Tell an agent
Replace tax exemption {id} with name {name} and description {description}.
Overwrite the complete record of tax exemption {id}.
DELETE /api/v1/admin/TaxExemptions({id}) Delete one tax exemption · Delete entity in EntitySet TaxExemptions #
Ask an LLM
“How do I remove a single tax exemption permanently?”
“Can I make a tax exemption delete conditional on an ETag?”
Tell an agent destructive · confirm first
Delete tax exemption {id}.
Remove tax exemption {id} if its ETag is still {etag}.
PATCH /api/v1/admin/TaxExemptions({id}) Update some fields of a tax exemption · Update entity in EntitySet TaxExemptions #
Ask an LLM
“How can I change just the exempt amount on a tax exemption?”
“Can I push back the end date of a tax exemption without resending everything?”
Tell an agent
Change the amount on tax exemption {id} to {amount}.
Make tax exemption {id} expire on {deactivateOn}.
GET /api/v1/admin/TaxExemptions/Default.Default() Get default values for a new tax exemption · Call operation Default #
Ask an LLM
“What defaults does a new tax exemption start with?”
“Where do I get an empty tax exemption template?”
Tell an agent
Fetch the default tax exemption template.
Show the starting values used for new tax exemptions.
POST /api/v1/admin/TaxExemptions/Default.archive Archive tax exemptions with the archive action · Call operation archive #
Ask an LLM
“How do I archive tax exemptions I no longer use via the archive action?”
“Can I retire several tax exemptions at once rather than deleting them?”
Tell an agent destructive · confirm first
Archive tax exemptions {ids} via the archive action.
Call the tax exemption archive operation for {ids}.
DELETE /api/v1/admin/taxexemptions/archive Archive tax exemptions via the DELETE route · Tax exemptions archive route #
Ask an LLM
“Is there a DELETE route that archives tax exemptions by id?”
“Can I use /taxexemptions/archive to archive a batch of exemptions?”
Tell an agent destructive · confirm first
Send the archive DELETE for tax exemptions {ids}.
Archive tax exemptions {ids} through the taxexemptions/archive route.
DELETE /api/v1/admin/taxexemptions/delete Bulk delete tax exemptions by ids · Tax exemptions delete route #
Ask an LLM
“How do I delete a batch of tax exemptions in one go?”
“Can I pass several ids to remove multiple tax exemptions?”
Tell an agent destructive · confirm first
Bulk delete tax exemptions {ids}.
Permanently delete every tax exemption in {ids}.
GET /api/v1/admin/taxexemptions({key})/categories({categoryKey}) Get a category covered by a tax exemption · Tax exemptions get category by key and categorykey #
Ask an LLM
“Which product categories does a tax exemption apply to?”
“How do I check one category linked to a tax exemption?”
Tell an agent
Get category {categoryKey} on tax exemption {key}.
Check whether category {categoryKey} is covered by tax exemption {key}.
GET /api/v1/admin/taxexemptions({key})/customproperties({custompropertyKey}) Get a custom property of a tax exemption · Tax exemptions get custom property by key and custompropertykey #
Ask an LLM
“Where can I read a custom property saved on a tax exemption?”
“How do I fetch one custom attribute from a tax exemption?”
Tell an agent
Get custom property {custompropertyKey} of tax exemption {key}.
Read custom field {custompropertyKey} on tax exemption {key}.
GET /api/v1/admin/taxexemptions({key})/localtaxrates({localtaxrateKey}) Get a local tax rate tied to a tax exemption · Tax exemptions get local tax rate by key and localtaxratekey #
Ask an LLM
“Which local tax rates are affected by a tax exemption?”
“How do I read one local tax rate linked to an exemption?”
Tell an agent
Get local tax rate {localtaxrateKey} on tax exemption {key}.
Show the local rate {localtaxrateKey} tied to tax exemption {key}.
GET /api/v1/admin/taxexemptions({key})/products({productKey}) Get a product covered by a tax exemption · Tax exemptions get product by key and productkey #
Ask an LLM
“Is a particular product tax exempt under a given exemption?”
“How do I look up one product attached to a tax exemption?”
Tell an agent
Get product {productKey} on tax exemption {key}.
Confirm product {productKey} is exempted by tax exemption {key}.
GET /api/v1/admin/taxexemptions({key})/states({stateKey}) Get a state covered by a tax exemption · Tax exemptions get state by key and statekey #
Ask an LLM
“Which states or provinces does a tax exemption apply in?”
“Can I check one state linked to a tax exemption?”
Tell an agent
Get state {stateKey} on tax exemption {key}.
Check if tax exemption {key} applies in state {stateKey}.

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-tax-exemptions-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-tax-exemptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: admin-v1
  title: Admin API V1 Tax Exemptions API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Tax Exemptions
paths:
  /api/v1/admin/TaxExemptions:
    get:
      tags:
      - Tax Exemptions
      summary: Returns the EntitySet TaxExemptions
      operationId: TaxExemptions_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:
      - Tax Exemptions
      summary: Post a new entity to EntitySet TaxExemptions
      operationId: TaxExemptions_Post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.TaxExemption'
        description: The entity to post
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/TaxExemptions({id}):
    get:
      tags:
      - Tax Exemptions
      summary: Returns the entity with the key from TaxExemptions
      operationId: TaxExemptions_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:
      - Tax Exemptions
      summary: Replace entity in EntitySet TaxExemptions
      operationId: TaxExemptions_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.TaxExemption'
        description: The entity to put
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    delete:
      tags:
      - Tax Exemptions
      summary: Delete entity in EntitySet TaxExemptions
      operationId: TaxExemptions_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:
      - Tax Exemptions
      summary: Update entity in EntitySet TaxExemptions
      operationId: TaxExemptions_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.TaxExemption'
        description: The entity to patch
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/TaxExemptions/Default.Default():
    get:
      tags:
      - Tax Exemptions
      summary: Call operation Default
      operationId: TaxExemptions_Default
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/TaxExemptions/Default.archive:
    post:
      tags:
      - Tax Exemptions
      summary: Call operation archive
      operationId: TaxExemptions_Archive
      parameters:
      - name: ids
        in: query
        required: true
        explode: true
        schema:
          type: array
          items:
            type: string
            format: uuid
      requestBody:
        $ref: '#/components/requestBodies/Affiliates_ArchiveParameters'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/taxexemptions/archive:
    delete:
      tags:
      - Tax Exemptions
      operationId: TaxExemptions_ArchiveRoute
      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: Tax exemptions archive route
      x-summary-source: derived
  /api/v1/admin/taxexemptions/delete:
    delete:
      tags:
      - Tax Exemptions
      operationId: TaxExemptions_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: Tax exemptions delete route
      x-summary-source: derived
  /api/v1/admin/taxexemptions({key})/categories({categoryKey}):
    get:
      tags:
      - Tax Exemptions
      operationId: TaxExemptions_GetCategoryByKeyAndCategorykey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: categoryKey
        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: Tax exemptions get category by key and categorykey
      x-summary-source: derived
  /api/v1/admin/taxexemptions({key})/customproperties({custompropertyKey}):
    get:
      tags:
      - Tax Exemptions
      operationId: TaxExemptions_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: Tax exemptions get custom property by key and custompropertykey
      x-summary-source: derived
  /api/v1/admin/taxexemptions({key})/localtaxrates({localtaxrateKey}):
    get:
      tags:
      - Tax Exemptions
      operationId: TaxExemptions_GetLocalTaxRateByKeyAndLocaltaxratekey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: localtaxrateKey
        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: Tax exemptions get local tax rate by key and localtaxratekey
      x-summary-source: derived
  /api/v1/admin/taxexemptions({key})/products({productKey}):
    get:
      tags:
      - Tax Exemptions
      operationId: TaxExemptions_GetProductByKeyAndProductkey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: productKey
        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: Tax exemptions get product by key and productkey
      x-summary-source: derived
  /api/v1/admin/taxexemptions({key})/states({stateKey}):
    get:
      tags:
      - Tax Exemptions
      operationId: TaxExemptions_GetStateByKeyAndStatekey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: stateKey
        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: Tax exemptions get state by key and statekey
      x-summary-source: derived
components:
  schemas:
    Insite.Data.Entities.TaxExemption:
      required:
      - description
      - name
      type: object
      properties:
        id:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        activateOn:
          format: date-time
          type: string
        amount:
          format: double
          type: number
        deactivateOn:
          format: date-time
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        name:
          maxLength: 50
          minLength: 0
          type: string
        createdOn:
          format: date-time
          type: string
        createdBy:
          type: string
        modifiedOn:
          format: date-time
          type: string
        modifiedBy:
          type: string
  requestBodies:
    Affiliates_ArchiveParameters:
      content:
        application/json:
          schema:
            type: object
            properties: {}
      description: archive action parameters
  securitySchemes:
    access_token:
      type: apiKey
      description: Token used to access storefront API.
      name: access_token
      in: query