You must provide specific information about your business and products before
you can opt in to the checkout program. You must meet the following criteria to
use checkoutSettings:
Your merchant account must be enrolled in the free listings program.
Check the Google Merchant Center UI to see if you're already enrolled in the
free listings program. If you're not enrolled, complete the free listings
onboarding steps. Use the
following format for your checkout URLs:
https://mystore.com/path-to-product/{id}
When a customer clicks on the checkout URL in your free listing, {id} is
automatically replaced with the offerId of the product.
Add your checkout URL
You can use
freelistingsprogram.checkoutsettings.insertto
add or update your checkout URL template. This call updates your checkout URL
template at the account level, and opts all valid offers into the checkout
feature.
POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/freelistingsprogram/checkoutsettings
You can use
freelistingsprogram.checkoutsettings.get
to view your existing checkout URL. get is read-only, and requires your
merchantId. The get method returns the corresponding checkout resource.
GET https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/freelistingsprogram/checkoutsettings
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["Google is introducing the Merchant API beta, the new version of the Content API for Shopping."],["Use the `checkoutSettings` attribute to add a checkout link directly to your free listings, enhancing the customer shopping experience."],["To utilize `checkoutSettings`, you need an active product feed in Google Merchant Center and be enrolled in the free listings program."],["Implement the checkout feature by adding or updating your checkout URL template using the provided API calls, allowing customers to purchase directly from your free listings."],["Manage your checkout URL by viewing, updating, or removing it via the respective API calls, giving you control over the checkout process for your free listings."]]],["The Merchant API beta, a new version of the Content API for Shopping, is introduced. To use `checkoutSettings` for free listings, users need an active product feed and enrollment in the free listings program. Merchants can add or update their checkout URL templates using `freelistingsprogram.checkoutsettings.insert`, view existing URLs with `get`, and remove them with `delete`. The checkout URL directs customers to a product's checkout page, automatically replacing `{id}` with the product's `offerId`.\n"]]