This is a html view of the json schema please take the json schema as reference DOWNLOAD THE JSON SCHEMA

Related Product Group

Type: object

In Pilot Define the related product groups for a given product

Common fields

Type: object

Type: object

This object is used to describe some technical meta information related to the event.

Type: enum (of string)

The application source of this event

Must be one of:

  • "OPCO"

Type: enum (of string)

The version of the json format event

Must be one of:

  • "v1"

Type: string

Product unique identifier.

Must be at least 1 characters long


Example:

"9554961192345"

Type: string

The ID of the related product group

Must be at least 1 characters long


Example:

"01255478"

Action


UPSERT

Type: object

Used to add new or update existing related product groups for a given product

Type: enum (of string) Default: "UPSERT"

Action defines if the related product groups have to be:
- UPSERT: added or updated
- DELETE: deleted

Must be one of:

  • "UPSERT"

Type: integer

The order in which the group is displayed. The group with the lowest number is displayed first


Example:

"01255478"

Multilingual Object

Type: object

The localized name of this related product group


Example:

{
    "fr-FR": "Accessoires",
    "nl-BE": "Accessories"
}

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[a-z]{2}-[A-Z]{2}$
Type: string

Each additional property must conform to the following schema

Type: string
Must match regular expression: $fake pattern for invalid keys to help codegen

Type: array of string

List of products related to the product {productId} and associated with the product group {name}

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: string

Product unique identifier.


Example:

"9554961192345"

DELETE

Type: object

Used to delete a related product group for a given product

Type: enum (of string)

Action defines if the related product groups have to be:
- UPSERT: added or updated
- DELETE: deleted

Must be one of:

  • "DELETE"