Optimizely Customer Orders API

The Customer Orders API from Optimizely — 14 operation(s) for customer orders.

Business capability
Order Fulfilment Management BC-520.40

Operations 18

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/CustomerOrders List customer orders · Returns the EntitySet CustomerOrders #
Ask an LLM
“Which customer orders are in the commerce admin right now?”
“Can I filter and sort the full list of customer orders, say by order date?”
Tell an agent
List all customer orders.
Show the first {top} customer orders sorted by {orderby}.
POST /api/v1/admin/CustomerOrders Create a customer order · Post a new entity to EntitySet CustomerOrders #
Ask an LLM
“How do I create a new customer order through the admin API?”
“What fields are required when adding an order, like PO number and terms code?”
Tell an agent
Create customer order {orderNumber} with customer PO {customerPO} and status {status}.
Add a new order for customer {customerId} with ship code {shipCode}.
GET /api/v1/admin/CustomerOrders({id}) Get a customer order · Returns the entity with the key from CustomerOrders #
Ask an LLM
“Can I pull up one customer order by its ID?”
“What does a single customer order record contain?”
Tell an agent
Show customer order {id}.
Get order {id} with its related entities expanded: {expand}.
PUT /api/v1/admin/CustomerOrders({id}) Replace a customer order · Replace entity in EntitySet CustomerOrders #
Ask an LLM
“How do I overwrite an entire customer order record with new values?”
“Does replacing an order require resending every required field?”
Tell an agent
Replace customer order {id} with a full record using order number {orderNumber}.
Overwrite all fields of order {id}, setting status to {status}.
DELETE /api/v1/admin/CustomerOrders({id}) Delete a customer order · Delete entity in EntitySet CustomerOrders #
Ask an LLM
“How do I remove a single customer order by ID?”
“Can I make an order delete conditional on an ETag?”
Tell an agent destructive · confirm first
Delete customer order {id}.
Delete order {id} only if its ETag still matches {etag}.
PATCH /api/v1/admin/CustomerOrders({id}) Update fields on a customer order · Update entity in EntitySet CustomerOrders #
Ask an LLM
“Can I change just the notes or status on an existing customer order?”
“How do I partially update an order without replacing it?”
Tell an agent
Change the status of customer order {id} to {status}.
Update the notes on order {id} to {notes}.
GET /api/v1/admin/CustomerOrders/Default.Default() Get default values for a new customer order · Call operation Default #
Ask an LLM
“What default values does a brand-new customer order start with?”
“Is there a blank customer order template I can use before creating one?”
Tell an agent
Get the default customer order template.
Show the prefilled defaults for a new customer order.
GET /api/v1/admin/CustomerOrders({id})/Default.Totals() Calculate totals for a customer order · Call operation Totals #
Ask an LLM
“Can I get the calculated totals for a customer order via the OData Totals function?”
“What does the Totals operation return for an order?”
Tell an agent
Calculate totals for customer order {id} using the OData Totals function.
Run the Default.Totals function on order {id}.
GET /api/v1/admin/customerorders({key})/totals Get customer order totals by key route · Customer orders totals by key #
Ask an LLM
“Is there a plain route for fetching an order's totals by its key?”
“Where can I read subtotal and tax totals for one order without the OData function syntax?”
Tell an agent
Get the totals for customer order {key} from the totals route.
Fetch order totals via the /totals path for order {key}.
DELETE /api/v1/admin/customerorders/delete Bulk delete customer orders · Customer orders delete route #
Ask an LLM
“Can I delete several customer orders at once by listing their IDs?”
“How do I bulk remove old orders in one call?”
Tell an agent destructive · confirm first
Delete customer orders {ids} in bulk.
Bulk remove the orders with IDs {ids}.
GET /api/v1/admin/customerorders({key})/creditcardtransactions({creditcardtransactionKey}) Get a credit card transaction on an order · Customer orders get credit card transaction by key and creditcardtransactionkey #
Ask an LLM
“Can I look up a specific credit card transaction recorded against an order?”
“Where do I see the card payment details for one order?”
Tell an agent
Show credit card transaction {transaction} on order {key}.
Get card transaction {transaction} for customer order {key}.
GET /api/v1/admin/customerorders({key})/customerorderpromotions({customerorderpromotionKey}) Get a promotion applied to an order · Customer orders get customer order promotion by key and… #
Ask an LLM
“Which promotion was applied to a given customer order?”
“Can I see the details of one applied promotion on an order?”
Tell an agent
Show applied promotion {promotion} on customer order {key}.
Get order promotion record {promotion} for order {key}.
GET /api/v1/admin/customerorders({key})/customerordertaxes({customerordertaxKey}) Get a tax line on an order · Customer orders get customer order tax by key and customerordertaxkey #
Ask an LLM
“Can I inspect one tax line charged on a customer order?”
“What tax was applied to an order under a particular tax record?”
Tell an agent
Show tax line {tax} on customer order {key}.
Get order tax record {tax} for order {key}.
GET /api/v1/admin/customerorders({key})/customproperties({custompropertyKey}) Get a custom property on an order · Customer orders get custom property by key and custompropertykey #
Ask an LLM
“Can I read a custom property stored on a customer order?”
“Where are extra custom fields for an order kept?”
Tell an agent
Show custom property {property} on customer order {key}.
Get order {key}'s custom field {property}.
GET /api/v1/admin/customerorders({key})/giftcards({giftcardKey}) Get a gift card used on an order · Customer orders get gift card by key and giftcardkey #
Ask an LLM
“Which gift card was redeemed on a customer order?”
“Can I view one gift card applied to an order?”
Tell an agent
Show gift card {giftcard} used on customer order {key}.
Get gift card {giftcard} for order {key}.
GET /api/v1/admin/customerorders({key})/orderlines({orderlineKey}) Get a line item on an order · Customer orders get order line by key and orderlinekey #
Ask an LLM
“Can I fetch a single order line from a customer order?”
“What product and quantity is on a specific line of an order?”
Tell an agent
Show order line {line} on customer order {key}.
Get line item {line} of order {key}.
GET /api/v1/admin/customerorders({key})/orderpromotioncodes({orderpromotioncodeKey}) Get a promo code entered on an order · Customer orders get order promotion code by key and orderpromotioncodekey #
Ask an LLM
“Which promo code did the buyer enter on a customer order?”
“Can I look up one promotion code record attached to an order?”
Tell an agent
Show promo code entry {code} on customer order {key}.
Get the entered promotion code {code} for order {key}.
GET /api/v1/admin/customerorders({key})/subscriptions({subscriptionKey}) Get a subscription tied to an order · Customer orders get subscription by key and subscriptionkey #
Ask an LLM
“Can I see a subscription that was created from a customer order?”
“What subscription details are linked to an order?”
Tell an agent
Show subscription {subscription} on customer order {key}.
Get subscription {subscription} linked to order {key}.

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-customer-orders-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-customer-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: admin-v1
  title: Admin API V1 Customer Orders API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Customer Orders
