brevo · Schema

CreateUpdateProduct

Properties

Name Type Description
id string Unique identifier for the product.
name string Name of the product.
url string URL of the product page.
imageUrl string URL of the product image.
sku string Stock keeping unit identifier.
price number Price of the product.
categories array IDs of categories to assign the product to.
metaInfo object Additional metadata as key-value pairs.
View JSON Schema on GitHub

JSON Schema

brevo-createupdateproduct-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateUpdateProduct",
  "title": "CreateUpdateProduct",
  "type": "object",
  "required": [
    "id",
    "name",
    "url"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the product."
    },
    "name": {
      "type": "string",
      "description": "Name of the product."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL of the product page."
    },
    "imageUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the product image."
    },
    "sku": {
      "type": "string",
      "description": "Stock keeping unit identifier."
    },
    "price": {
      "type": "number",
      "format": "float",
      "description": "Price of the product."
    },
    "categories": {
      "type": "array",
      "description": "IDs of categories to assign the product to.",
      "items": {
        "type": "string"
      }
    },
    "metaInfo": {
      "type": "object",
      "description": "Additional metadata as key-value pairs.",
      "additionalProperties": true
    }
  }
}