> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://ordergroove.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://ordergroove.ferndocs.com/_mcp/server.

# Void Entitlements

POST https://restapi.ordergroove.com/entitlements/void/
Content-Type: application/json



Reference: https://ordergroove.ferndocs.com/reference/entitlements-service-api/entitlements/post-entitlements-void

## Request

### Body (application/json)

This endpoint expects an object.

- `entitlement_public_ids` (list of string, required) — List of entitlement public_ids to void

## Response

### 200

- `results` (EntitlementsVoidPostResponsesContentApplicationJsonSchemaResults, required) — \{ "4e9d934275734a859a7f8d98dc52c8af": \{ "entitlement\_transaction": \{ "transaction\_type": "entitlement\_voided", "public\_id": "b95671a531974f6a98d7156e72284c34", "entitlement\_public\_id": "4e9d934275734a859a7f8d98dc52c8af", "merchant\_user\_id": "23799452926316", "resource\_public\_id": "3fa56741671444bdbcdf7b1554f67bee", "merchant\_public\_id": "80c9a167fb434fa0abe215c7f19a86cc", "transaction\_initiation\_time": "2026-04-07T18:36:24.908319269Z", "transaction\_execution\_time": "2026-04-07T18:36:24.908319269Z", "source\_action": "api-call", "source\_object": "user", "source\_object\_id": "dd0756ea-f502-4292-931e-b48f26677ef9\_2026-04-07T18:36:24.908319269Z", "access\_type": "time\_based", "grace\_period": 0, "expiration": "2026-04-07T18:36:24.908319269Z", "grace\_period\_expiration": "2026-04-07T18:36:24.908319269Z" }, "entitlement": \{ "merchant": "80c9a167fb434fa0abe215c7f19a86cc", "public\_id": "4e9d934275734a859a7f8d98dc52c8af", "merchant\_user\_id": "23799452926316", "initial\_activation\_date": null, "latest\_activation\_date": null, "grace\_period": 0, "live": false, "access\_type": "time\_based", "expiration": "2026-04-07T18:36:24.908319269Z", "created": "2026-03-16T17:00:13.059Z", "last\_updated": "2026-04-07T18:36:24.912728516Z", "resource": \{ "public\_id": "3fa56741671444bdbcdf7b1554f67bee", "merchant": "80c9a167fb434fa0abe215c7f19a86cc", "name": "Advanced Phonics for Professionals - With Tutoring", "external\_resource\_id": "53204456309100", "description": null, "image\_url": null, "created": "2026-02-26T15:54:29.306Z", "last\_updated": "2026-02-26T15:54:29.306Z" }, "grantees": \[ \{ "external\_id": "qveq35", "name": "vwW4w4fv", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "F2VS", "name": "F4Q34", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "BES576FYE4DS5ET", "name": "AE5 YBEYA5V", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "W4T6C", "name": "A W AGW4", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "EM. DTSCRTRGXTD", "name": "awww eh5q", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "we5yyvw5", "name": "arg. ag", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "yvac3y", "name": "we. WT4GW4", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "QT4VQ3CRAE", "name": "SEH SRJMDSRZRGE", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "Wr gcax4wEab", "name": "ag wGaawg", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" } ] } }, "5289bf2ad76e4fde881ad1a89a55b5dc": \{ "entitlement\_transaction": \{ "transaction\_type": "entitlement\_voided", "public\_id": "452c6a1b3f3d4c178257ae2449709157", "entitlement\_public\_id": "5289bf2ad76e4fde881ad1a89a55b5dc", "merchant\_user\_id": "23799452926316", "resource\_public\_id": "04f5d0ab2dca4111ba785abc714e9010", "merchant\_public\_id": "80c9a167fb434fa0abe215c7f19a86cc", "transaction\_initiation\_time": "2026-04-07T18:36:24.908266844Z", "transaction\_execution\_time": "2026-04-07T18:36:24.908266844Z", "source\_action": "api-call", "source\_object": "user", "source\_object\_id": "dd0756ea-f502-4292-931e-b48f26677ef9\_2026-04-07T18:36:24.908266844Z", "access\_type": "time\_based", "grace\_period": 0, "expiration": "2026-04-07T18:36:24.908266844Z", "grace\_period\_expiration": "2026-04-07T18:36:24.908266844Z" }, "entitlement": \{ "merchant": "80c9a167fb434fa0abe215c7f19a86cc", "public\_id": "5289bf2ad76e4fde881ad1a89a55b5dc", "merchant\_user\_id": "23799452926316", "initial\_activation\_date": null, "latest\_activation\_date": null, "grace\_period": 0, "live": false, "access\_type": "time\_based", "expiration": "2026-04-07T18:36:24.908266844Z", "created": "2026-04-07T16:45:43.119Z", "last\_updated": "2026-04-07T18:36:24.917619184Z", "resource": \{ "public\_id": "04f5d0ab2dca4111ba785abc714e9010", "merchant": "80c9a167fb434fa0abe215c7f19a86cc", "name": "taco", "external\_resource\_id": "taco", "description": null, "image\_url": null, "created": "2026-02-25T17:17:27.623Z", "last\_updated": "2026-02-25T17:17:27.623Z" }, "grantees": null } } }

## Types

### EntitlementsVoidPostResponsesContentApplicationJsonSchemaResults

\{ "4e9d934275734a859a7f8d98dc52c8af": \{ "entitlement\_transaction": \{ "transaction\_type": "entitlement\_voided", "public\_id": "b95671a531974f6a98d7156e72284c34", "entitlement\_public\_id": "4e9d934275734a859a7f8d98dc52c8af", "merchant\_user\_id": "23799452926316", "resource\_public\_id": "3fa56741671444bdbcdf7b1554f67bee", "merchant\_public\_id": "80c9a167fb434fa0abe215c7f19a86cc", "transaction\_initiation\_time": "2026-04-07T18:36:24.908319269Z", "transaction\_execution\_time": "2026-04-07T18:36:24.908319269Z", "source\_action": "api-call", "source\_object": "user", "source\_object\_id": "dd0756ea-f502-4292-931e-b48f26677ef9\_2026-04-07T18:36:24.908319269Z", "access\_type": "time\_based", "grace\_period": 0, "expiration": "2026-04-07T18:36:24.908319269Z", "grace\_period\_expiration": "2026-04-07T18:36:24.908319269Z" }, "entitlement": \{ "merchant": "80c9a167fb434fa0abe215c7f19a86cc", "public\_id": "4e9d934275734a859a7f8d98dc52c8af", "merchant\_user\_id": "23799452926316", "initial\_activation\_date": null, "latest\_activation\_date": null, "grace\_period": 0, "live": false, "access\_type": "time\_based", "expiration": "2026-04-07T18:36:24.908319269Z", "created": "2026-03-16T17:00:13.059Z", "last\_updated": "2026-04-07T18:36:24.912728516Z", "resource": \{ "public\_id": "3fa56741671444bdbcdf7b1554f67bee", "merchant": "80c9a167fb434fa0abe215c7f19a86cc", "name": "Advanced Phonics for Professionals - With Tutoring", "external\_resource\_id": "53204456309100", "description": null, "image\_url": null, "created": "2026-02-26T15:54:29.306Z", "last\_updated": "2026-02-26T15:54:29.306Z" }, "grantees": \[ \{ "external\_id": "qveq35", "name": "vwW4w4fv", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "F2VS", "name": "F4Q34", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "BES576FYE4DS5ET", "name": "AE5 YBEYA5V", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "W4T6C", "name": "A W AGW4", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "EM. DTSCRTRGXTD", "name": "awww eh5q", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "we5yyvw5", "name": "arg. ag", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "yvac3y", "name": "we. WT4GW4", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "QT4VQ3CRAE", "name": "SEH SRJMDSRZRGE", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" }, \{ "external\_id": "Wr gcax4wEab", "name": "ag wGaawg", "created": "2026-03-16T17:00:12.907Z", "updated": "2026-03-16T17:00:12.907Z" } ] } }, "5289bf2ad76e4fde881ad1a89a55b5dc": \{ "entitlement\_transaction": \{ "transaction\_type": "entitlement\_voided", "public\_id": "452c6a1b3f3d4c178257ae2449709157", "entitlement\_public\_id": "5289bf2ad76e4fde881ad1a89a55b5dc", "merchant\_user\_id": "23799452926316", "resource\_public\_id": "04f5d0ab2dca4111ba785abc714e9010", "merchant\_public\_id": "80c9a167fb434fa0abe215c7f19a86cc", "transaction\_initiation\_time": "2026-04-07T18:36:24.908266844Z", "transaction\_execution\_time": "2026-04-07T18:36:24.908266844Z", "source\_action": "api-call", "source\_object": "user", "source\_object\_id": "dd0756ea-f502-4292-931e-b48f26677ef9\_2026-04-07T18:36:24.908266844Z", "access\_type": "time\_based", "grace\_period": 0, "expiration": "2026-04-07T18:36:24.908266844Z", "grace\_period\_expiration": "2026-04-07T18:36:24.908266844Z" }, "entitlement": \{ "merchant": "80c9a167fb434fa0abe215c7f19a86cc", "public\_id": "5289bf2ad76e4fde881ad1a89a55b5dc", "merchant\_user\_id": "23799452926316", "initial\_activation\_date": null, "latest\_activation\_date": null, "grace\_period": 0, "live": false, "access\_type": "time\_based", "expiration": "2026-04-07T18:36:24.908266844Z", "created": "2026-04-07T16:45:43.119Z", "last\_updated": "2026-04-07T18:36:24.917619184Z", "resource": \{ "public\_id": "04f5d0ab2dca4111ba785abc714e9010", "merchant": "80c9a167fb434fa0abe215c7f19a86cc", "name": "taco", "external\_resource\_id": "taco", "description": null, "image\_url": null, "created": "2026-02-25T17:17:27.623Z", "last\_updated": "2026-02-25T17:17:27.623Z" }, "grantees": null } } }

## Examples

### OK

**Response**

```json
{
  "results": {
    "4e9d934275734a859a7f8d98dc52c8af": {
      "entitlement_transaction": {
        "transaction_type": "entitlement_voided",
        "public_id": "b95671a531974f6a98d7156e72284c34",
        "entitlement_public_id": "4e9d934275734a859a7f8d98dc52c8af",
        "merchant_user_id": "23799452926316",
        "resource_public_id": "3fa56741671444bdbcdf7b1554f67bee",
        "merchant_public_id": "80c9a167fb434fa0abe215c7f19a86cc",
        "transaction_initiation_time": "2026-04-07T18:36:24.908319269Z",
        "transaction_execution_time": "2026-04-07T18:36:24.908319269Z",
        "source_action": "api-call",
        "source_object": "user",
        "source_object_id": "dd0756ea-f502-4292-931e-b48f26677ef9_2026-04-07T18:36:24.908319269Z",
        "access_type": "time_based",
        "grace_period": 0,
        "expiration": "2026-04-07T18:36:24.908319269Z",
        "grace_period_expiration": "2026-04-07T18:36:24.908319269Z"
      },
      "entitlement": {
        "merchant": "80c9a167fb434fa0abe215c7f19a86cc",
        "public_id": "4e9d934275734a859a7f8d98dc52c8af",
        "merchant_user_id": "23799452926316",
        "grace_period": 0,
        "live": false,
        "access_type": "time_based",
        "expiration": "2026-04-07T18:36:24.908319269Z",
        "created": "2026-03-16T17:00:13.059Z",
        "last_updated": "2026-04-07T18:36:24.912728516Z",
        "resource": {
          "public_id": "3fa56741671444bdbcdf7b1554f67bee",
          "merchant": "80c9a167fb434fa0abe215c7f19a86cc",
          "name": "Advanced Phonics for Professionals - With Tutoring",
          "external_resource_id": "53204456309100",
          "created": "2026-02-26T15:54:29.306Z",
          "last_updated": "2026-02-26T15:54:29.306Z"
        },
        "grantees": [
          {
            "external_id": "qveq35",
            "name": "vwW4w4fv",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "F2VS",
            "name": "F4Q34",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "BES576FYE4DS5ET",
            "name": "AE5 YBEYA5V",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "W4T6C",
            "name": "A W AGW4",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "EM. DTSCRTRGXTD",
            "name": "awww eh5q",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "we5yyvw5",
            "name": "arg. ag",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "yvac3y",
            "name": "we. WT4GW4",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "QT4VQ3CRAE",
            "name": "SEH SRJMDSRZRGE",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "Wr gcax4wEab",
            "name": "ag wGaawg",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          }
        ]
      }
    },
    "5289bf2ad76e4fde881ad1a89a55b5dc": {
      "entitlement_transaction": {
        "transaction_type": "entitlement_voided",
        "public_id": "452c6a1b3f3d4c178257ae2449709157",
        "entitlement_public_id": "5289bf2ad76e4fde881ad1a89a55b5dc",
        "merchant_user_id": "23799452926316",
        "resource_public_id": "04f5d0ab2dca4111ba785abc714e9010",
        "merchant_public_id": "80c9a167fb434fa0abe215c7f19a86cc",
        "transaction_initiation_time": "2026-04-07T18:36:24.908266844Z",
        "transaction_execution_time": "2026-04-07T18:36:24.908266844Z",
        "source_action": "api-call",
        "source_object": "user",
        "source_object_id": "dd0756ea-f502-4292-931e-b48f26677ef9_2026-04-07T18:36:24.908266844Z",
        "access_type": "time_based",
        "grace_period": 0,
        "expiration": "2026-04-07T18:36:24.908266844Z",
        "grace_period_expiration": "2026-04-07T18:36:24.908266844Z"
      },
      "entitlement": {
        "merchant": "80c9a167fb434fa0abe215c7f19a86cc",
        "public_id": "5289bf2ad76e4fde881ad1a89a55b5dc",
        "merchant_user_id": "23799452926316",
        "grace_period": 0,
        "live": false,
        "access_type": "time_based",
        "expiration": "2026-04-07T18:36:24.908266844Z",
        "created": "2026-04-07T16:45:43.119Z",
        "last_updated": "2026-04-07T18:36:24.917619184Z",
        "resource": {
          "public_id": "04f5d0ab2dca4111ba785abc714e9010",
          "merchant": "80c9a167fb434fa0abe215c7f19a86cc",
          "name": "taco",
          "external_resource_id": "taco",
          "created": "2026-02-25T17:17:27.623Z",
          "last_updated": "2026-02-25T17:17:27.623Z"
        }
      }
    }
  }
}
```

**SDK Code**

```python OK
import requests

url = "https://restapi.ordergroove.com/entitlements/void/"

response = requests.post(url)

print(response.json())
```

```javascript OK
const url = 'https://restapi.ordergroove.com/entitlements/void/';
const options = {method: 'POST'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go OK
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://restapi.ordergroove.com/entitlements/void/"

	req, _ := http.NewRequest("POST", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby OK
require 'uri'
require 'net/http'

url = URI("https://restapi.ordergroove.com/entitlements/void/")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
```

```java OK
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://restapi.ordergroove.com/entitlements/void/")
  .asString();
```

```php OK
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://restapi.ordergroove.com/entitlements/void/');

echo $response->getBody();
```

```csharp OK
using RestSharp;

var client = new RestClient("https://restapi.ordergroove.com/entitlements/void/");
var request = new RestRequest(Method.POST);
IRestResponse response = client.Execute(request);
```

```swift OK
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://restapi.ordergroove.com/entitlements/void/")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### New Example

**Request**

```json
{
  "entitlement_public_ids": [
    "4e9d934275734a859a7f8d98dc52c8af",
    "5289bf2ad76e4fde881ad1a89a55b5dc"
  ]
}
```

**Response**

```json
{
  "results": {
    "4e9d934275734a859a7f8d98dc52c8af": {
      "entitlement_transaction": {
        "transaction_type": "entitlement_voided",
        "public_id": "b95671a531974f6a98d7156e72284c34",
        "entitlement_public_id": "4e9d934275734a859a7f8d98dc52c8af",
        "merchant_user_id": "23799452926316",
        "resource_public_id": "3fa56741671444bdbcdf7b1554f67bee",
        "merchant_public_id": "80c9a167fb434fa0abe215c7f19a86cc",
        "transaction_initiation_time": "2026-04-07T18:36:24.908319269Z",
        "transaction_execution_time": "2026-04-07T18:36:24.908319269Z",
        "source_action": "api-call",
        "source_object": "user",
        "source_object_id": "dd0756ea-f502-4292-931e-b48f26677ef9_2026-04-07T18:36:24.908319269Z",
        "access_type": "time_based",
        "grace_period": 0,
        "expiration": "2026-04-07T18:36:24.908319269Z",
        "grace_period_expiration": "2026-04-07T18:36:24.908319269Z"
      },
      "entitlement": {
        "merchant": "80c9a167fb434fa0abe215c7f19a86cc",
        "public_id": "4e9d934275734a859a7f8d98dc52c8af",
        "merchant_user_id": "23799452926316",
        "grace_period": 0,
        "live": false,
        "access_type": "time_based",
        "expiration": "2026-04-07T18:36:24.908319269Z",
        "created": "2026-03-16T17:00:13.059Z",
        "last_updated": "2026-04-07T18:36:24.912728516Z",
        "resource": {
          "public_id": "3fa56741671444bdbcdf7b1554f67bee",
          "merchant": "80c9a167fb434fa0abe215c7f19a86cc",
          "name": "Advanced Phonics for Professionals - With Tutoring",
          "external_resource_id": "53204456309100",
          "created": "2026-02-26T15:54:29.306Z",
          "last_updated": "2026-02-26T15:54:29.306Z"
        },
        "grantees": [
          {
            "external_id": "qveq35",
            "name": "vwW4w4fv",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "F2VS",
            "name": "F4Q34",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "BES576FYE4DS5ET",
            "name": "AE5 YBEYA5V",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "W4T6C",
            "name": "A W AGW4",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "EM. DTSCRTRGXTD",
            "name": "awww eh5q",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "we5yyvw5",
            "name": "arg. ag",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "yvac3y",
            "name": "we. WT4GW4",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "QT4VQ3CRAE",
            "name": "SEH SRJMDSRZRGE",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          },
          {
            "external_id": "Wr gcax4wEab",
            "name": "ag wGaawg",
            "created": "2026-03-16T17:00:12.907Z",
            "updated": "2026-03-16T17:00:12.907Z"
          }
        ]
      }
    },
    "5289bf2ad76e4fde881ad1a89a55b5dc": {
      "entitlement_transaction": {
        "transaction_type": "entitlement_voided",
        "public_id": "452c6a1b3f3d4c178257ae2449709157",
        "entitlement_public_id": "5289bf2ad76e4fde881ad1a89a55b5dc",
        "merchant_user_id": "23799452926316",
        "resource_public_id": "04f5d0ab2dca4111ba785abc714e9010",
        "merchant_public_id": "80c9a167fb434fa0abe215c7f19a86cc",
        "transaction_initiation_time": "2026-04-07T18:36:24.908266844Z",
        "transaction_execution_time": "2026-04-07T18:36:24.908266844Z",
        "source_action": "api-call",
        "source_object": "user",
        "source_object_id": "dd0756ea-f502-4292-931e-b48f26677ef9_2026-04-07T18:36:24.908266844Z",
        "access_type": "time_based",
        "grace_period": 0,
        "expiration": "2026-04-07T18:36:24.908266844Z",
        "grace_period_expiration": "2026-04-07T18:36:24.908266844Z"
      },
      "entitlement": {
        "merchant": "80c9a167fb434fa0abe215c7f19a86cc",
        "public_id": "5289bf2ad76e4fde881ad1a89a55b5dc",
        "merchant_user_id": "23799452926316",
        "grace_period": 0,
        "live": false,
        "access_type": "time_based",
        "expiration": "2026-04-07T18:36:24.908266844Z",
        "created": "2026-04-07T16:45:43.119Z",
        "last_updated": "2026-04-07T18:36:24.917619184Z",
        "resource": {
          "public_id": "04f5d0ab2dca4111ba785abc714e9010",
          "merchant": "80c9a167fb434fa0abe215c7f19a86cc",
          "name": "taco",
          "external_resource_id": "taco",
          "created": "2026-02-25T17:17:27.623Z",
          "last_updated": "2026-02-25T17:17:27.623Z"
        }
      }
    }
  }
}
```

**SDK Code**

```python New Example
import requests

url = "https://restapi.ordergroove.com/entitlements/void/"

payload = { "entitlement_public_ids": ["4e9d934275734a859a7f8d98dc52c8af", "5289bf2ad76e4fde881ad1a89a55b5dc"] }
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript New Example
const url = 'https://restapi.ordergroove.com/entitlements/void/';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"entitlement_public_ids":["4e9d934275734a859a7f8d98dc52c8af","5289bf2ad76e4fde881ad1a89a55b5dc"]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go New Example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://restapi.ordergroove.com/entitlements/void/"

	payload := strings.NewReader("{\n  \"entitlement_public_ids\": [\n    \"4e9d934275734a859a7f8d98dc52c8af\",\n    \"5289bf2ad76e4fde881ad1a89a55b5dc\"\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby New Example
require 'uri'
require 'net/http'

url = URI("https://restapi.ordergroove.com/entitlements/void/")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n  \"entitlement_public_ids\": [\n    \"4e9d934275734a859a7f8d98dc52c8af\",\n    \"5289bf2ad76e4fde881ad1a89a55b5dc\"\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java New Example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://restapi.ordergroove.com/entitlements/void/")
  .header("Content-Type", "application/json")
  .body("{\n  \"entitlement_public_ids\": [\n    \"4e9d934275734a859a7f8d98dc52c8af\",\n    \"5289bf2ad76e4fde881ad1a89a55b5dc\"\n  ]\n}")
  .asString();
```

```php New Example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://restapi.ordergroove.com/entitlements/void/', [
  'body' => '{
  "entitlement_public_ids": [
    "4e9d934275734a859a7f8d98dc52c8af",
    "5289bf2ad76e4fde881ad1a89a55b5dc"
  ]
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp New Example
using RestSharp;

var client = new RestClient("https://restapi.ordergroove.com/entitlements/void/");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"entitlement_public_ids\": [\n    \"4e9d934275734a859a7f8d98dc52c8af\",\n    \"5289bf2ad76e4fde881ad1a89a55b5dc\"\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift New Example
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = ["entitlement_public_ids": ["4e9d934275734a859a7f8d98dc52c8af", "5289bf2ad76e4fde881ad1a89a55b5dc"]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://restapi.ordergroove.com/entitlements/void/")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```