Kibo Commerce Taxes API

The Taxes API from Kibo Commerce — 1 operation(s) for taxes.

Business capability
Indirect Tax Management BC-220.20

Operations 1

POST /commerce/catalog/storefront/tax/estimate-order Estimate Order Tax #

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-package-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-application-entitlement-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-application-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-headless-app-runtime-log-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-http-response-message-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-application-subscription-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-history-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-history-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-admins-product-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-admins-discount-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-product-v1-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-admins-attribute-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-admins-discount-target-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-product-variation-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-product-for-indexing-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-runtimes-product-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-product-validation-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-configured-product-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-runtimes-category-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-campaign-result-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-wishlist-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-cart-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-return-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-cart-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-document-list-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-document-list-type-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-document-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-property-type-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-document-type-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-content-http-request-message-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-customer-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-b2-baccount-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-purchase-order-transaction-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-customer-credit-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-customer-attribute2-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-b2-buser-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-transaction-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-transaction-set810-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-translated-shipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-list-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-list-view-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-container-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-container-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-list-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-list-view-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-event-delivery-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-event-event-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-subscription-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-event-delivery-summary-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-event-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-model-of-shipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-fulfillment-apishipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-fulfillment-apipackage-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-shipment-rule-field-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-item-audit-detail-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-redaction-report-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-create-report-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-export-job-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-import-job-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-batch-job-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-batch-job-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-batch-job-summary-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-batch-job-item-result-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-m-fetch-file-config-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-inventory-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-item-information-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-job-queue-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-delete-item-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-group-configuration-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-attribute2-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-vendor-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-vendor-document-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-cutoff-time-override-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-admin-attribute-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-criteria-set-filter-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-scenario-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-custom-data-value-filter-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-custom-data-list-filter-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-upsert-scenario-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-abstract-filter-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-pricing-runtime-discount-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-taxable-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-find-item-discounts-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-tax-context-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-auto-add-discount-target-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-find-discounts-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-reservati-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-reservation-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-reservation-aggregate-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-reservati-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-fulfillment-inf-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-reservation-collecti-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-general-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-subscription-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-fulfillment-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-external-payment-workflow-definition-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-checkout-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-site-shipping-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-shipment-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-rate-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-handling-fee-rule-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-shipping-inclusion-rule-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-carrier-credential-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-carrier-credential-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-carrier-configuration-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-carrier-definition-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-rates-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-transit-times-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-shipment-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-transit-times-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-subscription-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-subscription-runtime-subscription-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-payment-schema.json

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/kibo-commerce:kibo-commerce-taxes-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

kibo-commerce-taxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kibo Commerce Taxes API
  version: '1.0'
  description: 'Operations tagged Taxes across 2 of this provider''s published API definitions: openapi_openapi_pricing.json, kibo-commerce-pricing-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- description: Kibo Base URL
  url: '{baseUrl}/api'
  variables:
    baseUrl:
      default: https://t1000000.sb.usc1.gcp.kibocommerce.com
      description: Base URL
security:
- bearerAuth: []
tags:
- name: Taxes
paths:
  /commerce/catalog/storefront/tax/estimate-order:
    post:
      description: Retrieves a tax context for the given order.
      parameters:
      - description: limits which fields are returned in the response body
        in: query
        name: responseFields
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaxableOrder'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderTaxContext'
            text/json:
              schema:
                $ref: '#/components/schemas/OrderTaxContext'
            text/plain:
              schema:
                $ref: '#/components/schemas/OrderTaxContext'
          description: OK
      summary: Estimate Order Tax
      tags:
      - Taxes
      operationId: postCommerceCatalogStorefrontTaxEstimateOrder
      x-operation-id-source: derived
    servers:
    - description: Kibo Base URL
      url: '{baseUrl}/api'
      variables:
        baseUrl:
          default: https://t1000000.sb.usc1.gcp.kibocommerce.com
          description: Base URL
