Skip to content

Commit

Permalink
feat(content): update the api
Browse files Browse the repository at this point in the history
#### content:v2.1

The following keys were deleted:
- resources.settlementreports.methods.get (Total Keys: 14)
- resources.settlementreports.methods.list (Total Keys: 20)
- resources.settlementtransactions.methods.list (Total Keys: 22)
- schemas.SettlementReport (Total Keys: 11)
- schemas.SettlementTransaction (Total Keys: 28)
- schemas.SettlementreportsListResponse (Total Keys: 6)
- schemas.SettlementtransactionsListResponse (Total Keys: 6)
  • Loading branch information
yoshi-automation committed Oct 29, 2024
1 parent 57f7b96 commit d40c2ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 337 deletions.
2 changes: 1 addition & 1 deletion docs/dyn/content_v2_1.conversionsources.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ <h3>Method Details</h3>
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of this conversion source. Can&#x27;t be edited through the API.
}

updateMask: string, Required. List of fields being updated.
updateMask: string, Optional. List of fields being updated.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down
10 changes: 0 additions & 10 deletions docs/dyn/content_v2_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,6 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the returnpolicyonline Resource.</p>

<p class="toc_element">
<code><a href="content_v2_1.settlementreports.html">settlementreports()</a></code>
</p>
<p class="firstline">Returns the settlementreports Resource.</p>

<p class="toc_element">
<code><a href="content_v2_1.settlementtransactions.html">settlementtransactions()</a></code>
</p>
<p class="firstline">Returns the settlementtransactions Resource.</p>

