---
title: "Trigger Portal Deduction Backup Sync"
method: POST
path: "/v2/ap-portals/{ap_portal_id}/deduction-backups/sync"
tags: ["ap-portals"]
---

# Trigger Portal Deduction Backup Sync

`POST /v2/ap-portals/{ap_portal_id}/deduction-backups/sync`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/ap-portals/{ap_portal_id}/deduction-backups/sync`
- Auth: HTTP bearer

Run deduction backups now

Enqueue an on-demand deduction-backup download for one customer portal and return
immediately. Each portal accepts one request per 15 minutes (429 otherwise). A paused
portal can still be run. Refuses (409) a disabled portal, a provider without deduction
backups, or a login that needs a new password.

## Path parameters

- `ap_portal_id` string, required

## Request body

- TriggerDeductionBackupSyncRequest: Options for an on-demand deduction-backup download.
  - `start_date` string, date, nullable: Earliest date to download from. Omit to use the provider's default window.

## Response `202`

Successful Response

- APPortalItem: The ``ap_portal`` config tying one partner to one login.
  - `id` string, required
  - `buyer_id` string, nullable, required
  - `partner_id` string, required
  - `account_id` string, nullable, required
  - `account_key` string, nullable, required
  - `provider` 'kehe' | 'taulia' | 'coupa' | 'ariba' | 'meijer' | 'kroger' | 'walgreens' | 'albertsons' | 'target' | 'heb' | 'heb_sidm' | 'c_and_s' | 'walmart' | 'walmart_highradius' | 'cvs' | 'cvs_sap' | 'cvs_image_silo' | 'kroger_supplier_connect' | 'kroger_claimtrax' | 'kroger_verigon' | 'servicetitan' | 'sandbox' | 'generic', required: Supported AP Portal providers.
  - `name` string, nullable, required
  - `customer_name` string, nullable, required
  - `customer_identifier` string, nullable, required
  - `is_enabled` boolean, required
  - `is_invoice_submit_enabled` boolean, required
  - `status` 'active' | 'paused', required: Status of an AP portal.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stuut/apis/stuut-api.md) - [All operations](https://skmtc.dev/stuut/apis/stuut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stuut/apis/stuut-api/revisions/ff0ad16a55ff?raw)