paths:
  /api/v1/admin/CustomerOrders:
    get:
      tags:
      - Customer Orders
      summary: Returns the EntitySet CustomerOrders
      operationId: CustomerOrders_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:
      - Customer Orders
      summary: Post a new entity to EntitySet CustomerOrders
      operationId: CustomerOrders_Post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.CustomerOrder'
        description: The entity to post
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/CustomerOrders({id}):
    get:
      tags:
      - Customer Orders
      summary: Returns the entity with the key from CustomerOrders
      operationId: CustomerOrders_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:
      - Customer Orders
      summary: Replace entity in EntitySet CustomerOrders
      operationId: CustomerOrders_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.CustomerOrder'
        description: The entity to put
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    delete:
      tags:
      - Customer Orders
      summary: Delete entity in EntitySet CustomerOrders
      operationId: CustomerOrders_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:
      - Customer Orders
      summary: Update entity in EntitySet CustomerOrders
      operationId: CustomerOrders_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.CustomerOrder'
        description: The entity to patch
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/CustomerOrders/Default.Default():
    get:
      tags:
      - Customer Orders
      summary: Call operation Default
      operationId: CustomerOrders_Default
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/CustomerOrders({id})/Default.Totals():
    get:
      tags:
      - Customer Orders
      summary: Call operation Totals
      operationId: CustomerOrders_TotalsById
      parameters:
      - name: id
        in: path
        description: 'key: id'
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Insite.Admin.Controllers.OData.OrderTotal'
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/customerorders({key})/totals:
    get:
      tags:
      - Customer Orders
      operationId: CustomerOrders_TotalsByKey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Insite.Admin.Controllers.OData.OrderTotal'
      deprecated: false
      security:
      - access_token: []
      summary: Customer orders totals by key
      x-summary-source: derived
  /api/v1/admin/customerorders/delete:
    delete:
      tags:
      - Customer Orders
      operationId: CustomerOrders_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: Customer orders delete route
      x-summary-source: derived
  /api/v1/admin/customerorders({key})/creditcardtransactions({creditcardtransactionKey}):
    get:
      tags:
      - Customer Orders
      operationId: CustomerOrders_GetCreditCardTransactionByKeyAndCreditcardtransactionkey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: creditcardtransactionKey
        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: Customer orders get credit card transaction by key and creditcardtransactionkey
      x-summary-source: derived
  /api/v1/admin/customerorders({key})/customerorderpromotions({customerorderpromotionKey}):
    get:
      tags:
      - Customer Orders
      operationId: CustomerOrders_GetCustomerOrderPromotionByKeyAndCustomerorderpromotionkey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: customerorderpromotionKey
        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: Customer orders get customer order promotion by key and…
      x-summary-source: derived
  /api/v1/admin/customerorders({key})/customerordertaxes({customerordertaxKey}):
    get:
      tags:
      - Customer Orders
      operationId: CustomerOrders_GetCustomerOrderTaxByKeyAndCustomerordertaxkey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: customerordertaxKey
        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: Customer orders get customer order tax by key and customerordertaxkey
      x-summary-source: derived
  /api/v1/admin/customerorders({key})/customproperties({custompropertyKey}):
    get:
      tags:
      - Customer Orders
      operationId: CustomerOrders_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: Customer orders get custom property by key and custompropertykey
      x-summary-source: derived
  /api/v1/admin/customerorders({key})/giftcards({giftcardKey}):
    get:
      tags:
      - Customer Orders
      operationId: CustomerOrders_GetGiftCardByKeyAndGiftcardkey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: giftcardKey
        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: Customer orders get gift card by key and giftcardkey
      x-summary-source: derived
  /api/v1/admin/customerorders({key})/orderlines({orderlineKey}):
    get:
      tags:
      - Customer Orders
      operationId: CustomerOrders_GetOrderLineByKeyAndOrderlinekey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: orderlineKey
        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: Customer orders get order line by key and orderlinekey
      x-summary-source: derived
  /api/v1/admin/customerorders({key})/orderpromotioncodes({orderpromotioncodeKey}):
    get:
      tags:
      - Customer Orders
      operationId: CustomerOrders_GetOrderPromotionCodeByKeyAndOrderpromotioncodekey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: orderpromotioncodeKey
        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: Customer orders get order promotion code by key and orderpromotioncodekey
      x-summary-source: derived
  /api/v1/admin/customerorders({key})/subscriptions({subscriptionKey}):
    get:
      tags:
      - Customer Orders
      operationId: CustomerOrders_GetSubscriptionByKeyAndSubscriptionkey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: subscriptionKey
        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: Customer orders get subscription by key and subscriptionkey
      x-summary-source: derived
