|
4179 | 4179 | ] |
4180 | 4180 | } |
4181 | 4181 | ] |
| 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 | + ] |
4182 | 4230 | } |
4183 | 4231 | }, |
4184 | 4232 | "/preview/product-sets/{product-set-id}/product-filters": { |
|
12292 | 12340 | }, |
12293 | 12341 | "description": "patch marketing campaign budget automation model" |
12294 | 12342 | }, |
| 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 | + }, |
12295 | 12372 | "PatchResultCampaignListResponse": { |
12296 | 12373 | "type": "object", |
12297 | 12374 | "properties": { |
|
15654 | 15731 | } |
15655 | 15732 | } |
15656 | 15733 | }, |
| 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 | + }, |
15657 | 15743 | "ValueResourceOfCreateProductFilterRequest": { |
15658 | 15744 | "type": "object", |
15659 | 15745 | "properties": { |
|
15679 | 15765 | }, |
15680 | 15766 | "description": "A class that represents a ValueType in a guild compliant way" |
15681 | 15767 | }, |
| 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 | + }, |
15682 | 15780 | "ValueResourceOfProductFilterConfig": { |
15683 | 15781 | "type": "object", |
15684 | 15782 | "properties": { |
|
0 commit comments