Nexus
Nexus APIs
PUT
/v1/products/{productId}/upsell-dependencies
Replaces the upsell dependency rules for a product.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
productId |
path | Yes | The product identifier. |
Request body
Request payload
Example
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Responses
200
Example
[
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
]
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
[
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
]
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
[
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
]
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
[
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
]
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
[
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
]
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
[
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
]
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
Example
[
{
"requires": [
{
"mode": "string",
"moduleString": "string"
}
],
"moduleString": "string"
}
]
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
moduleString
|
string
|
nullable | The module string identifier this rule applies to. | — |
requires
|
nullable | The list of required modules for this module. | — |
400
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
404
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Example
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0,
"instance": "string"
}
Schema
| Name | Type | Attributes | Description | Extensions |
|---|---|---|---|---|
detail
|
string
|
nullable | — | — |
instance
|
string
|
nullable | — | — |
status
|
integer (int32)
|
nullable | — | — |
title
|
string
|
nullable | — | — |
type
|
string
|
nullable | — | — |
Security
Authentication is required for this operation.
Source: default
Requirements (any one option may satisfy)
- Bearer and ApplicationToken
- Basic