magento · Schema

ProductRequest

Request body for creating or updating a catalog product.

Properties

Name Type Description
product object
saveOptions boolean Whether to save custom options alongside the product.
View JSON Schema on GitHub

JSON Schema

magento-productrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductRequest",
  "title": "ProductRequest",
  "type": "object",
  "description": "Request body for creating or updating a catalog product.",
  "required": [
    "product"
  ],
  "properties": {
    "product": {
      "$ref": "#/components/schemas/Product"
    },
    "saveOptions": {
      "type": "boolean",
      "description": "Whether to save custom options alongside the product."
    }
  }
}