All URIs are relative to http://localhost/api/v3
| Method | HTTP request | Description |
|---|---|---|
| check_vat | POST /billing/_check_vat | Vat validity |
| get_coupon | GET /coupons/{couponCode} | Coupon |
OkResponse check_vat(vat_id)
Vat validity
Vat validity check
import time
import liveagent_api
from liveagent_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = liveagent_api.BillingApi()
vat_id = 'vat_id_example' # str |
try:
# Vat validity
api_response = api_instance.check_vat(vat_id)
pprint(api_response)
except ApiException as e:
print "Exception when calling BillingApi->check_vat: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| vat_id | str |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Coupon get_coupon(coupon_code)
Coupon
Get coupon
import time
import liveagent_api
from liveagent_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = liveagent_api.BillingApi()
coupon_code = 'coupon_code_example' # str |
try:
# Coupon
api_response = api_instance.get_coupon(coupon_code)
pprint(api_response)
except ApiException as e:
print "Exception when calling BillingApi->get_coupon: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| coupon_code | str |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]