---
title: "Update cross selling"
method: PATCH
path: "/api/v1/products/{id}/crossSelling"
tags: ["Product"]
---

# Update cross selling

`PATCH /api/v1/products/{id}/crossSelling`

Updates cross selling products of a product.

## Path parameters

- `id` string, required — Resource identifier.

## Request body

- object[]
  - `id` string, required — Resource identifier.
  - `active` boolean — Determines if the cross selling relation is active.
  - `assignToEachOther` boolean — Determines if the selected products are assigned to each other. For more information have a look into our handbook.
  - `type` 1 | 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.
  - `salesChannel` object, nullable — Reference to an external sales channel AKA online shop
    - `id` string, nullable, required — Nullable resource identifier
  - `sort` number — Sorting order of the cross selling entries. 0 means automatically.
  - `note` string, nullable — Internal note.

## Response `204`

Operation completed successfully, no response body

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `404` — Resource was not found or not enough access privileges
- `409` — Request conflict with the current state of the target resource
- `415` — Resource representation send in the request is not supported.
- `429` — Too many API calls made.

---

[API](https://skmtc.dev/xentral/apis/xentral-api.md) · [All operations](https://skmtc.dev/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
