BlueCart · Schema

CatalogCreate

Payload for creating a catalog.

RestaurantProcurementWholesaleOrderingFood DistributionHospitalityeCommerce

Properties

Name Type Description
catalogName string
products array Products to include, with ids and discount options.
customers array Customers to assign the catalog to, by id.
View JSON Schema on GitHub

JSON Schema

bluecart-catalog-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CatalogCreate",
  "description": "Payload for creating a catalog.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bluecart/refs/heads/main/json-schema/bluecart-catalog-create-schema.json",
  "type": "object",
  "properties": {
    "catalogName": {
      "type": "string",
      "example": "Premium Wines"
    },
    "products": {
      "type": "array",
      "description": "Products to include, with ids and discount options.",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "customers": {
      "type": "array",
      "description": "Customers to assign the catalog to, by id.",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  },
  "required": [
    "catalogName"
  ]
}