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

# Copy of 

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



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

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: ordergroove-entitlements-service-api
  version: 1.0.0
paths:
  /entitlements/void/:
    post:
      operationId: post-entitlements-void
      summary: 'Copy of '
      description: ''
      tags:
        - entitlements
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Entitlements_post_entitlements-void_Response_200
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                entitlement_public_ids:
                  type: array
                  items:
                    type: string
                  description: List of entitlement public_ids to void
              required:
                - entitlement_public_ids
servers:
  - url: https://restapi.ordergroove.com
    description: https://restapi.ordergroove.com
components:
  schemas:
    EntitlementsVoidPostResponsesContentApplicationJsonSchemaResults:
      type: object
      properties: {}
      description: |-
        {
                "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
                    }
                }
            }
      title: EntitlementsVoidPostResponsesContentApplicationJsonSchemaResults
    Entitlements_post_entitlements-void_Response_200:
      type: object
      properties:
        results:
          $ref: >-
            #/components/schemas/EntitlementsVoidPostResponsesContentApplicationJsonSchemaResults
          description: |-
            {
                    "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
                        }
                    }
                }
      required:
        - results
      title: Entitlements_post_entitlements-void_Response_200

```

## Examples

### OK



**Request**

```json
undefined
```

**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",
        "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
      }
    }
  }
}
```

**SDK Code**

```python OK
import requests

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

headers = {"Content-Type": "application/json"}

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

print(response.json())
```

```javascript OK
const url = 'https://restapi.ordergroove.com/entitlements/void/';
const options = {method: 'POST', headers: {'Content-Type': 'application/json'}, body: undefined};

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)

	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 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)
request["Content-Type"] = 'application/json'

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/")
  .header("Content-Type", "application/json")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://restapi.ordergroove.com/entitlements/void/', [
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp OK
using RestSharp;

var client = new RestClient("https://restapi.ordergroove.com/entitlements/void/");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift OK
import Foundation

let headers = ["Content-Type": "application/json"]

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

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",
        "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
      }
    }
  }
}
```

**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()
```