components:
  schemas:
    Insite.Admin.Controllers.OData.OrderTotal:
      type: object
      properties:
        orderSubTotal:
          format: decimal
          type: number
        orderGrandTotal:
          format: decimal
          type: number
        shippingAndHandling:
          format: decimal
          type: number
        totalTax:
          format: decimal
          type: number
        promotionOrderDiscountTotal:
          format: decimal
          type: number
        promotionProductDiscountTotal:
          format: decimal
          type: number
        promotionShippingDiscountTotal:
          format: decimal
          type: number
    Insite.Data.Entities.CustomerOrder:
      required:
      - type
      - status
      - orderNumber
      - customerPO
      - termsCode
      - shipCode
      - taxCode1
      - taxCode2
      - notes
      - customerNumber
      - customerSequence
      - btCompanyName
      - btFirstName
      - btMiddleName
      - btLastName
      - btPhone
      - btAddress1
      - btAddress2
      - btAddress3
      - btAddress4
      - btCity
      - btState
      - btPostalCode
      - btCountry
      - btEmail
      - stCompanyName
      - stFirstName
      - stMiddleName
      - stLastName
      - stPhone
      - stAddress1
      - stAddress2
      - stAddress3
      - stAddress4
      - stCity
      - stState
      - stPostalCode
      - stCountry
      - stEmail
      - placedByUserName
      - collectAccountNumber
      - shipmentQuoteNumber
      - customerReference1
      - customerReference2
      - buyer
      - erpOrderNumber
      - approverMessage
      - fulfillmentMethod
      - customerVatNumber
      - orderSource
      - orderDeviceType
      - additionalEmails
      - orderApprovalStatus
      type: object
      properties:
        id:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        customerId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        shipToId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        websiteId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        type:
          maxLength: 50
          minLength: 0
          type: string
        status:
          maxLength: 50
          minLength: 0
          type: string
        orderNumber:
          maxLength: 50
          minLength: 0
          type: string
        orderDate:
          format: date-time
          type: string
        customerPO:
          maxLength: 50
          minLength: 0
          type: string
        termsCode:
          maxLength: 50
          minLength: 0
          type: string
        shipCode:
          maxLength: 50
          minLength: 0
          type: string
        taxCode1:
          maxLength: 50
          minLength: 0
          type: string
        taxCode2:
          maxLength: 50
          minLength: 0
          type: string
        shipEarly:
          type: boolean
        shipPartial:
          type: boolean
        notes:
          type: string
        shippingCharges:
          format: decimal
          type: number
        handlingCharges:
          format: decimal
          type: number
        stateTax:
          format: decimal
          type: number
        localTax:
          format: decimal
          type: number
        customerNumber:
          maxLength: 50
          minLength: 0
          type: string
        customerSequence:
          maxLength: 50
          minLength: 0
          type: string
        btCompanyName:
          maxLength: 100
          minLength: 0
          type: string
        btFirstName:
          maxLength: 100
          minLength: 0
          type: string
        btMiddleName:
          maxLength: 100
          minLength: 0
          type: string
        btLastName:
          maxLength: 100
          minLength: 0
          type: string
        btPhone:
          maxLength: 50
          minLength: 0
          type: string
        btAddress1:
          maxLength: 100
          minLength: 0
          type: string
        btAddress2:
          maxLength: 100
          minLength: 0
          type: string
        btAddress3:
          maxLength: 100
          minLength: 0
          type: string
        btAddress4:
          maxLength: 100
          minLength: 0
          type: string
        btCity:
          maxLength: 100
          minLength: 0
          type: string
        btState:
          maxLength: 50
          minLength: 0
          type: string
        btPostalCode:
          maxLength: 50
          minLength: 0
          type: string
        btCountry:
          maxLength: 100
          minLength: 0
          type: string
        btEmail:
          maxLength: 100
          minLength: 0
          type: string
        stCompanyName:
          maxLength: 100
          minLength: 0
          type: string
        stFirstName:
          maxLength: 100
          minLength: 0
          type: string
        stMiddleName:
          maxLength: 100
          minLength: 0
          type: string
        stLastName:
          maxLength: 100
          minLength: 0
          type: string
        stPhone:
          maxLength: 50
          minLength: 0
          type: string
        stAddress1:
          maxLength: 100
          minLength: 0
          type: string
        stAddress2:
          maxLength: 100
          minLength: 0
          type: string
        stAddress3:
          maxLength: 100
          minLength: 0
          type: string
        stAddress4:
          maxLength: 100
          minLength: 0
          type: string
        stCity:
          maxLength: 100
          minLength: 0
          type: string
        stState:
          maxLength: 50
          minLength: 0
          type: string
        stPostalCode:
          maxLength: 50
          minLength: 0
          type: string
        stCountry:
          maxLength: 100
          minLength: 0
          type: string
        stEmail:
          maxLength: 100
          minLength: 0
          type: string
        placedByUserName:
          maxLength: 256
          minLength: 0
          type: string
        affiliateId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        residential:
          type: boolean
        insideDelivery:
          type: boolean
        collectAccountNumber:
          maxLength: 50
          minLength: 0
          type: string
        shipmentQuoteNumber:
          maxLength: 50
          minLength: 0
          type: string
        customerReference1:
          maxLength: 50
          minLength: 0
          type: string
        customerReference2:
          maxLength: 50
          minLength: 0
          type: string
        shipViaId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        dropShipCustomerId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        requestedShipDate:
          format: date-time
          type: string
        requestedDeliveryDate:
          format: date-time
          type: string
        buyer:
          maxLength: 100
          minLength: 0
          type: string
        batchNumber:
          format: int32
          type: integer
        subscriptionId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        verificationSentOn:
          format: date-time
          type: string
        erpOrderNumber:
          maxLength: 50
          minLength: 0
          type: string
        initiatedByUserProfileId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        approverUserProfileId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        placedByUserProfileId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        approverMessage:
          maxLength: 255
          minLength: 0
          type: string
        currencyId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        conversionRate:
          format: decimal
          type: number
        quoteExpirationDate:
          format: date-time
          type: string
        quotedByUserProfileId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        salespersonId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        defaultWarehouseId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        languageId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        recalculatePromotions:
          type: boolean
        recalculateTax:
          type: boolean
        shippingCalculationNeededAsOf:
          format: date-time
          type: string
        otherCharges:
          format: decimal
          type: number
        taxAmount:
          format: decimal
          type: number
        orderTotal:
          format: decimal
          type: number
        impersonatedByAdminUserProfileId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        lastPricingOn:
          format: date-time
          type: string
        isGuestOrder:
          type: boolean
        fulfillmentMethod:
          maxLength: 50
          minLength: 0
          type: string
        requestedPickupDate:
          format: date-time
          type: string
        taxCalculated:
          type: boolean
        reminderSent:
          type: boolean
        customerVatNumber:
          maxLength: 50
          minLength: 0
          type: string
        shippingVatAmount:
          format: decimal
          type: number
        vmiLocationId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        orderSource:
          maxLength: 50
          minLength: 0
          type: string
        orderDeviceType:
          maxLength: 50
          minLength: 0
          type: string
        isCommerceOrder:
          type: boolean
        additionalEmails:
          type: string
        orderApprovalEmailSent:
          type: boolean
        orderApprovalStatus:
          type: string
        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