<p class="toc_element">
<code><a href="content_v2_1.shippingsettings.html">shippingsettings()</a></code>
</p>
Expand Down
330 changes: 4 additions & 326 deletions googleapiclient/discovery_cache/documents/content.v2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@
"type": "string"
},
"updateMask": {
"description": "Required. List of fields being updated.",
"description": "Optional. List of fields being updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
Expand Down Expand Up @@ -4313,141 +4313,6 @@
}
}
},
"settlementreports": {
"methods": {
"get": {
"description": "Retrieves a settlement report from your Merchant Center account.",
"flatPath": "{merchantId}/settlementreports/{settlementId}",
"httpMethod": "GET",
"id": "content.settlementreports.get",
"parameterOrder": [
"merchantId",
"settlementId"
],
"parameters": {
"merchantId": {
"description": "The Merchant Center account of the settlement report.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"settlementId": {
"description": "The Google-provided ID of the settlement.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/settlementreports/{settlementId}",
"response": {
"$ref": "SettlementReport"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Retrieves a list of settlement reports from your Merchant Center account.",
"flatPath": "{merchantId}/settlementreports",
"httpMethod": "GET",
"id": "content.settlementreports.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"maxResults": {
"description": "The maximum number of settlements to return in the response, used for paging. The default value is 200 returns per page, and the maximum allowed value is 5000 returns per page.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The Merchant Center account to list settlements for.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
},
"transferEndDate": {
"description": "Obtains settlements which have transactions before this date (inclusively), in ISO 8601 format.",
"location": "query",
"type": "string"
},
"transferStartDate": {
"description": "Obtains settlements which have transactions after this date (inclusively), in ISO 8601 format.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/settlementreports",
"response": {
"$ref": "SettlementreportsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"settlementtransactions": {
"methods": {
"list": {
"description": "Retrieves a list of transactions for the settlement.",
"flatPath": "{merchantId}/settlementreports/{settlementId}/transactions",
"httpMethod": "GET",
"id": "content.settlementtransactions.list",
"parameterOrder": [
"merchantId",
"settlementId"
],
"parameters": {
"maxResults": {
"description": "The maximum number of transactions to return in the response, used for paging. The default value is 200 transactions per page, and the maximum allowed value is 5000 transactions per page.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The Merchant Center account to list transactions for.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
},
"settlementId": {
"description": "The Google-provided ID of the settlement.",
"location": "path",
"required": true,
"type": "string"
},
"transactionIds": {
"description": "The list of transactions to return. If not set, all transactions will be returned.",
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "{merchantId}/settlementreports/{settlementId}/transactions",
"response": {
"$ref": "SettlementtransactionsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"shippingsettings": {
"methods": {
"custombatch": {
Expand Down Expand Up @@ -4705,7 +4570,7 @@
}
}
},
"revision": "20240825",
"revision": "20241023",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -7926,7 +7791,7 @@ false
"No issues available to review.",
"Account will be automatically reviewed at the end of the grace period.",
"Account is retired. Should not appear in MC.",
"Account was already reviewd."
"Account has already been reviewed. You can't request further reviews."
],
"type": "string"
},
Expand Down Expand Up @@ -13624,193 +13489,6 @@ false
},
"type": "object"
},
"SettlementReport": {
"description": " Settlement reports detail order-level and item-level credits and debits between you and Google.",
"id": "SettlementReport",
"properties": {
"endDate": {
"description": "The end date on which all transactions are included in the report, in ISO 8601 format.",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementReport`\"",
"type": "string"
},
"previousBalance": {
"$ref": "Price",
"description": "The residual amount from the previous invoice. This is set only if the previous invoices are not paid because of negative balance."
},
"settlementId": {
"description": "The ID of the settlement report.",
"type": "string"
},
"startDate": {
"description": "The start date on which all transactions are included in the report, in ISO 8601 format.",
"type": "string"
},
"transferAmount": {
"$ref": "Price",
"description": "The money due to the merchant."
},
"transferDate": {
"description": "Date on which transfer for this payment was initiated by Google, in ISO 8601 format.",
"type": "string"
},
"transferIds": {
"description": "The list of bank identifiers used for the transfer. For example, Trace ID for Federal Automated Clearing House (ACH). This may also be known as the Wire ID.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"SettlementTransaction": {
"description": "Settlement transactions give a detailed breakdown of the settlement report.",
"id": "SettlementTransaction",
"properties": {
"amount": {
"$ref": "SettlementTransactionAmount",
"description": "The amount for the transaction."
},
"identifiers": {
"$ref": "SettlementTransactionIdentifiers",
"description": "Identifiers of the transaction."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementTransaction`\"",
"type": "string"
},
"transaction": {
"$ref": "SettlementTransactionTransaction",
"description": "Details of the transaction."
}
},
"type": "object"
},
"SettlementTransactionAmount": {
"id": "SettlementTransactionAmount",
"properties": {
"commission": {
"$ref": "SettlementTransactionAmountCommission"
},
"description": {
"description": "The description of the event. Acceptable values are: - \"`taxWithhold`\" - \"`principal`\" - \"`principalAdjustment`\" - \"`shippingFee`\" - \"`merchantRemittedSalesTax`\" - \"`googleRemittedSalesTax`\" - \"`merchantCoupon`\" - \"`merchantCouponTax`\" - \"`merchantRemittedDisposalTax`\" - \"`googleRemittedDisposalTax`\" - \"`merchantRemittedRedemptionFee`\" - \"`googleRemittedRedemptionFee`\" - \"`eeeEcoFee`\" - \"`furnitureEcoFee`\" - \"`copyPrivateFee`\" - \"`eeeEcoFeeCommission`\" - \"`furnitureEcoFeeCommission`\" - \"`copyPrivateFeeCommission`\" - \"`principalRefund`\" - \"`principalRefundTax`\" - \"`itemCommission`\" - \"`adjustmentCommission`\" - \"`shippingFeeCommission`\" - \"`commissionRefund`\" - \"`damaged`\" - \"`damagedOrDefectiveItem`\" - \"`expiredItem`\" - \"`faultyItem`\" - \"`incorrectItemReceived`\" - \"`itemMissing`\" - \"`qualityNotExpected`\" - \"`receivedTooLate`\" - \"`storePackageMissing`\" - \"`transitPackageMissing`\" - \"`unsuccessfulDeliveryUndeliverable`\" - \"`wrongChargeInStore`\" - \"`wrongItem`\" - \"`returns`\" - \"`undeliverable`\" - \"`issueRelatedRefundAndReplacementAmountDescription`\" - \"`refundFromMerchant`\" - \"`returnLabelShippingFee`\" - \"`lumpSumCorrection`\" - \"`pspFee`\" - \"`principalRefundDoesNotFit`\" - \"`principalRefundOrderedWrongItem`\" - \"`principalRefundQualityNotExpected`\" - \"`principalRefundBetterPriceFound`\" - \"`principalRefundNoLongerNeeded`\" - \"`principalRefundChangedMind`\" - \"`principalRefundReceivedTooLate`\" - \"`principalRefundIncorrectItemReceived`\" - \"`principalRefundDamagedOrDefectiveItem`\" - \"`principalRefundDidNotMatchDescription`\" - \"`principalRefundExpiredItem`\" ",
"type": "string"
},
"transactionAmount": {
"$ref": "Price",
"description": "The amount that contributes to the line item price."
},
"type": {
"description": "The type of the amount. Acceptable values are: - \"`itemPrice`\" - \"`orderPrice`\" - \"`refund`\" - \"`earlyRefund`\" - \"`courtesyRefund`\" - \"`returnRefund`\" - \"`returnLabelShippingFeeAmount`\" - \"`lumpSumCorrectionAmount`\" ",
"type": "string"
}
},
"type": "object"
},
"SettlementTransactionAmountCommission": {
"id": "SettlementTransactionAmountCommission",
"properties": {
"category": {
"description": "The category of the commission. Acceptable values are: - \"`animalsAndPetSupplies`\" - \"`dogCatFoodAndCatLitter`\" - \"`apparelAndAccessories`\" - \"`shoesHandbagsAndSunglasses`\" - \"`costumesAndAccessories`\" - \"`jewelry`\" - \"`watches`\" - \"`hobbiesArtsAndCrafts`\" - \"`homeAndGarden`\" - \"`entertainmentCollectibles`\" - \"`collectibleCoins`\" - \"`sportsCollectibles`\" - \"`sportingGoods`\" - \"`toysAndGames`\" - \"`musicalInstruments`\" - \"`giftCards`\" - \"`babyAndToddler`\" - \"`babyFoodWipesAndDiapers`\" - \"`businessAndIndustrial`\" - \"`camerasOpticsAndPhotography`\" - \"`consumerElectronics`\" - \"`electronicsAccessories`\" - \"`personalComputers`\" - \"`videoGameConsoles`\" - \"`foodAndGrocery`\" - \"`beverages`\" - \"`tobaccoProducts`\" - \"`furniture`\" - \"`hardware`\" - \"`buildingMaterials`\" - \"`tools`\" - \"`healthAndPersonalCare`\" - \"`beauty`\" - \"`householdSupplies`\" - \"`kitchenAndDining`\" - \"`majorAppliances`\" - \"`luggageAndBags`\" - \"`media`\" - \"`officeSupplies`\" - \"`softwareAndVideoGames`\" - \"`vehiclePartsAndAccessories`\" - \"`vehicleTiresAndWheels`\" - \"`vehicles`\" - \"`everythingElse`\" ",
"type": "string"
},
"rate": {
"description": "Rate of the commission in percentage.",
"type": "string"
}
},
"type": "object"
},
"SettlementTransactionIdentifiers": {
"id": "SettlementTransactionIdentifiers",
"properties": {
"adjustmentId": {
"description": "The identifier of the adjustments, if it's available.",
"type": "string"
},
"merchantOrderId": {
"description": "The merchant provided order ID.",
"type": "string"
},
"orderItemId": {
"description": "The identifier of the item.",
"type": "string"
},
"settlementEntryId": {
"description": "The unique ID of the settlement transaction entry.",
"type": "string"
},
"shipmentIds": {
"description": "The shipment ids for the item.",
"items": {
"type": "string"
},
"type": "array"
},
"transactionId": {
"description": "The Google transaction ID.",
"type": "string"
}
},
"type": "object"
},
"SettlementTransactionTransaction": {
"id": "SettlementTransactionTransaction",
"properties": {
"postDate": {
"description": "The time on which the event occurred in ISO 8601 format.",
"type": "string"
},
"type": {
"description": "The type of the transaction that occurred. Acceptable values are: - \"`order`\" - \"`reversal`\" - \"`orderRefund`\" - \"`reversalRefund`\" - \"`issueRelatedRefundAndReplacement`\" - \"`returnLabelShippingFeeTransaction`\" - \"`reversalIssueRelatedRefundAndReplacement`\" - \"`reversalReturnLabelShippingFeeTransaction`\" - \"`lumpSumCorrectionTransaction`\" ",
"type": "string"
}
},
"type": "object"
},
"SettlementreportsListResponse": {
"id": "SettlementreportsListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementreportsListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of returns.",
"type": "string"
},
"resources": {
"items": {
"$ref": "SettlementReport"
},
"type": "array"
}
},
"type": "object"
},
"SettlementtransactionsListResponse": {
"id": "SettlementtransactionsListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementtransactionsListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of returns.",
"type": "string"
},
"resources": {
"items": {
"$ref": "SettlementTransaction"
},
"type": "array"
}
},
"type": "object"
},
"ShippingSettings": {
"description": "The merchant account's shipping settings. All methods except getsupportedcarriers and getsupportedholidays require the admin role.",
"id": "ShippingSettings",
Expand Down Expand Up @@ -14109,7 +13787,7 @@ false
"No issues available to review.",
"Account will be automatically reviewed at the end of the grace period.",
"Account is retired. Should not appear in MC.",
"Account was already reviewd."
"Account has already been reviewed. You can't request further reviews."
],
"type": "string"
},
Expand Down

0 comments on commit d40c2ba

Please sign in to comment.