Get Checkout
HTTP Request
GET https://commerce.zoho.com/storefront/api/v1/checkout
Parameters
Parameter | Description |
checkout_id* | string: Unique ID generated by the server for the checkout. This is used as an identifier |
Request Example
Copiedcurl -i -L -X GET
-H "domain-name:zylkerfashionstore.zohostore.com"
'https://commerce.zoho.com/storefront/api/v1/checkout?checkout_id=2-23b9d1185b4624300c72c97c019c77c930aab370dd95977771d87860eb33af9109cb32408dc912474f0c0
Success Response
Copied{
"status_message": "success",
"status_code": "0",
"payload": {
"currency": {
"symbol": "$",
"code": "USD",
"symbol_formatted": "$",
"code_on_left": true,
"format": "###,##0.00",
"symbol_on_left": true
},
"page": {
"title": "Checkout | Zylker's Fashion",
"site_title": "Zylker's Fashion"
},
"checkout": {
"address_detail": {
"addresses": [
],
"countries": [
{
"code": "US",
"name": "United States",
"states": [
{
"code": "CA",
"name": "California"
},
{
"code": "CO",
"name": "Colorado"
}
]
}
]
},
"has_errors": false,
"shipping_methods": [
],
"org_meta": {
"org_version": "us"
},
"currency": {
"symbol": "$",
"code": "USD",
"symbol_formatted": "$",
"code_on_left": true,
"format": "###,##0.00",
"symbol_on_left": true
},
"completed_tasks": {
"address_detail": false,
"shipping_methods": false,
"portal": true,
"order": false
},
"portal": {
"logout_url": "/signout?logout=true&serviceurl=https://zylkerfashionstore.zohostore.com/checkout",
"is_guest_enabled": true,
"login_url": "/signin?uri=%2Fcheckout%3Fcheckout_id%3D2-23b9d1185b4624300c72c97c019c77c930aab370dd95977771d87860eb33af9109cb32408dc912474f
"is_portal_enabled": true,
"signup_url": "/signup",
"user": {
"email_id": "meenamithra.g@zohocorp.com",
"is_guest": false,
"telephone": "13016"
}
},
"user": {
"email_id": "meenamithra.g@zohocorp.com",
"is_guest": false,
"telephone": "13016"
},
"errors": [
],
"order": {
"tax_amount": 0,
"is_tax_inclusive": true,
"payment_url": "https://zohosecurepay.com/cart/2-23b9d1185b4624300c72c97c019c77c930aab370dd95977771d87860eb33af9109cb32408dc912474f0c01e74
"coupon": {
"is_enabled": true
},
"discount_amount": 0,
"taxes": [
],
"cart": {
"cart_id": "2-23b9d1185b4624300c72c97c019c77c930aab370dd95977771d87860eb33af9109cb32408dc912474f0c01e74040f8bc",
"checkout_url": "/checkout",
"total_price": 290,
"count": 1,
"items": [
{
"selling_price": 290,
"images": [
{
"alternate_text": "Little Black Dress",
"is_placeholder_image": false,
"id": "1706707000000069483",
"title": "Little Black Dress",
"url": "/product-images/1706707000000069483",
"is_featured": true,
"order": 0
}
],
"quantity": 1,
"total_price": 290,
"discount_amount": 0,
"custom_fields": [
],
"description": "",
"is_out_of_stock": false,
"label_price": 0,
"stock_available": 0,
"url": "/products/1706707000000068713?variant=1706707000000068709",
"approximate_total": 290,
"variant_id": "1706707000000068709",
"name": "Little Black Dress-2",
"options": [
{
"name": "Size",
"id": "0",
"value": "2",
"color_code": ""
}
],
"is_returnable": false,
"sku": ""
}
]
},
"shipping_amount": 0,
"total": 290,
"offline_payments": [
{
"label_formatted": "Cash on Delivery",
"payment_mode": "cash_on_delivery",
"total": 290,
"payment_mode_formatted": "Cash on Delivery",
"instruction_formatted": "",
"additional_charges": 0,
"instruction": "",
"label": "Cash on Delivery",
"maximum_order_amount": 10000,
"additional_charges_formatted": "$0.00",
"minimum_order_amount": 10
],
"terms": {
"is_enabled": false,
"label": "",
"url": ""
},
"shop_url": "/",
"is_offline_payment_eligible": true,
"sub_total": 290,
"cart_url": "/cart?cart_id=2-23b9d1185b4624300c72c97c019c77c930aab370dd95977771d87860eb33af9109cb32408dc912474f0c01e74040f8bc",
"allow_order_notes_in_checkout": false,
"is_online_payment_configured": false
}
}
},
"api_kind": "kind#checkout"
}
Show full
Show less