Optimizely Website Currencies API

The Website Currencies API from Optimizely — 5 operation(s) for website currencies.

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/WebsiteCurrencies List currencies enabled on websites · Returns the EntitySet WebsiteCurrencies #
Ask an LLM
“Which currencies can shoppers use on each storefront website?”
“Can I filter website currencies to only the live ones?”
Tell an agent
List all website currencies.
List website currencies matching {filter}.
POST /api/v1/admin/WebsiteCurrencies Enable a currency on a website · Post a new entity to EntitySet WebsiteCurrencies #
Ask an LLM
“How do I add a currency to a storefront website?”
“Can I make a newly added currency the site default?”
Tell an agent
Add currency {currencyId} to website {websiteId}.
Enable currency {currencyId} on website {websiteId} with live set to {isLive} and default {isDefault}.
GET /api/v1/admin/WebsiteCurrencies({id}) Get a website currency · Returns the entity with the key from WebsiteCurrencies #
Ask an LLM
“Can I look up one website currency assignment by ID?”
“Is a given website currency live or the default?”
Tell an agent
Show website currency {id}.
Get website currency {id} expanding {expand}.
PUT /api/v1/admin/WebsiteCurrencies({id}) Replace a website currency · Replace entity in EntitySet WebsiteCurrencies #
Ask an LLM
“Can I overwrite a website currency record completely?”
“What's the full-replace call for a website currency?”
Tell an agent
Replace website currency {id} with currency {currencyId} on website {websiteId}.
Overwrite website currency {id}, setting default to {isDefault}.
DELETE /api/v1/admin/WebsiteCurrencies({id}) Remove a currency from a website · Delete entity in EntitySet WebsiteCurrencies #
Ask an LLM
“How do I stop offering a currency on a website?”
“Can I delete a website currency only if its ETag matches?”
Tell an agent destructive · confirm first
Delete website currency {id}.
Delete website currency {id} if its ETag is {etag}.
PATCH /api/v1/admin/WebsiteCurrencies({id}) Make a website currency live or default · Update entity in EntitySet WebsiteCurrencies #
Ask an LLM
“Can I switch a website currency live without resending the rest?”
“Is there a partial update to change the default currency flag?”
Tell an agent
Set website currency {id} live to {isLive}.
Patch website currency {id} so default is {isDefault}.
GET /api/v1/admin/WebsiteCurrencies/Default.Default() Get default values for a website currency · Call operation Default #
Ask an LLM
“What defaults are pre-filled for a new website currency?”
“Is there a blank website currency template?”
Tell an agent
Get the default website currency template.
Show pre-filled values for a new website currency.
DELETE /api/v1/admin/websitecurrencies/delete Remove several website currencies · Website currencies delete route #
Ask an LLM
“Can I bulk delete website currencies in one call?”
“Which call removes many website currency records by ID?”
Tell an agent destructive · confirm first
Bulk delete website currencies {ids}.
Remove the website currency records {ids}.
GET /api/v1/admin/websitecurrencies({key})/customproperties({custompropertyKey}) Get a custom property on a website currency · Website currencies get custom property by key and custompropertykey #
Ask an LLM
“Can I read a custom field stored on a website currency?”
“Where are extra attributes of a website currency kept?”
Tell an agent
Get custom property {custompropertyKey} on website currency {key}.
Show website currency {key}'s custom field {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-website-currencies-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-website-currencies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: admin-v1
  title: Admin API V1 Website Currencies API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Website Currencies
paths:
  /api/v1/admin/WebsiteCurrencies:
    get:
      tags:
      - Website Currencies
      summary: Returns the EntitySet WebsiteCurrencies
      operationId: WebsiteCurrencies_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:
      - Website Currencies
      summary: Post a new entity to EntitySet WebsiteCurrencies
      operationId: WebsiteCurrencies_Post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.WebsiteCurrency'
        description: The entity to post
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/WebsiteCurrencies({id}):
    get:
      tags:
      - Website Currencies
      summary: Returns the entity with the key from WebsiteCurrencies
      operationId: WebsiteCurrencies_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:
      - Website Currencies
      summary: Replace entity in EntitySet WebsiteCurrencies
      operationId: WebsiteCurrencies_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.WebsiteCurrency'
        description: The entity to put
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    delete:
      tags:
      - Website Currencies
      summary: Delete entity in EntitySet WebsiteCurrencies
      operationId: WebsiteCurrencies_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:
      - Website Currencies
      summary: Update entity in EntitySet WebsiteCurrencies
      operationId: WebsiteCurrencies_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.WebsiteCurrency'
        description: The entity to patch
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/WebsiteCurrencies/Default.Default():
    get:
      tags:
      - Website Currencies
      summary: Call operation Default
      operationId: WebsiteCurrencies_Default
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/websitecurrencies/delete:
    delete:
      tags:
      - Website Currencies
      operationId: WebsiteCurrencies_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: Website currencies delete route
      x-summary-source: derived
  /api/v1/admin/websitecurrencies({key})/customproperties({custompropertyKey}):
    get:
      tags:
      - Website Currencies
      operationId: WebsiteCurrencies_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: Website currencies get custom property by key and custompropertykey
      x-summary-source: derived
components:
  schemas:
    Insite.Data.Entities.WebsiteCurrency:
      type: object
      properties:
        id:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        websiteId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        currencyId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        isLive:
          type: boolean
        isDefault:
          type: boolean
        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