Page Summary
-
The
CheckoutURL directs buyers to the merchant's checkout page with the specified item. -
The URL template uses placeholders that are automatically replaced with the merchant's
offerId. -
The
checkoutUriTemplatefield provides the URL template for the checkout process. -
The
cartUriTemplatefield (if available) provides the URL template for adding an item to the merchant's cart.
Specifications related to the Checkout URL. The UriTemplate is of the form https://www.mystore.com/checkout?item_id={id}
where {id} will be automatically replaced with data from the merchant account with this attribute offerId
| JSON representation |
|---|
{ // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "checkoutUriTemplate": string, "cartUriTemplate": string // End of mutually exclusive fields. } |
| Fields | |
|---|---|
| The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
checkoutUriTemplate |
URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. |
cartUriTemplate |
URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. |
| End of mutually exclusive fields. | |