Skip to main content
PUT
Invalidate Gift Card

Authorizations

Authorization
string
header
required

Bearer token authentication using your thanks.io API key

Path Parameters

orderItemId
integer
required

ID of the order item whose gift card you want to invalidate. This is the id returned by List Order Items and carried by order item webhook events.

Response

The gift card was invalidated.

data
object

A single mail piece within an order — one recipient's postcard, letter, notecard, magnacard or gift card.