mirror of
https://github.com/retailcrm/api-client-ruby.git
synced 2024-11-22 04:56:06 +03:00
Update README.md
This commit is contained in:
parent
4358a6e815
commit
978f2f0509
@ -17,7 +17,7 @@ gem install retailcrm
|
||||
```ruby
|
||||
require 'retailcrm'
|
||||
|
||||
api = Retailcrm.new('https://yourcrmname.retailcrm.ru', 'yourApiKeyHere')
|
||||
api = Retailcrm.new('https://yourcrmname.retailcrm.pro', 'yourApiKeyHere')
|
||||
|
||||
response = api.orders_get(345, 'id').response
|
||||
order = response[:order]
|
||||
@ -29,7 +29,7 @@ order = response[:order]
|
||||
```ruby
|
||||
require 'retailcrm'
|
||||
|
||||
api = Retailcrm.new('https://yourcrmname.retailcrm.ru', 'yourApiKeyHere')
|
||||
api = Retailcrm.new('https://yourcrmname.retailcrm.pro', 'yourApiKeyHere')
|
||||
|
||||
order = {
|
||||
:externalId => 171,
|
||||
@ -71,5 +71,5 @@ order_id = response[:id]
|
||||
|
||||
#### Documentation
|
||||
|
||||
* http://www.retailcrm.ru/docs/Developers/ApiVersion3
|
||||
* http://www.retailcrm.pro/docs/Developers/ApiVersion3
|
||||
* http://www.rubydoc.info/gems/retailcrm
|
||||
|
Loading…
Reference in New Issue
Block a user