All URIs are relative to https://partner-api.grab.com/grabfood-sandbox, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
notifyMembershipWebview() | POST /partner/v1/membership/notify | Notify Membership |
notifyMembershipWebview($authorization, $content_type, $notify_membership_webview_request)
Notify Membership
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Grab\GrabfoodApiSdk\Api\NotifyMembershipWebviewApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$authorization = Bearer <ACCESS_TOKEN_HERE>; // string | Specify the generated authorization token of the bearer type.
$content_type = application/json; // string | The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
$notify_membership_webview_request = new \Grab\GrabfoodApiSdk\Model\NotifyMembershipWebviewRequest(); // \Grab\GrabfoodApiSdk\Model\NotifyMembershipWebviewRequest
try {
$apiInstance->notifyMembershipWebview($authorization, $content_type, $notify_membership_webview_request);
} catch (Exception $e) {
echo 'Exception when calling NotifyMembershipWebviewApi->notifyMembershipWebview: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
authorization | string | Specify the generated authorization token of the bearer type. | |
content_type | string | The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats. | |
notify_membership_webview_request | \Grab\GrabfoodApiSdk\Model\NotifyMembershipWebviewRequest |
void (empty response body)
No authorization required
- Content-Type:
application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]