Behavior changes
Accounts service
You can now delete
businessInformationandgoogleMyBusinessLinkin an update request without having to provide an empty body ({}).The following AdWords-related fields have been renamed:
adwordsLinks->adsLinksadwordsLinks.adwordsId->adsLinks.adsId
Order and TestOrder resources
- Merchants should not provide tax data in their API calls since they're
automatically calculated. Doing so will result in a failed call if the order
is fulfilled to a state with Marketplace Fairness Act (or similar)
legislation. For merchants operating in non-MFA states, calculated tax is
dependent on settings in the Merchant Center; if not set up, calculated tax
will be
0.
Products service
Response from an
insertwill contain only the following attributes:channelcontentLanguageidofferIdtargetCountry
Non-fatal warnings and errors are no longer returned in the response.
There is now a delay of a few minutes before an inserted product can be retrieved by
getorlist.The returned offer ID is no longer guaranteed to be the same as the input offer ID.
Prices are now validated before product insertion. Only the following characters are allowed in the value string:
+,-,., and digits (i.e.,0-9). Commas are no longer accepted.
Product resource
Invalid values for the following attributes no longer trigger insertion error, but rather are returned as part of
itemLevelIssuesin productstatus.ageGroupavailabilityconditionenergyEfficiencyClassgendermaxEnergyEfficiencyClassminEnergyEfficiencyClasssizeSystemsizeType
Custom attributes are now recursive, removing the need for custom groups.
Custom attributes now have a
groupValuesfield in addition to the originalvaluefield; exactly one must be set.Custom attributes no longer contain a type and unit. Instead, units are to be appended to the value and types should be automatically detected.
The repeated field
productTypeshas replaced bothproductTypeandadditionalProductTypes.The repeated fields
includedDestinationsandexcludedDestinationshave replaced the repeated fielddestinations.The following AdWords-related fields have been renamed:
adwordsGrouping->adsGroupingadwordsLabels->adsLabelsadwordsRedirect->adsRedirect
Deprecations
XML is no longer supported. Check out the related blog post for more details and suggestions on how to switch to JSON.
The parameter
dryRunhas been removed from v2.1. This applies to all API calls.All
HTTP BATCHmethods have been removed from v2.1. UsecustomBatchinstead.The
patch()method has been removed fromAccountsAccounttaxDatafeedsLiasettingsShippingsettings
Accounts
The deprecated field
reviewsUrlhas been removed.The link status
inactivehas been removed foradsLinks,googleMyBusinessLink, andyoutubeChannelLinks.
Datafeed
The fields
contentLanguage,targetCountry, andintendedDestinationshave been removed and replaced bylanguage,country,includedDestinations, andexcludedDestinationsin targets.Feeds with
contentType = "product inventory update"have been removed.
Inventory
- This service has been removed. For online product price and availability updates, re-upload full products with the product service. We are working on a replacement service for local product inventory, as well as support for management of supplemental data.
Order and TestOrder
CancelLineItem- The fields
amount,amountPretax, andamountTaxin the request have been removed. The refunded amount is now calculated automatically.
- The fields
CustomBatchhas been removed.InStoreRefundLineItemandReturnRefundLineItem- The fields
amountPretaxandamountTaxhave been replaced bypriceAmountandtaxAmount, respectively. The fieldpriceAmountmay be pre-tax or post-tax depending on the location of the order.
- The fields
Refundhas been removed. UsereturnRefundLineIteminstead.ReturnLineItemhas been removed. UsereturnRefundLineItemwithout providing a refund amount instead.ShipLineItem- The fields
carrier,shipmentId, andtrackingIdin the request have been moved toshipmentInfos.
- The fields
The field
paymentMethodhas been removed, andbillingAddressandpredefinedBillingAddressare now top-level fields inOrderandTestOrder, respectively.customer.explicitMarketingPreferencehas been replaced bycustomer.marketingRightsInfo.The deprecated fields
customer.email,channelType, andlineItem.product.channelhave been removed.The
promotionsfield has been removed fromTestOrderand its format changed inOrder.The
netAmountfield was split intonetPriceAmountandnetTaxAmount.shippingOptionhas been replaced bylineItems[].shippingDetails.
Orderinvoice
Removed balances (merchant, customer, Google) in
invoiceSummaryand promotion charge related fields.The fields
amountPretaxandamountTaxhave been replaced bypriceAmountandtaxAmount, respectively. The fieldpriceAmountmay be pre-tax or post-tax depending on the location of the order.
Orderpayments
- This service has been removed.
Products
The parameter
includeInvalidInsertedItemshas been removed.The following deprecated fields have been removed:
aspectsdestinationsonlineOnlyvalidatedDestinationswarnings
Productstatuses
The
productattribute was removed, along with theincludeAttributesparameter. To retrieve attributes of the product corresponding to a status, use theProductsservice and the value of the newproductIdfield.The parameter
includeInvalidInsertedItemshas been removed. TheproductIdof every product is now returned regardless of whether the product is valid.The fields
intention,approvalStatus, andapprovalPendingindestinationStatuseshave been replaced bystatus, which is a string that can be one ofapproved,disapproved, orpending.dataQualityIssueshave been replaced byitemLevelIssues.