API Docs
/
No Results Found
Response

Response

Responses will be in the JSON format.

Node Name Description
code Zoho Subscriptions error code. This will be zero for a success response and non-zero in case of an error.
message Message for the invoked API.
resource name Comprises the invoked API’s Data.

Request Example

Click to copy
$ curl https://subscriptions.zoho.com/api/v1/invoices/7000000079426 \ -H 'Authorization: Zoho-oauthtoken 1000.41d9f2cfbd1b7a8f9e314b7aff7bc2d1.8fcc9810810a216793f385b9dd6e125f' \ -H 'X-com-zoho-subscriptions-organizationid: 10234695' \ -H 'Accept: application/pdf'

OR

Request Example

Click to copy
$ curl https://subscriptions.zoho.com/api/v1/invoices/7000000079426?accept=pdf \ -H 'Authorization: Zoho-oauthtoken 1000.41d9f2cfbd1b7a8f9e314b7aff7bc2d1.8fcc9810810a216793f385b9dd6e125f' \ -H 'X-com-zoho-subscriptions-organizationid: 10234695'

Response Structure

The response structure for the Books API follows the below format.
{ "code" : 0, "message" : "success", "invoice" : { "invoice_id" : "..." } }

Response Example

HTTP/1.1 200 OK Content-Disposition: attachment; filename="INV-384.pdf" Content-Type: application/pdf;charset=UTF-8