Optimizely Warehouses API

The Warehouses API from Optimizely — 13 operation(s) for warehouses.

Operations 17

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/Warehouses List warehouses in commerce admin · Returns the EntitySet Warehouses #
Ask an LLM
“Which warehouses are configured in my commerce admin?”
“Can I filter the admin warehouse list by city or state with an OData query?”
Tell an agent
List all warehouses in the admin console.
List admin warehouses matching {filter}.
POST /api/v1/admin/Warehouses Create a warehouse · Post a new entity to EntitySet Warehouses #
Ask an LLM
“How do I add a new warehouse with its address, phone and opening hours?”
“Can a new warehouse be set up to allow customer pickup?”
Tell an agent
Create a warehouse named {name} at {address1}, {city}, {state} {postalCode}.
Add pickup warehouse {name} open {hours} with contact {contactName}.
GET /api/v1/admin/Warehouses({id}) Get a warehouse's admin record · Returns the entity with the key from Warehouses #
Ask an LLM
“What address and contact details are stored for one warehouse?”
“Can I expand related data when fetching a single admin warehouse?”
Tell an agent
Show admin details for warehouse {id}.
Fetch warehouse {id} expanding {expand}.
PUT /api/v1/admin/Warehouses({id}) Replace a warehouse record · Replace entity in EntitySet Warehouses #
Ask an LLM
“How do I overwrite an existing warehouse's entire record, address included?”
“Can I resend every field of a warehouse to replace it in one go?”
Tell an agent
Replace warehouse {id} with name {name} located at {address1}, {city}.
Overwrite the full record of warehouse {id}, contact now {contactName}.
DELETE /api/v1/admin/Warehouses({id}) Delete one warehouse · Delete entity in EntitySet Warehouses #
Ask an LLM
“How do I remove a single warehouse by its id?”
“Does deleting a warehouse honor an If-Match ETag check?”
Tell an agent destructive · confirm first
Delete warehouse {id}.
Delete warehouse {id} only if its ETag still equals {etag}.
PATCH /api/v1/admin/Warehouses({id}) Update selected fields on a warehouse · Update entity in EntitySet Warehouses #
Ask an LLM
“Can I change just the phone number of a warehouse without resending everything?”
“How do I schedule a warehouse to deactivate on a date?”
Tell an agent
Change the phone on warehouse {id} to {phone}.
Deactivate warehouse {id} on {deactivateOn}.
GET /api/v1/admin/Warehouses/Default.Default() Get default values for a new warehouse · Call operation Default #
Ask an LLM
“What default values does a brand-new warehouse start with?”
“Is there a blank warehouse object I can use to pre-fill a create form?”
Tell an agent
Get the default template for a new warehouse.
Fetch a blank warehouse with its default field values.
POST /api/v1/admin/Warehouses/Default.archive Archive warehouses via the archive action · Call operation archive #
Ask an LLM
“Can I archive several warehouses at once instead of deleting them?”
“Which POST action archives warehouses from a list of ids?”
Tell an agent
Archive warehouses {ids} using the POST archive action.
Run the Default.archive operation on warehouses {ids}.
DELETE /api/v1/admin/warehouses/archive Archive warehouses via the DELETE archive route · Warehouses archive route #
Ask an LLM
“Is there a DELETE-verb route that archives a batch of warehouses?”
“How can I archive warehouses through the lowercase warehouses/archive endpoint?”
Tell an agent destructive · confirm first
Call the DELETE archive route for warehouses {ids}.
Archive warehouses {ids} through the warehouses/archive route.
DELETE /api/v1/admin/warehouses/delete Bulk delete warehouses by id · Warehouses delete route #
Ask an LLM
“Can I permanently delete many warehouses in one request?”
“How do I bulk-remove warehouses given a list of ids?”
Tell an agent destructive · confirm first
Bulk delete warehouses {ids}.
Permanently remove every warehouse in {ids}.
GET /api/v1/admin/warehouses({key})/alternateofwarehouses({warehouseKey}) Get a warehouse this one backs up · Warehouses get alternate of warehouse by key and warehousekey #
Ask an LLM
“Which warehouse relies on this warehouse as its alternate?”
“Can I check that a warehouse is registered as an alternate of another one?”
Tell an agent
Get warehouse {warehouseKey} that warehouse {key} is an alternate of.
Confirm warehouse {key} serves as backup for warehouse {warehouseKey}.
GET /api/v1/admin/warehouses({key})/alternatewarehouses({warehouseKey}) Get an alternate warehouse of a warehouse · Warehouses get alternate warehouse by key and warehousekey #
Ask an LLM
“Which backup warehouse is configured as an alternate for my warehouse?”
“Can I read one specific alternate warehouse assigned to a warehouse?”
Tell an agent
Get alternate warehouse {warehouseKey} assigned to warehouse {key}.
Show fallback warehouse {warehouseKey} for primary warehouse {key}.
GET /api/v1/admin/warehouses({key})/customproperties({custompropertyKey}) Get a custom property on a warehouse · Warehouses get custom property by key and custompropertykey #
Ask an LLM
“What custom property values have been added to a warehouse?”
“Can I read a single custom property attached to a warehouse?”
Tell an agent
Get custom property {custompropertyKey} on warehouse {key}.
Read extra attribute {custompropertyKey} stored on warehouse {key}.
GET /api/v1/admin/warehouses({key})/productwarehouses({productwarehouseKey}) Get a product stocking record for a warehouse · Warehouses get product warehouse by key and productwarehousekey #
Ask an LLM
“How do I see a product's stocking record at a particular warehouse?”
“Can I fetch one product-warehouse entry under a warehouse?”
Tell an agent
Get product warehouse record {productwarehouseKey} for warehouse {key}.
Show product stocking entry {productwarehouseKey} at warehouse {key}.
GET /api/v1/admin/warehouses({key})/websites({websiteKey}) Get a website a warehouse serves · Warehouses get website by key and websitekey #
Ask an LLM
“Which storefront websites is a warehouse assigned to?”
“Can I check one website linked to a warehouse?”
Tell an agent
Get website {websiteKey} linked to warehouse {key}.
Show the storefront site {websiteKey} that warehouse {key} fulfils for.
GET /api/v1/warehouses Find storefront pickup warehouses near a location · Warehouses V1 get collection async #
Ask an LLM
“Which pickup warehouses are within a radius of my customer's location?”
“Can the storefront warehouse list leave out the customer's current pickup warehouse?”
Tell an agent
Find pickup warehouses within {radius} of {latitude}, {longitude}.
List storefront warehouses, page {page} with {pageSize} per page.
GET /api/v1/warehouses/{warehouseId} Get a warehouse from the storefront API · Warehouses V1 get async #
Ask an LLM
“What does the storefront show a shopper about one warehouse?”
“Can I load a pickup location's details for my storefront by warehouseId?”
Tell an agent
Get storefront warehouse {warehouseId}.
Load pickup location {warehouseId} for the shopper-facing site.

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-warehouses-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-warehouses-api-openapi.yml Raw ↑
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: []
      summary: Warehouses archive route
      x-summary-source: derived
    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: []
      summary: Warehouses delete route
      x-summary-source: derived
    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: []
      summary: Warehouses get alternate of warehouse by key and warehousekey
      x-summary-source: derived
    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: []
      summary: Warehouses get alternate warehouse by key and warehousekey
      x-summary-source: derived
    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: []
      summary: Warehouses get custom property by key and custompropertykey
      x-summary-source: derived
    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: []
      summary: Warehouses get product warehouse by key and productwarehousekey
      x-summary-source: derived
    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: []
      summary: Warehouses get website by key and websitekey
      x-summary-source: derived
    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'
      summary: Warehouses V1 get collection async
      x-summary-source: derived
    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'
      summary: Warehouses V1 get async
      x-summary-source: derived
    servers:
    - url: https://dogfood.commerce.insitesandbox.com
components:
  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.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
    Insite.Core.WebApi.SortOptionModel:
      type: object
      properties:
        displayName:
          type: string
        sortType:
          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
  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
x-refined-from:
- optimizely-configured-commerce-admin-api-v1-openapi.json
- optimizely-configured-commerce-storefront-api-v1-openapi.json