Skip to content

Commit a498ddc

Browse files
Merge pull request #14 from Plasma-Platform/feature/QUASAR-3835/customer-portal
Feature/quasar 3835/customer portal
2 parents 0b2fcf3 + 97d22a9 commit a498ddc

File tree

5 files changed

+194
-105
lines changed

5 files changed

+194
-105
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
vendor
3+
composer.lock

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,16 @@ $order->setPaymentInfo ($paymentInfo);
162162
$result = $api->createOrder ($order);
163163

164164

165+
```
166+
167+
Get customer management portal link
168+
169+
```php
170+
// Create API instance
171+
$api = new \API2Client\Api ('api2.templatemonster.com', 'myUserName', 'myUserToken');
172+
$subscriptionId = 'abc12345678';
173+
$link = $api->getCustomerManagementPortalLink($subscriptionId);
174+
165175
```
166176

167177
Error Handling
@@ -184,4 +194,4 @@ catch (\API2Client\Client\APIException $e)
184194
$e->getMessage ();
185195
}
186196

187-
```
197+
```

0 commit comments

Comments
 (0)