components:
  schemas:
    PricingRuntimeAppliedLineItemShippingDiscount:
      properties:
        couponCode:
          description: Code of the coupon associated with the discount (if a coupon code is required in order to receive the discount).
          type:
          - string
          - 'null'
        couponSetId:
          description: Contains coupon set id if there is one
          format: int32
          type:
          - integer
          - 'null'
        discount:
          $ref: '#/components/schemas/PricingRuntimeDiscount2'
        impact:
          description: Value of the discount, that is how much the shopper saves if discount is applied.
          format: double
          type: number
        impactPerUnit:
          description: 'Discount impact per unit for the quantity applied.

            This value is not rounded.

            ImpactPerUnit * Quantity = Impact @ Quantity'
          format: double
          type: number
        isForced:
          description: Signifies that the discount is forced and not applied via best match.
          type: boolean
        normalizedImpact:
          format: double
          type: number
        quantity:
          description: Quantity of items from the line item that the discount applies to.
          format: int32
          type: integer
        shippingMethodCode:
          description: Unique identifier of the shipping method discount.
          type:
          - string
          - 'null'
      type: object
    OrderTaxContext:
      properties:
        handlingFeeTax:
          description: The handling fee tax amount for this line item
          format: double
          type: number
        itemTaxContexts:
          description: Taxes applied to each item in the order.
          items:
            $ref: '#/components/schemas/ItemTaxContext'
          type:
          - array
          - 'null'
        orderTax:
          description: Rollup tax on the order not including shipping
          format: double
          type: number
        shippingTax:
          description: Rollup shipping tax for this order
          format: double
          type: number
        taxData:
          description: Storage for any additional/custom tax data.
          type:
          - object
          - 'null'
      type: object
    PricingRuntimeProductPropertyValue:
      description: Duplicate definition from ProductRuntime
      properties:
        stringValue:
          description: Localized Value in the language of the locale code
          type:
          - string
          - 'null'
        value: {}
      type: object
    TaxableOrder:
      description: Properties of a taxable order
      properties:
        attributes:
          items:
            $ref: '#/components/schemas/TaxAttribute'
          type:
          - array
          - 'null'
        currencyCode:
          description: The currency code for this order
          type:
          - string
          - 'null'
        data:
          type:
          - object
          - 'null'
        handlingDiscount:
          $ref: '#/components/schemas/PricingRuntimeAppliedDiscount'
        handlingDiscounts:
          description: The list of historically-applied handling discounts.  The active one will have IsExcluded == false
          items:
            $ref: '#/components/schemas/PricingRuntimeAppliedDiscount'
          type:
          - array
          - 'null'
        handlingFee:
          description: Handling Fee
          format: double
          type: number
        lineItems:
          description: List of taxable items.
          items:
            $ref: '#/components/schemas/TaxableLineItem'
          type:
          - array
          - 'null'
        orderDate:
          description: 'Date on which the order is/was submitted.

            Cannot be a future date.'
          format: date-time
          type: string
        orderDiscount:
          $ref: '#/components/schemas/PricingRuntimeAppliedDiscount'
        orderDiscounts:
          description: The discount that has been applied to the cart itself. If multiple discounts exist, this is the discount that the system applies because it offers the best savings for the shopper. This is a negative number.
          items:
            $ref: '#/components/schemas/PricingRuntimeAppliedDiscount'
          type:
          - array
          - 'null'
        orderId:
          type:
          - string
          - 'null'
        orderNumber:
          format: int32
          type:
          - integer
          - 'null'
        originalDocumentCode:
          description: The order id of the original order.  This can be used to track changes to the order for taxing purposes.
          type:
          - string
          - 'null'
        originalOrderDate:
          description: The date of the original order.  This is used when calculating changes to the Taxable Order, evaluating them at this time rather than the present.
          format: date-time
          type: string
        shippingAmount:
          description: Shipping Amount rolled up for the order
          format: double
          type: number
        shippingDiscount:
          $ref: '#/components/schemas/AppliedOrderShippingDiscount'
        shippingDiscounts:
          description: The list of historically-applied shipping discounts.  The active one will have IsExcluded == false
          items:
            $ref: '#/components/schemas/AppliedOrderShippingDiscount'
          type:
          - array
          - 'null'
        shippingMethodCode:
          description: 'Code that uniquely identifies the shipping method such as "Ground," "Overnight," or "Digital."

            The site''s shipping settings lists the valid shipping methods specified for this site.'
          type:
          - string
          - 'null'
        shippingMethodName:
          description: Readable name of the shipping method
          type:
          - string
          - 'null'
        taxContext:
          $ref: '#/components/schemas/TaxContext'
        taxRequestType:
          description: Used to differentiate between an Order and a Return being used as the source of this Taxable Order
          type:
          - string
          - 'null'
      type: object
    PricingRuntimeProductProperty:
      description: Duplicate definition from ProductRuntime
      properties:
        attributeDetail:
          $ref: '#/components/schemas/ProductAttribute'
        attributeFQN:
          description: Attribute fully qualified name
          type:
          - string
          - 'null'
        isHidden:
          description: Indicates whether the product property should be hidden from the customer
          type:
          - boolean
          - 'null'
        isMultiValue:
          description: Indicates whether it's possible for there to be more than one value in the Values field
          type:
          - boolean
          - 'null'
        values:
          description: Value(s) of the product property
          items:
            $ref: '#/components/schemas/PricingRuntimeProductPropertyValue'
          type:
          - array
          - 'null'
      type: object
    DiscountTarget:
      properties:
        excludedCategoriesOperator:
          type:
          - string
          - 'null'
        excludedCategoryIds:
          items:
            format: int32
            type: integer
          type:
          - array
          - 'null'
        excludedProductCodes:
          items:
            type: string
          type:
          - array
          - 'null'
        includeAllProducts:
          description: "When IncludeAllProducts is true then IncludedCategories and IncludedProducts are not evaluated and should be \nempty.  Only exclusions apply."
          type: boolean
        includedCategoriesOperator:
          type:
          - string
          - 'null'
        includedCategoryIds:
          items:
            format: int32
            type: integer
          type:
          - array
          - 'null'
        includedProductCodes:
          items:
            type: string
          type:
          - array
          - 'null'
        shippingMethods:
          items:
            type: string
          type:
          - array
          - 'null'
        shippingZones:
          items:
            type: string
          type:
          - array
          - 'null'
        type:
          type:
          - string
          - 'null'
      type: object
    TaxContext:
      description: The context for the tax calculation.
      properties:
        customerId:
          description: A unique id for a customer.  This may be the userid, checking with Avalara to determine the meaning of this
          type:
          - string
          - 'null'
        destinationAddress:
          $ref: '#/components/schemas/Address'
        originAddress:
          $ref: '#/components/schemas/Address'
        taxContextId:
          description: The unique id of this context. Will typically be the OrderId or CartId, depending when the tax is being calculated.
          type:
          - string
          - 'null'
        taxExemptId:
          description: Tax exemption id.  Indicates that this customer or user is tax exempt
          type:
          - string
          - 'null'
      type: object
    TaxableLineItem:
      properties:
        data:
          type:
          - object
          - 'null'
        destinationAddress:
          $ref: '#/components/schemas/Address'
        discountTotal:
          description: How much the shopper saves with the applied discount or sale price. This is a negative number.
          format: double
          type:
          - number
          - 'null'
        discountedTotal:
          description: Subtotal minus any discounts.
          format: double
          type:
          - number
          - 'null'
        feeTotal:
          description: Not implemented. Total cost of fees that apply to this item.
          format: double
          type:
          - number
          - 'null'
        handlingAmount:
          description: Handling Amount for this item
          format: double
          type:
          - number
          - 'null'
        id:
          description: Unique identifier of the line item.
          type:
          - string
          - 'null'
        isTaxable:
          description: Is the Product taxable
          type:
          - boolean
          - 'null'
        lineItemPrice:
          description: The line item subtotal of quantity * Product.TaxablePrice
          format: double
          type: number
        originAddress:
          $ref: '#/components/schemas/Address'
        productCode:
          description: Unique code of the product.
          type:
          - string
          - 'null'
        productDiscount:
          $ref: '#/components/schemas/PricingRuntimeAppliedLineItemProductDiscount'
        productDiscounts:
          description: A list of discounts applied to the product
          items:
            $ref: '#/components/schemas/PricingRuntimeAppliedLineItemProductDiscount'
          type:
          - array
          - 'null'
        productName:
          description: Name of the product.
          type:
          - string
          - 'null'
        productProperties:
          description: Custom Properties of the product (i.e. inclues TaxCode)
          items:
            $ref: '#/components/schemas/PricingRuntimeProductProperty'
          type:
          - array
          - 'null'
        quantity:
          description: The number of products for this line item
          format: int32
          type: integer
        reason:
          description: Clarifications on the reason this item is being taxed/returned?
          type:
          - string
          - 'null'
        shippingAmount:
          description: The line item shipping amount.
          format: double
          type: number
        shippingDiscount:
          $ref: '#/components/schemas/PricingRuntimeAppliedLineItemShippingDiscount'
        shippingDiscounts:
          description: A discount applied to the shipping
          items:
            $ref: '#/components/schemas/PricingRuntimeAppliedLineItemShippingDiscount'
          type:
          - array
          - 'null'
        variantProductCode:
          description: For configurable products, the unique identifier of the product variation that has been selected.
          type:
          - string
          - 'null'
      type: object
    PricingRuntimeAppliedLineItemProductDiscount:
      properties:
        appliesToSalePrice:
          description: 'Indicates that this discount is to be applied to the sale price if true or the list price if false.

            This only applies to product and line item discounts.'
          type: boolean
        couponCode:
          description: Code of the coupon associated with the discount (if a coupon code is required in order to receive the discount).
          type:
          - string
          - 'null'
        couponSetId:
          description: Contains coupon set id if there is one
          format: int32
          type:
          - integer
          - 'null'
        discount:
          $ref: '#/components/schemas/PricingRuntimeDiscount2'
        impact:
          description: Value of the discount, that is how much the shopper saves if discount is applied.
          format: double
          type: number
        impactPerUnit:
          description: 'Discount impact per unit for the quantity applied.

            This value is not rounded.

            ImpactPerUnit * Quantity = Impact @ Quantity'
          format: double
          type: number
        isForced:
          description: Signifies that the discount is forced and not applied via best match.
          type: boolean
        normalizedImpact:
          format: double
          type: number
        quantity:
          description: Quantity of items from the line item that the discount applies to.
          format: int32
          type: integer
      type: object
    DiscountCondition:
      properties:
        couponCode:
          description: ShippingMethodCode of the coupon associated with the discount (if a coupon code is required). The merchant can supply the code or the system can generate it.
          type:
          - string
          - 'null'
        customerSegmentIds:
          description: List of customer groups for which the discount applies
          items:
            format: int32
            type: integer
          type:
          - array
          - 'null'
        excludedCategoryIds:
          description: List of categories to discount. When a discount applies to a category, all products in the category are discounted.
          items:
            format: int32
            type: integer
          type:
          - array
          - 'null'
        excludedProductCodes:
          description: List of products that are eligible for the discount.
          items:
            type: string
          type:
          - array
          - 'null'
        expirationDate:
          description: Date when the discount expires. Default is null (no expiration date).
          format: date-time
          type:
          - string
          - 'null'
        includedCategoryIds:
          description: List of categories to discount. When a discount applies to a category, all products in the category are discounted.
          items:
            format: int32
            type: integer
          type:
          - array
          - 'null'
        includedProductCodes:
          description: List of products that are eligible for the discount.
          items:
            type: string
          type:
          - array
          - 'null'
        maximumOrderAmount:
          description: 'If the discount is for products, how many product can you have and still be eligible for the discount.

            If the discount is for an order, what is the max the order can total to be eligible for the discount. For example, you might want to offer a 10% discount on orders under $100.'
          format: double
          type:
          - number
          - 'null'
        minDistinctProductsRequired:
          description: Minimum number of distinct products that must be purchased that are also not free.
          format: int32
          type:
          - integer
          - 'null'
        minimumCategorySubtotalBeforeDiscounts:
          description: "Minimum amount that must be purchased in the combined categories defined in \nIncludedCategories.  Amount is calculated before discounting."
          format: double
          type:
          - number
          - 'null'
        minimumLifetimeValueAmount:
          description: Minimum lifetime value amount required for this discount to apply
          format: double
          type:
          - number
          - 'null'
        minimumOrderAmount:
          description: 'If the discount is for products, how many products must be purchased to be eligible for the discount.

            If the discount is for an order, how much the order must total to be eligible for the discount. For example, you might want to offer a 10% discount on orders over $100.'
          format: double
          type:
          - number
          - 'null'
        minimumQuantityProductsRequiredInCategories:
          description: 'Minimum quantity of products in the categories specified in IncludedCategories that must be purchased to

            qualify for the associated discount.

            Valid values are null and ints greater than zero'
          format: int32
          type:
          - integer
          - 'null'
        minimumQuantityRequiredProducts:
          description: 'Minimum quantity of products in the specified IncludedProducts that must be purchased to

            qualify for the associated discount.

            Defaults to 0'
          format: int32
          type:
          - integer
          - 'null'
        paymentWorkflows:
          description: 'List of payment types that are valid for this discount.

            An empty list signifies all payment types.'
          items:
            type: string
          type:
          - array
          - 'null'
        requiresCoupon:
          description: If true, the shopper needs to enter a coupon code to redeem the discount.
          type: boolean
        startDate:
          description: Date when the discount can goes into effect, in the format yyyy-mm-dd.
          format: date-time
          type:
          - string
          - 'null'
      type: object
    TaxAttribute:
      properties:
        attributeDefinitionId:
          format: int32
          type:
          - integer
          - 'null'
        fullyQualifiedName:
          type:
          - string
          - 'null'
        values:
          items: {}
          type:
          - array
          - 'null'
      type: object
    ItemTaxContext:
      description: The tax applied to an individual order item.
      properties:
        duty:
          description: Duty Amount for this line item
          format: double
          type:
          - number
          - 'null'
        id:
          description: Unique identifier of the line item.
          type:
          - string
          - 'null'
        productCode:
          description: Merchant-created code that uniquely identifies the product.
          type:
          - string
          - 'null'
        quantity:
          description: The number of products in this lineitem
          format: int32
          type: integer
        shippingTax:
          description: The shipping tax amount for this line item
          format: double
          type: number
        tax:
          description: Line item tax amount not including shipping
          format: double
          type: number
        taxData:
          description: Storage for any additional/custom tax data.
          type:
          - object
          - 'null'
      type: object
    AppliedOrderShippingDiscount:
      properties:
        couponCode:
          description: Code of the coupon associated with the discount (if a coupon code is required in order to receive the discount).
          type:
          - string
          - 'null'
        couponSetId:
          description: Contains coupon set id if there is one
          format: int32
          type:
          - integer
          - 'null'
        discount:
          $ref: '#/components/schemas/PricingRuntimeDiscount2'
        impact:
          description: Value of the discount, that is how much the shopper saves if discount is applied.
          format: double
          type: number
        shippingMethodCode:
          description: Unique identifier of the shipping method discount.
          type:
          - string
          - 'null'
      type: object
    ProductAttribute:
      description: Duplicate definition from ProductRuntime
      properties:
        dataType:
          description: The DataType of the attribute. Valid values for DataType are defined in DataTypeTypeConst.
          type:
          - string
          - 'null'
        description:
          description: Description of the attribute in the language specified by LocaleCode.
          type:
          - string
          - 'null'
        inputType:
          description: The InputType type of the attribute. Valid values for InputType are defined in InputTypeConst.
          type:
          - string
          - 'null'
        name:
          description: Name of the attribute in the language specified by LocaleCode.
          type:
          - string
          - 'null'
        valueType:
          description: The ValueType of the attribute. Valid values for ValueType are defined in ValueTypeTypeConst.
          type:
          - string
          - 'null'
      type: object
    Address:
      properties:
        address1:
          type:
          - string
          - 'null'
        address2:
          type:
          - string
          - 'null'
        address3:
          type:
          - string
          - 'null'
        address4:
          type:
          - string
          - 'null'
        addressType:
          type:
          - string
          - 'null'
        cityOrTown:
          type:
          - string
          - 'null'
        countryCode:
          type:
          - string
          - 'null'
        isValidated:
          type:
          - boolean
          - 'null'
        postalOrZipCode:
          type:
          - string
          - 'null'
        stateOrProvince:
          type:
          - string
          - 'null'
      type: object
    PricingRuntimeDiscount2:
      description: 'Name of the discount that can be applied and its expiration date. The discount can be on a single product or the

        entire order.'
      properties:
        amount:
          format: double
          type: number
        amountType:
          description: 'Type of discount, which can be either a percentage off the price, a specific monetary amount, or free. Possible values: "Percentage," "Amount," and "Free".'
          type:
          - string
          - 'null'
        code:
          description: Unique identifier of the discount.
          type:
          - string
          - 'null'
        condition:
          $ref: '#/components/schemas/DiscountCondition'
        discountId:
          description: Unique identifier of the discount. System-supplied and read-only.
          format: int32
          type: integer
        doesNotApplyToMultiShipToOrders:
          type:
          - boolean
          - 'null'
        doesNotApplyToProductsWithSalePrice:
          type: boolean
        expirationDate:
          deprecated: true
          description: When the discount expires. If null, there's no expiration date.
          format: date-time
          type:
          - string
          - 'null'
        friendlyDescription:
          description: Friendly description of the discount.
          type:
          - string
          - 'null'
        includedPriceLists:
          items:
            type: string
          type:
          - array
          - 'null'
        isPublic:
          type:
          - boolean
          - 'null'
        labels:
          items:
            type: string
          type:
          - array
          - 'null'
        maxDiscountValuePerRedemption:
          format: double
          type:
          - number
          - 'null'
        maxRedemptions:
          format: int32
          type:
          - integer
          - 'null'
        maximumDiscountValuePerOrder:
          format: double
          type:
          - number
          - 'null'
        maximumRedemptionsPerOrder:
          format: int32
          type:
          - integer
          - 'null'
        maximumUsesPerUser:
          format: int32
          type:
          - integer
          - 'null'
        name:
          description: Name of the discount.
          type:
          - string
          - 'null'
        redemptions:
          format: int32
          type: integer
        requiresAuthenticatedUser:
          type: boolean
        scope:
          type:
          - string
          - 'null'
        stackingLayer:
          format: int32
          type: integer
        target:
          $ref: '#/components/schemas/DiscountTarget'
        type:
          type:
          - string
          - 'null'
      type: object
    PricingRuntimeAppliedDiscount:
      description: 'Details of the applied discount, including how much the shopper saves if the discount is applied and the coupon

        code

        required to redeem the discount, if any.'
      properties:
        couponCode:
          description: Code of the coupon associated with the discount (if a coupon code is required in order to receive the discount).
          type:
          - string
          - 'null'
        couponSetId:
          description: Contains coupon set id if there is one
          format: int32
          type:
          - integer
          - 'null'
        discount:
          $ref: '#/components/schemas/PricingRuntimeDiscount2'
        impact:
          description: Value of the discount, that is how much the shopper saves if discount is applied.
          format: double
          type: number
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: JWT Authorization header using the Bearer scheme.
      scheme: bearer
      type: http
x-refined-from:
- openapi_openapi_pricing.json
- kibo-commerce-pricing-openapi.yml