SAP Commerce Cloud · Schema

ProductReference

B2BB2CCommerceCustomer ExperienceEcommerceOmnichannelRetail

Properties

Name Type Description
referenceType string Type of product reference
target object
description string Reference description
View JSON Schema on GitHub

JSON Schema

sap-commerce-cloud-productreference-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductReference",
  "title": "ProductReference",
  "type": "object",
  "properties": {
    "referenceType": {
      "type": "string",
      "enum": [
        "SIMILAR",
        "ACCESSORIES",
        "CROSSELLING",
        "UPSELLING",
        "OTHERS"
      ],
      "description": "Type of product reference"
    },
    "target": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "description": {
      "type": "string",
      "description": "Reference description"
    }
  }
}