Skip to content

Commit 714120b

Browse files
author
update-oas-bot
committed
Update OAS for Preview
1 parent b06611d commit 714120b

File tree

1 file changed

+120
-0
lines changed

1 file changed

+120
-0
lines changed

api-specifications/retailmedia_preview.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,58 @@
896896
]
897897
}
898898
},
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+
},
899951
"/preview/retail-media/accounts/{account-id}/creatives": {
900952
"post": {
901953
"tags": [
@@ -8076,6 +8128,19 @@
80768128
"description": "Placeholder object for value for which \"null\" is a valid business value",
80778129
"nullable": true
80788130
},
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+
},
80798144
"NillableString": {
80808145
"type": "object",
80818146
"properties": {
@@ -13335,6 +13400,36 @@
1333513400
"description": "A value of a template text variable",
1333613401
"nullable": true
1333713402
},
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+
},
1333813433
"UpdateOffersRequest": {
1333913434
"required": [
1334013435
"offerUpdates"
@@ -13574,6 +13669,16 @@
1357413669
"additionalProperties": false,
1357513670
"description": "A top-level object that encapsulates a Criteo API request for a single value object."
1357613671
},
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+
},
1357713682
"ValueResourceInputSetProductBuyBoxWinnersRequest": {
1357813683
"type": "object",
1357913684
"properties": {
@@ -13746,6 +13851,21 @@
1374613851
"additionalProperties": false,
1374713852
"description": "A value resource exposed by the API."
1374813853
},
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+
},
1374913869
"ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse": {
1375013870
"type": "object",
1375113871
"properties": {

0 commit comments

Comments
 (0)