|
896 | 896 | ] |
897 | 897 | } |
898 | 898 | }, |
| 899 | + "/preview/retail-media/accounts/{account-id}/balances/{balance-id}": { |
| 900 | + "patch": { |
| 901 | + "tags": [ |
| 902 | + "Balance" |
| 903 | + ], |
| 904 | + "description": "Modify a balance for the given account id", |
| 905 | + "operationId": "UpdateBalanceV2", |
| 906 | + "parameters": [ |
| 907 | + { |
| 908 | + "name": "account-id", |
| 909 | + "in": "path", |
| 910 | + "description": "The account of the balance", |
| 911 | + "required": true, |
| 912 | + "schema": { |
| 913 | + "type": "string" |
| 914 | + } |
| 915 | + }, |
| 916 | + { |
| 917 | + "name": "balance-id", |
| 918 | + "in": "path", |
| 919 | + "description": "The balance to change the dates", |
| 920 | + "required": true, |
| 921 | + "schema": { |
| 922 | + "type": "string" |
| 923 | + } |
| 924 | + } |
| 925 | + ], |
| 926 | + "requestBody": { |
| 927 | + "description": "An object that represents the available options to modify a balance.", |
| 928 | + "content": { |
| 929 | + "application/json": { |
| 930 | + "schema": { |
| 931 | + "$ref": "#/components/schemas/ValueResourceInputOfUpdateBalanceModelV1" |
| 932 | + } |
| 933 | + } |
| 934 | + }, |
| 935 | + "required": true |
| 936 | + }, |
| 937 | + "responses": { |
| 938 | + "200": { |
| 939 | + "description": "Success" |
| 940 | + } |
| 941 | + }, |
| 942 | + "security": [ |
| 943 | + { |
| 944 | + "oauth": [ |
| 945 | + "RetailMedia_Balance_Manage" |
| 946 | + ] |
| 947 | + } |
| 948 | + ] |
| 949 | + } |
| 950 | + }, |
899 | 951 | "/preview/retail-media/accounts/{account-id}/creatives": { |
900 | 952 | "post": { |
901 | 953 | "tags": [ |
|
8076 | 8128 | "description": "Placeholder object for value for which \"null\" is a valid business value", |
8077 | 8129 | "nullable": true |
8078 | 8130 | }, |
| 8131 | + "NillableOfNullableOfDateOnly": { |
| 8132 | + "type": "object", |
| 8133 | + "properties": { |
| 8134 | + "value": { |
| 8135 | + "type": "string", |
| 8136 | + "description": "Underlying actual value", |
| 8137 | + "nullable": true |
| 8138 | + } |
| 8139 | + }, |
| 8140 | + "additionalProperties": false, |
| 8141 | + "description": "represents a value that can be set to null explicitly", |
| 8142 | + "nullable": true |
| 8143 | + }, |
8079 | 8144 | "NillableString": { |
8080 | 8145 | "type": "object", |
8081 | 8146 | "properties": { |
|
13335 | 13400 | "description": "A value of a template text variable", |
13336 | 13401 | "nullable": true |
13337 | 13402 | }, |
| 13403 | + "UpdateBalanceModelV1": { |
| 13404 | + "type": "object", |
| 13405 | + "properties": { |
| 13406 | + "endDate": { |
| 13407 | + "$ref": "#/components/schemas/NillableOfNullableOfDateOnly" |
| 13408 | + }, |
| 13409 | + "memo": { |
| 13410 | + "type": "string", |
| 13411 | + "description": "Memo.", |
| 13412 | + "nullable": true |
| 13413 | + }, |
| 13414 | + "name": { |
| 13415 | + "type": "string", |
| 13416 | + "description": "Name of the balance.", |
| 13417 | + "nullable": true |
| 13418 | + }, |
| 13419 | + "poNumber": { |
| 13420 | + "type": "string", |
| 13421 | + "description": "Purchase Order number.", |
| 13422 | + "nullable": true |
| 13423 | + }, |
| 13424 | + "startDate": { |
| 13425 | + "type": "string", |
| 13426 | + "description": "Start date of the balance in the format YYYY-MM-DD.", |
| 13427 | + "nullable": true |
| 13428 | + } |
| 13429 | + }, |
| 13430 | + "additionalProperties": false, |
| 13431 | + "description": "An object that represents the available options to set when updating a Retail Media Balance." |
| 13432 | + }, |
13338 | 13433 | "UpdateOffersRequest": { |
13339 | 13434 | "required": [ |
13340 | 13435 | "offerUpdates" |
|
13574 | 13669 | "additionalProperties": false, |
13575 | 13670 | "description": "A top-level object that encapsulates a Criteo API request for a single value object." |
13576 | 13671 | }, |
| 13672 | + "ValueResourceInputOfUpdateBalanceModelV1": { |
| 13673 | + "type": "object", |
| 13674 | + "properties": { |
| 13675 | + "data": { |
| 13676 | + "$ref": "#/components/schemas/ValueResourceOfUpdateBalanceModelV1" |
| 13677 | + } |
| 13678 | + }, |
| 13679 | + "additionalProperties": false, |
| 13680 | + "description": "A top-level object that encapsulates a Criteo API request for a single value object." |
| 13681 | + }, |
13577 | 13682 | "ValueResourceInputSetProductBuyBoxWinnersRequest": { |
13578 | 13683 | "type": "object", |
13579 | 13684 | "properties": { |
|
13746 | 13851 | "additionalProperties": false, |
13747 | 13852 | "description": "A value resource exposed by the API." |
13748 | 13853 | }, |
| 13854 | + "ValueResourceOfUpdateBalanceModelV1": { |
| 13855 | + "type": "object", |
| 13856 | + "properties": { |
| 13857 | + "attributes": { |
| 13858 | + "$ref": "#/components/schemas/UpdateBalanceModelV1" |
| 13859 | + }, |
| 13860 | + "type": { |
| 13861 | + "type": "string", |
| 13862 | + "description": "Type of the resource.", |
| 13863 | + "nullable": true |
| 13864 | + } |
| 13865 | + }, |
| 13866 | + "additionalProperties": false, |
| 13867 | + "description": "A value resource exposed by the API." |
| 13868 | + }, |
13749 | 13869 | "ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse": { |
13750 | 13870 | "type": "object", |
13751 | 13871 | "properties": { |
|
0 commit comments