$orderPage->apiUrl()
Returns the url to the api endpoint
$orderPage->apiUrl(bool $relative = false): string
Parameters
| Name | Type | Default |
|---|---|---|
$relative |
bool |
false |
Return type
string
Parent class
Wagnerwagner\Merx\OrderPage inherited from Kirby\Cms\Page