Happy Cabbage Analytics Daily Sales Metadata API

Daily product sales and stock metadata

Operations 1

GET /external/v1/daily-sales-metadata/stores/{storeId}/products/{productId} List daily sales metadata for a product #

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/happy-cabbage-analytics-daily-sales-metadata-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

happy-cabbage-analytics-daily-sales-metadata-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Happy Buyers External Daily Sales Metadata API
  description: 'External API for Happy Buyers organization metadata and inventory data.


    Requests are authenticated with an API key in the hca-api-key header. Results are scoped to

    the organization attached to that key. List endpoints use limit/offset pagination and return

    totalCount plus hasMore.

    '
  version: v1
servers:
- url: https://api.happycabbage.ai
  description: External API
security:
- ApiKeyAuth: []
tags:
- name: Daily Sales Metadata
  description: Daily product sales and stock metadata
paths:
  /external/v1/daily-sales-metadata/stores/{storeId}/products/{productId}:
    get:
      tags:
      - Daily Sales Metadata
      summary: List daily sales metadata for a product
      description: Returns the last 90 days of daily sales metadata for one product and store in the API key organization. Date boundaries are calculated in the organization's configured timezone and today is excluded. Requires inventory:read.
      operationId: getDailySalesMetadataForProduct
      parameters:
      - name: storeId
        in: path
        description: Store/location UUID.
        required: true
        schema:
          type: string
          format: uuid
        example: 1ff7efc9-e196-43fb-8638-f5399f137ba6
      - name: productId
        in: path
        description: Internal product ID returned as productDetail.id from product inventory.
        required: true
        schema:
          type: integer
          format: int32
        example: 12345
      responses:
        '403':
          description: API key does not include inventory:read
        '401':
          description: Missing, malformed, or invalid API key
        '200':
          description: Daily sales metadata results
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DailySalesMetadataResponse'
components:
  schemas:
    DailySalesMetadataResponse:
      type: object
      properties:
        day:
          type: string
          description: Local sales date in the organization's configured timezone.
          format: date
          example: '2026-01-02'
        unitsSold:
          type: integer
          description: Total units sold on this day.
          format: int32
          example: 12
        dollarsSold:
          type: number
          description: Gross sales dollars on this day.
          format: double
          example: 240.0
        discountDollars:
          type: number
          description: Discount dollars applied to sales on this day.
          format: double
          example: 18.5
        thcPercentageSold:
          type: number
          description: Sum of sold package THC percentages used with known-THC units to calculate a weighted daily average.
          format: double
          example: 252.0
        quantitySoldWithTHCPercentage:
          type: integer
          description: Units sold with a known THC percentage.
          format: int32
          example: 10
        inStockAtEndOfDay:
          type: boolean
          description: Whether the product was determined to be in stock at the end of this day. Empty when stock status could not be determined.
          example: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      description: External API key issued by Happy Buyers. Send the key in the hca-api-key header.
      name: hca-api-key
      in: header