POST https://api.nexway.store/product-recommendations/import
Parameter name | Value | Description | Additional |
---|---|---|---|
dryRun | boolean | dryRun |
The request body takes a complete ProductRecommendation resource, containing the following writable properties:
{
"catalogId": "string",
"createDate": "date-time",
"customerId": "string",
"dbVersion": "int64",
"eligibleParentProductIds": [
"string"
],
"eligibleProductIds": [
"string"
],
"eligibleStoreIds": [
"string"
],
"endDate": "string",
"function": "string",
"id": "string",
"level": "string",
"name": "string",
"startDate": "string",
"status": "string",
"type": "string",
"updateDate": "date-time",
"weight": "int32"
}
Name | Type | Description | Additional |
---|---|---|---|
catalogId | string | Optional | |
createDate | date-time | Optional | |
customerId | string | Optional | |
dbVersion | int64 | Optional | |
eligibleParentProductIds[] | array of string | Optional | |
eligibleProductIds[] | array of string | Optional | |
eligibleStoreIds[] | array of string | Optional | |
endDate | string | Optional | |
function | string | Optional | |
id | string | Optional | |
level | string |
Possible values are:
|
Optional |
name | string | Optional | |
startDate | string | Optional | |
status | string |
Possible values are:
|
Optional |
type | string |
Possible values are:
|
Optional |
updateDate | date-time | Optional | |
weight | int32 | Optional |
This request requires the use of one of following authorisation methods:
OAuth2
.
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK Success |
ProductRecommendation |
201 | Created Created |
Created |
401 | Unauthorized Unauthorized |
|
403 | Forbidden Forbidden |
|
404 | Not Found Not Found |
|
500 | Internal Server Error Failure |
{
"endDate": "yyyy-MM-dd'T'HH:mm:ss'Z'",
"startDate": "yyyy-MM-dd'T'HH:mm:ss'Z'"
}