Skip to main content

Place an Order

Use this API to place an order for your checkout using offline payments.

HTTP Request

POST https://commerce.zoho.com/storefront/api/v1/checkout/process-offline-payment

 

Parameters

ParameterDescription
checkout_id*string: Unique ID generated by the server for the checkout. This is used as identifier.
payment_mode*string: Allowed value: cash_on_delivery

 

Request Example

Copiedcurl -i -L -X POST
-H "domain-name:zylkerfashionstore.zohostore.com"
-H "X-ZCSRF-TOKEN:csrfp=601e2933-497c-437a-96b3-ed9cf8b4644e"
-H "Content-Type:application/json"
'https://commerce.zoho.com/storefront/api/v1/checkout/offlinepayment?checkout_id=2-23b9d1185b462430bc2e238632e3e65835bedd291c81af7e733127d979f26ae89b06f2

Success Example

Copied{
"code": 0,
"message": "Sales Order has been created.",
"data":{
"redirect_url":"redirect_url"
}
}