Skip to content

Commit 1092b71

Browse files
update-oas-botNextFire
authored andcommitted
Update OAS for Preview
1 parent 179b1b9 commit 1092b71

File tree

2 files changed

+915
-2
lines changed

2 files changed

+915
-2
lines changed

api-specifications/marketingsolutions_preview.json

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4179,6 +4179,54 @@
41794179
]
41804180
}
41814181
]
4182+
},
4183+
"patch": {
4184+
"tags": [
4185+
"Reco"
4186+
],
4187+
"description": "Patch an existing product set",
4188+
"operationId": "PatchProductSet",
4189+
"parameters": [
4190+
{
4191+
"name": "product-set-id",
4192+
"in": "path",
4193+
"description": "ID of the product set",
4194+
"required": true,
4195+
"style": "simple",
4196+
"schema": {
4197+
"type": "string"
4198+
}
4199+
}
4200+
],
4201+
"requestBody": {
4202+
"content": {
4203+
"application/json": {
4204+
"schema": {
4205+
"$ref": "#/components/schemas/ValueResourceInputOfPatchProductSetRequest"
4206+
}
4207+
}
4208+
},
4209+
"x-bodyName": "request"
4210+
},
4211+
"responses": {
4212+
"200": {
4213+
"description": "Product set modified successfully",
4214+
"content": {
4215+
"application/json": {
4216+
"schema": {
4217+
"$ref": "#/components/schemas/ResourceOutcomeOfProductSet"
4218+
}
4219+
}
4220+
}
4221+
}
4222+
},
4223+
"security": [
4224+
{
4225+
"oauth": [
4226+
"MarketingSolutions_Reco_Manage"
4227+
]
4228+
}
4229+
]
41824230
}
41834231
},
41844232
"/preview/product-sets/{product-set-id}/product-filters": {
@@ -12292,6 +12340,35 @@
1229212340
},
1229312341
"description": "patch marketing campaign budget automation model"
1229412342
},
12343+
"PatchProductSetRequest": {
12344+
"type": "object",
12345+
"properties": {
12346+
"isDraft": {
12347+
"type": "boolean",
12348+
"description": "[optional] New value of product set segment status (draft or active)",
12349+
"nullable": true
12350+
},
12351+
"minimumNumberOfProducts": {
12352+
"type": "integer",
12353+
"description": "[optional] New minimum number of products of the product set to be patched. This is used to determine if the rules are valid!",
12354+
"format": "int32",
12355+
"nullable": true
12356+
},
12357+
"name": {
12358+
"type": "string",
12359+
"description": "[optional] New name that will be associated to the product set"
12360+
},
12361+
"rules": {
12362+
"uniqueItems": false,
12363+
"type": "array",
12364+
"items": {
12365+
"$ref": "#/components/schemas/ProductSetRule"
12366+
},
12367+
"description": "[optional] New rules that will be associated to the product set"
12368+
}
12369+
},
12370+
"description": "Entity to update a product set"
12371+
},
1229512372
"PatchResultCampaignListResponse": {
1229612373
"type": "object",
1229712374
"properties": {
@@ -15654,6 +15731,15 @@
1565415731
}
1565515732
}
1565615733
},
15734+
"ValueResourceInputOfPatchProductSetRequest": {
15735+
"type": "object",
15736+
"properties": {
15737+
"data": {
15738+
"$ref": "#/components/schemas/ValueResourceOfPatchProductSetRequest"
15739+
}
15740+
},
15741+
"description": "A top-level object that encapsulates a Criteo API request for a single value"
15742+
},
1565715743
"ValueResourceOfCreateProductFilterRequest": {
1565815744
"type": "object",
1565915745
"properties": {
@@ -15679,6 +15765,18 @@
1567915765
},
1568015766
"description": "A class that represents a ValueType in a guild compliant way"
1568115767
},
15768+
"ValueResourceOfPatchProductSetRequest": {
15769+
"type": "object",
15770+
"properties": {
15771+
"attributes": {
15772+
"$ref": "#/components/schemas/PatchProductSetRequest"
15773+
},
15774+
"type": {
15775+
"type": "string"
15776+
}
15777+
},
15778+
"description": "A top-level object that encapsulates a Criteo API response for a single value"
15779+
},
1568215780
"ValueResourceOfProductFilterConfig": {
1568315781
"type": "object",
1568415782
"properties": {

0 commit comments

Comments
 (0)