Orders
Cancel Order
Changed onIf Order is in Reviewing Status, then this will cancel the order and refund the credits for the order back to your account. If the order can be successfully canceled, the status will be updated to cancelled.
put/orders/{orderId}/cancel
Request
- Base URL: https://api.thanks.io/api/v2
- URL: https://api.thanks.io/api/v2/orders/{orderId}/cancel
- Auth: HTTP bearer
Path parameters
orderIdstring required
Response
OK
Example response
{
"order": {
"id": 42708,
"message": "Hey %FIRST_NAME%!,\n\nTHANK YOU for allowing us the opportunity to HELP you with your plan!",
"size": "4x6",
"type": "postcard",
"display_type": "Postcard-4x6",
"style": 1,
"front_image": "https://cdn.thanks.io/letter-backgrounds/bg0.png",
"authorization_total": 73,
"grand_total": 73,
"order_total": 73,
"total_estimated_recipients": 1,
"total_recipients": 1,
"recipient_count": 1,
"status": "Fulfilled",
"method": "Campaign",
"metadata": {
"crm_deal_id": "D-1042"
},
"created_at": "2025-09-08T16:05:12.000000Z",
"updated_at": "2025-09-08T16:06:08.000000Z"
}
}Changes
- warning
added the new
postcard6x9enum value to the/response property for the response status
- warning
- info
added the optional property
/to the response with the status
- info