Skip to main content
POST
/
v2
/
loyalties
/
rewards
/
{id}
/
deactivate
Deactivate a reward
curl --request POST \
  --url https://api.voucherify.io/v2/loyalties/rewards/{id}/deactivate \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
  "id": "<string>",
  "name": "<string>",
  "type": "MATERIAL",
  "status": "ACTIVE",
  "metadata": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "object": "<string>",
  "material": {
    "type": "PRODUCT",
    "product": {
      "id": "<string>"
    },
    "sku": {
      "product_id": "<string>",
      "id": "<string>"
    }
  },
  "digital": {
    "type": "DISCOUNT_COUPONS",
    "discount_coupons": {
      "campaign_id": "<string>"
    },
    "gift_vouchers": {
      "campaign_id": "<string>",
      "balance": 1
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

id
string
required

Unique reward identifier.

Response

Deactivated reward.

Reward resource representation.

id
string
required

Unique reward identifier.

name
string
required

Reward display name.

type
enum<string>
required

Reward type.

Available options:
MATERIAL,
DIGITAL
status
enum<string>
required

Current lifecycle status.

Available options:
ACTIVE,
DRAFT,
INACTIVE,
DELETED
metadata
object
required

Key-value metadata.

created_at
string<date-time>
required

ISO 8601 creation timestamp.

updated_at
string<date-time> | null
required

ISO 8601 last-update timestamp. Null if never updated.

object
string
required
Allowed value: "reward"
material
object

Material configuration. Present only when type is MATERIAL.

digital
object

Digital configuration. Present only when type is DIGITAL.

Last modified on May 11, 2026