diff --git a/README.md b/README.md index c736436..af32172 100755 --- a/README.md +++ b/README.md @@ -44,4 +44,25 @@ --expiry-year 2022 \ --card-holder-name "The tester" \ --email "monty@python.com" +``` + +### Order a product + +``` +(ucloud-cli) [test@ungleich ucloud-cli]$ UCLOUD_PAY_SERVER=http://127.0.0.1:5000 python ucloud.py product order \ +--name xxxxxxxxxxxxxxxxx \ +--realm xxxxxxxxxxxxxxxx \ +--seed xxxxxxxxxxxxxxxx \ +--email "monty@python.com" \ +--product-id aabc34208e514803a0ee62d697b37e8c +``` + +### Listing different orders + +``` +(ucloud-cli) [test@ungleich ucloud-cli]$ UCLOUD_PAY_SERVER=127.0.0.1:5000 python ucloud.py order list \ +--name xxxxxxxxxxxxxxx \ +--realm xxxxxxxxxxxxxxx \ +--seed xxxxxxxxxxxxxxxxx \ +--email "monty@python.com" ``` \ No newline at end of file