v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Product

Update cross selling

Updates cross selling products of a product.

patch/api/v1/products/{id}/crossSelling

Path parameters

idstring required

Resource identifier.

Example:17

The resource's identifier.

Request body

idstring required

Resource identifier.

activeboolean

Determines if the cross selling relation is active.

assignToEachOtherboolean

Determines if the selected products are assigned to each other. For more information have a look into our handbook.

type1 | 2

Determines the type of the cross selling product. 1 means similar product, 2 means accessory. For more information have a look into our handbook.

sortnumber

Sorting order of the cross selling entries. 0 means automatically.

notestring nullable

Internal note.

Example request

[
  {
    "id": "17",
    "active": true,
    "type": 1,
    "salesChannel": {
      "id": "sales-channel-56789"
    },
    "sort": 1,
    "note": "This is an internal note for reference."
  }
]

Response

Operation completed successfully, no response body