Get Entitlement Skus
GET/v1/sandbox/:sandbox_id/entitlement-sku
Get Entitlement Skus by filters. All filters must be true for an Entitlement Sku to be returned. Requires any of permissions: sandbox:config:view, sandbox:config:edit
Request
Path Parameters
Sandbox ID
Query Parameters
Entitlement Sku IDs to filter by
Filter by Entitlement Sku with matching Loot IDs
Possible values: [consumable, durable, durable_single_use]
Filter by Entitlement Sku with matching Loot Entitlement types
Filter by Entitlement Sku with matching External Key Campaign IDs
Possible values: [Anon, Basic, XboxLive, PSN, NintendoNAID, NintendoSwitch, NintendoPPID, Google, GooglePlay, Apple, Epic, Steam, Amazon, Twitch, RallyHere, LegacyName]
Filter by Entitlement Sku with matching platforms
Filter by Entitlement Sku with matching SKUs
Possible values: non-empty and <= 50 characters
Filter by case insensitive name
Filter by last modified account ID
Sort results by
Sort order
Possible values: non-empty and <= 128 characters
Default value: 0
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
Possible values: >= 1 and <= 10000
Default value: 50
The maximum number of elements to be returned per call
Possible values: [*, legacy_id]
Resources to expand and fill in additional detail
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
The Entitlement Skus.
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when the resource was created
custom_data
object
Custom data associated with the resource
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
Possible values: [Anon, Basic, XboxLive, PSN, NintendoNAID, NintendoSwitch, NintendoPPID, Google, GooglePlay, Apple, Epic, Steam, Amazon, Twitch, RallyHere, LegacyName]
An enumeration.
loot_entitlement
object
Represents the mapping of an External SKU to a Loot that will be granted to the player when the player has a matching sku
Possible values: [consumable, durable, durable_single_use]
Determine how the entitlement is handled on the Platform's side.
The Loot ID granted when this SKU is received.
The Loot ID granted when this SKU is refunded by the platform. Currently only supported on PSN
The Loot ID granted when this SKU is charged back by the platform. Currently only supported on PSN
The Loot ID granted when this SKU has a charged back reversed by the platform. Currently only supported on PSN
The Loot Name. Only included when Loot is expanded.
The Legacy Loot ID granted when this SKU is received
The Refund Loot Name. Only included when Loot is expanded
The Legacy Loot ID granted when this SKU is refunded by the platform. Currently only supported on PSN
The Chargeback Loot Name. Only included when Loot is expanded
The Legacy Loot ID granted when this SKU is charged back by the platform. Currently only supported on PSN
The Chargeback Reversal Loot Name. Only included when Loot is expanded
The Legacy Loot ID granted when this SKU has a charged back reversed by the platform. Currently only supported on PSN
external_key_entitlement
object
Represents the mapping of an External SKU to a External Key that will be granted to the player when the player has a matching sku.
The External Key Campaign ID.
Possible values: > 0
The quantity of keys to grant to the player.
The External Key Campaign Name. Only included when External Key Campaign is expanded.
Possible values: non-empty and <= 256 characters
The External SKU.
Whether this SKU is a receipt SKU.
ID of the Sandbox
The Entitlement Sku ID.
page_meta
object
required
Possible values: non-empty and <= 128 characters
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
Possible values: >= 1 and <= 10000
Default value: 50
The maximum number of elements to be returned per call
Default value: 0
The total number of entities.
{
"data": [
{
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z",
"created_timestamp": "2024-07-29T15:51:28.071Z",
"custom_data": {},
"name": "string",
"description": "string",
"platform": "Anon",
"loot_entitlement": {
"type": "consumable",
"loot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"refund_loot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"chargeback_loot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"chargeback_reversal_loot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"loot_name": "string",
"legacy_loot_id": 0,
"refund_loot_name": "string",
"refund_legacy_loot_id": 0,
"chargeback_loot_name": "string",
"chargeback_legacy_loot_id": 0,
"chargeback_reversal_loot_name": "string",
"chargeback_reversal_legacy_loot_id": 0
},
"external_key_entitlement": {
"external_key_campaign_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 0,
"external_key_campaign_name": "string"
},
"sku": "string",
"is_receipt": false,
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entitlement_sku_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"page_meta": {
"cursor": "string",
"page_size": 50,
"total": 0
}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}