Optimizely Warehouses API
The Warehouses API from Optimizely — 13 operation(s) for warehouses.
The Warehouses API from Optimizely — 13 operation(s) for warehouses.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/optimizely-warehouses-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
title: Optimizely Warehouses API
version: '1.0'
description: 'Operations tagged Warehouses across 2 of this provider''s published API definitions: optimizely-configured-commerce-admin-api-v1-openapi.json, optimizely-configured-commerce-storefront-api-v1-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Warehouses
paths:
/api/v1/admin/Warehouses:
get:
tags:
- Warehouses
summary: Returns the EntitySet Warehouses
operationId: Warehouses_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:
- Warehouses
summary: Post a new entity to EntitySet Warehouses
operationId: Warehouses_Post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Insite.Data.Entities.Warehouse'
description: The entity to post
required: true
responses:
'200':
description: OK
content:
'*/*':
schema:
type: object
deprecated: false
security:
- access_token: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/Warehouses({id}):
get:
tags:
- Warehouses
summary: Returns the entity with the key from Warehouses
operationId: Warehouses_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:
- Warehouses
summary: Replace entity in EntitySet Warehouses
operationId: Warehouses_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.Warehouse'
description: The entity to put
required: true
responses:
'200':
description: OK
content:
'*/*':
schema:
type: object
deprecated: false
security:
- access_token: []
delete:
tags:
- Warehouses
summary: Delete entity in EntitySet Warehouses
operationId: Warehouses_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:
- Warehouses
summary: Update entity in EntitySet Warehouses
operationId: Warehouses_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.Warehouse'
description: The entity to patch
required: true
responses:
'200':
description: OK
content:
'*/*':
schema:
type: object
deprecated: false
security:
- access_token: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/Warehouses/Default.Default():
get:
tags:
- Warehouses
summary: Call operation Default
operationId: Warehouses_Default
responses:
'200':
description: OK
content:
'*/*':
schema:
type: object
deprecated: false
security:
- access_token: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/Warehouses/Default.archive:
post:
tags:
- Warehouses
summary: Call operation archive
operationId: Warehouses_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: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/warehouses/archive:
delete:
tags:
- Warehouses
operationId: Warehouses_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: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/warehouses/delete:
delete:
tags:
- Warehouses
operationId: Warehouses_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: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/warehouses({key})/alternateofwarehouses({warehouseKey}):
get:
tags:
- Warehouses
operationId: Warehouses_GetAlternateOfWarehouseByKeyAndWarehousekey
parameters:
- name: key
in: path
required: true
schema:
type: string
format: uuid
- name: warehouseKey
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: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/warehouses({key})/alternatewarehouses({warehouseKey}):
get:
tags:
- Warehouses
operationId: Warehouses_GetAlternateWarehouseByKeyAndWarehousekey
parameters:
- name: key
in: path
required: true
schema:
type: string
format: uuid
- name: warehouseKey
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: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/warehouses({key})/customproperties({custompropertyKey}):
get:
tags:
- Warehouses
operationId: Warehouses_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: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/warehouses({key})/productwarehouses({productwarehouseKey}):
get:
tags:
- Warehouses
operationId: Warehouses_GetProductWarehouseByKeyAndProductwarehousekey
parameters:
- name: key
in: path
required: true
schema:
type: string
format: uuid
- name: productwarehouseKey
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: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/admin/warehouses({key})/websites({websiteKey}):
get:
tags:
- Warehouses
operationId: Warehouses_GetWebsiteByKeyAndWebsitekey
parameters:
- name: key
in: path
required: true
schema:
type: string
format: uuid
- name: websiteKey
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: []
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/warehouses:
get:
tags:
- Warehouses
operationId: WarehousesV1_GetCollectionAsync
parameters:
- name: parameter.sort
in: query
required: false
schema:
type: string
- name: parameter.page
in: query
required: false
schema:
type: integer
format: int32
- name: parameter.pageSize
in: query
required: false
schema:
type: integer
format: int32
- name: parameter.expand
in: query
required: false
schema:
type: string
- name: parameter.onlyPickupWarehouses
in: query
required: false
schema:
type: boolean
- name: parameter.useDefaultLocation
in: query
required: false
schema:
type: boolean
- name: parameter.latitude
in: query
required: false
schema:
type: number
format: double
- name: parameter.longitude
in: query
required: false
schema:
type: number
format: double
- name: parameter.radius
in: query
required: false
schema:
type: integer
format: int32
- name: parameter.excludeCurrentPickupWarehouse
in: query
required: false
schema:
type: boolean
- name: parameter.currentPickupWarehouseId
in: query
required: false
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseCollectionModel'
text/json:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseCollectionModel'
application/xml:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseCollectionModel'
text/xml:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseCollectionModel'
text/html:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseCollectionModel'
servers:
- url: https://dogfood.commerce.insitesandbox.com
/api/v1/warehouses/{warehouseId}:
get:
tags:
- Warehouses
operationId: WarehousesV1_GetAsync
parameters:
- name: warehouseId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseModel'
text/json:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseModel'
application/xml:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseModel'
text/xml:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseModel'
text/html:
schema:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseModel'
servers:
- url: https://dogfood.commerce.insitesandbox.com
components:
requestBodies:
Affiliates_ArchiveParameters:
content:
application/json:
schema:
type: object
properties: {}
description: archive action parameters
schemas:
Insite.Data.Entities.Warehouse:
required:
- address1
- address2
- city
- contactName
- description
- name
- phone
- postalCode
- shipSite
- state
- hours
type: object
properties:
id:
format: uuid
type: string
example: 00000000-0000-0000-0000-000000000000
address1:
maxLength: 100
minLength: 0
type: string
address2:
maxLength: 100
minLength: 0
type: string
city:
maxLength: 100
minLength: 0
type: string
contactName:
maxLength: 255
minLength: 0
type: string
countryId:
format: uuid
type: string
example: 00000000-0000-0000-0000-000000000000
deactivateOn:
format: date-time
type: string
description:
maxLength: 2048
minLength: 0
type: string
isDefault:
type: boolean
name:
maxLength: 255
minLength: 0
type: string
phone:
maxLength: 50
minLength: 0
type: string
postalCode:
maxLength: 50
minLength: 0
type: string
shipSite:
maxLength: 255
minLength: 0
type: string
state:
maxLength: 50
minLength: 0
type: string
latitude:
format: decimal
type: number
longitude:
format: decimal
type: number
allowPickup:
type: boolean
hours:
maxLength: 1024
minLength: 0
type: string
pickupShipViaId:
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
Insite.Catalog.WebApi.V1.ApiModels.WarehouseModel:
type: object
properties:
uri:
type: string
id:
format: uuid
type: string
example: 00000000-0000-0000-0000-000000000000
name:
type: string
address1:
type: string
address2:
type: string
city:
type: string
contactName:
type: string
countryId:
format: uuid
type: string
example: 00000000-0000-0000-0000-000000000000
deactivateOn:
format: date-time
type: string
description:
type: string
phone:
type: string
postalCode:
type: string
shipSite:
type: string
state:
type: string
isDefault:
type: boolean
alternateWarehouses:
type: array
items:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseModel'
latitude:
format: decimal
type: number
longitude:
format: decimal
type: number
hours:
type: string
distance:
format: double
type: number
allowPickup:
type: boolean
pickupShipViaId:
format: uuid
type: string
example: 00000000-0000-0000-0000-000000000000
properties:
type: object
additionalProperties:
type: string
Insite.Catalog.WebApi.V1.ApiModels.WarehouseCollectionModel:
type: object
properties:
uri:
type: string
warehouses:
type: array
items:
$ref: '#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.WarehouseModel'
pagination:
$ref: '#/components/schemas/Insite.Core.WebApi.PaginationModel'
distanceUnitOfMeasure:
type: string
defaultLatitude:
format: double
type: number
defaultLongitude:
format: double
type: number
defaultRadius:
format: int32
type: integer
properties:
type: object
additionalProperties:
type: string
Insite.Core.WebApi.SortOptionModel:
type: object
properties:
displayName:
type: string
sortType:
type: string
Insite.Core.WebApi.PaginationModel:
type: object
properties:
currentPage:
format: int32
type: integer
page:
format: int32
type: integer
pageSize:
format: int32
type: integer
defaultPageSize:
format: int32
type: integer
totalItemCount:
format: int32
type: integer
numberOfPages:
format: int32
type: integer
pageSizeOptions:
type: array
items:
format: int32
type: integer
sortOptions:
type: array
items:
$ref: '#/components/schemas/Insite.Core.WebApi.SortOptionModel'
sortType:
type: string
nextPageUri:
type: string
prevPageUri:
type: string
nextPageToken:
type: string
securitySchemes:
access_token:
type: apiKey
description: Token used to access storefront API.
name: access_token
in: query
x-refined-from:
- optimizely-configured-commerce-admin-api-v1-openapi.json
- optimizely-configured-commerce-storefront-api-v1-openapi.json