Skip to product menu
Skip to main content

Introduction to Checkout

The Checkout API makes it possible to purchase products from a Zoho Commerce store programmatically. A checkout in Zoho Commerce is the Object used to manage a customerʼs cart as it transitions to a paid checkout. This includes calculating taxes, shipping rates, attaching the customerʼs information, and finally completing a purchase by submitting a payment. Use this API if you want a fully customized checkout user experience, while taking full advantage of the commerce engine used to power every store in Zoho Commerce.

Parameters

ParameterDescription
checkout_idstring: Unique ID generated by the server for the checkout. This is used as an identifier.
address_detailobject: An object containing arrays
 * addresses - list of saved addresses for a customer
 * countries - list of countries and their respective states for which shipping is supported.
addresses 
full_namestring: Full name of the customer
idlong: A unique identifier generated by the server for the address
is_selectedboolean: A Boolean to denote whether the address is selected
addressstring: Shipping address of the customer
citystring: Name of the city
state_namestring: Name of the state
postal_codestring: ZIP Code of the address
country_namestring: Name of the country
telephonestring: Phone number
countries 
codestring: Two letter code of the country
namestring: Name of the country
statesarray: List of states for which shipping is supported
states 
codestring: Two letter code of the state
namestring: Name of the state
org_metaobject: Meta information of the organization
org_versionstring: Edition of the organization
currencyobject: Contains the currency information of the checkout
symbolstring: Symbol of the currency
codestring: Currency code
symbol_formattedstring: Formatted symbol of the currency
code_on_leftboolean: Denotes whether the currency code is on the left
symbol_on_leftboolean: Denotes whether the currency symbol is on the left
formatstring: Format of the currency
completed_tasksobject: Contains the status of the tasks in checkout
portalboolean: Denotes whether login is complete
address_detailboolean: Denotes whether address details have been filled
shipping_methodsboolean: Denotes whether a shipping method has been chosen
orderboolean: Denotes whether an order has been placed
portalobject: Contains the member portal information of the checkout
logout_urlstring: URL for logging out from the member portal
is_guest_enabledboolean: Denotes whether guest checkouts are allowed
login_urlstring: URL for logging into the member portal
is_portal_enabledboolean: Denotes whether member portal is enabled for the store
signup_urlstring: URL for signup to the member portal
userobject: Contains the user details in the checkout
userobject: An object containing the user details in the checkout
email_idstring: The email ID of the customer checking out
is_guestboolean: Denotes whether the customer is part of the portal
telephonestring: Phone number of the customer
shipping_methodsarray: Array of shipping methods available for the address
idstring: Unique identifier of the shipping method
delivery_timestring: The delivery time of the shipping method
is_defaultboolean: Denotes whether the shipping method is default
namestring: Name of the shipping method
ratedouble: The shipping charge for the shipping method
handling_feesdouble: Additional handling fees for the shipping method
orderobject: An object containing the order information in the checkout
tax_amountdouble: The total tax applied on the order
is_tax_inclusiveboolean: Denotes whether the prices in the checkout include taxes
payment_urlstring: URL for performing online payments
couponobject: Contains the coupon information for the store
is_enabledboolean: Denotes whether coupons are enabled for the store
discount_amountdouble: The total discount applied on the order
shipping_amountdouble: The shipping charge applied on the order
totaldouble: The total amount to be paid for the order
sub_totaldouble: The sub total of the order
is_offline_payment_eligibleboolean: Denotes whether offline payments are eligible
is_online_payment_configuredboolean: Denotes whether online payments are configured
cart_urlstring: URL for the cart page of the store
shop_urlstring: URL for the home page of the store
allow_order_notes_in_checkoutboolean: Denotes whether order notes are allowed in checkout
offline_paymentsarray: Contains the configured offline payments
cartobject: Contains the cart information of the checkout
taxesarray: Contains the tax information of the checkout
offline_paymentsarray: Contains the configured offline payments
labelstring: Label to be used for display
label_formattedstring: Formatted label to be used for display
payment_modestring: The payment mode to be used for offline payments
payment_mode_formattedstring: Formatted value of payment mode
minimum_order_amountdouble: The minimum order value eligible for offline payments
maximum_order_amountdouble: The maximum order value eligible for offline payments
instructionstring: The instruction to be displayed to the customer
instruction_formattedstring: Formatted value of the instruction
additional_chargesdouble: Additional charges to be applied for offline payments
additional_charges_formatteddouble: Formatted value for the additional charges
totaldouble: Total value of the order for offline payments
cartobject: Contains the cart information of the checkout
cart_idstring: Unique identifier of the cart
checkout_urlstring: URL for the checkout in the store
total_pricedouble: Total price of the cart
countint: Count of the items in the cart
itemsarray: Contains the list of items in the cart
itemsarray: Contains the list of items in the car
selling_pricedouble: Selling price of the item
quantityint: Quantity of the item
total_pricedouble: Total price of the item
discount_amountdouble: Discount applied on the item
custom_fieldsarray: Contains the custom fields mapped to the item
descriptionstring: Description of the item
is_out_of_stockboolean: Denotes whether the item is out of stock
label_pricedouble: Label price of the item
stock_availableint: The available stock of the item
urlstring: The URL of the product in the store
approximate_totaldouble: The approximate total of the item
variant_idstring: The unique identifier of the variant
namestring: The name of the item
optionsarray: Variant details (name, ID and value of the attribute)
is_returnableboolean: Denotes whether the item is returnable
skustring: SKU of the item
imagesarray: Contains the images of the items
imagesarray: Contains the images of the items
idstring: Unique identifier of the image
titlestring: Title of the image
urlstring: URL of the image in the store
orderint: Order of the image
is_featuredboolean: Denotes whether the image is featured
is_placeholder_imageboolean: Denotes whether the image is a placeholder image
alternate_textstring: The alt text to be used for the image