From 314483fe58aacc529ed9a6b9c9ae3a7f5d41ecf5 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Thu, 3 Feb 2022 17:47:48 +0300 Subject: [PATCH] doc link --- client.go | 2 ++ response.go | 1 + 2 files changed, 3 insertions(+) diff --git a/client.go b/client.go index 0d9d002..50d5224 100644 --- a/client.go +++ b/client.go @@ -279,6 +279,8 @@ func (c *Client) APICredentials() (CredentialResponse, int, error) { // APISystemInfo get info about system // +// For more information see http://www.retailcrm.pro/docs/Developers/ApiVersion5#get--api-system-info +// // Example: // // var client = retailcrm.New("https://demo.url", "09jIJ") diff --git a/response.go b/response.go index bb29c1e..5f326a6 100644 --- a/response.go +++ b/response.go @@ -39,6 +39,7 @@ type CredentialResponse struct { SitesAvailable []string `json:"sitesAvailable,omitempty"` } +// SystemInfoResponse return system info. type SystemInfoResponse struct { Success bool `json:"success,omitempty"` SystemVersion string `json:"systemVersion,omitempty"`