---
title: "Import vouchers from the site's voucher processor"
method: GET
path: "/shop/vouchers/import"
tags: ["Vouchers"]
---

# Import vouchers from the site's voucher processor

`GET /shop/vouchers/import`

Kicks off an asynchronous import that pulls the latest catalogue of
vouchers from the site's configured voucher processor (e.g.
GiftPro) and reconciles them with Trybe's local `Voucher` records.
Vouchers present in the source system but missing in Trybe are
created; existing records are updated to reflect any changes to
name, price, currency, or redemption rules.

The endpoint returns a `QueuedJob` immediately — poll the queued
job's status to track completion. The import does not block the
request, so newly synced vouchers may not appear in `listVouchers`
for a few seconds after the job completes.

Requires the `SETTINGS_MANAGE` permission on the target site.

## Query parameters

- `site_id` string, required

## Response `200`

The job was successfully queued

- object
  - `data` QueuedJob, required
    - `id` string, uuid, required — The ID of the queued job.
    - `status` 'pending' | 'complete' | 'failed', required — The status of the queued job.
    - `output` object, required — The output of the queued job.
    - `created_at` string, date-time, required — The date and time the queued job was created.
    - `updated_at` string, date-time, required — The date and time the queued job was last updated.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
