Skip to main content
DELETE
cURL
Archives a referral program: customers get no new codes for it and its codes stop working. Referrals already made keep their rewards. Archive a program before archiving a reward it gives (409 reward_in_use). Needs the Catalog permission at Write.

Authorizations

Authorization
string
header
required

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

Path Parameters

programId
string
required

The program's ID.

Required string length: 1 - 100
Pattern: ^[a-zA-Z0-9_-]+$

Response

Archived: no new codes or referrals. Referrals already made keep their rewards.

item
object
required
changed
boolean
required