DELETE method to delete a group of purchases
Name | Description |
---|---|
account_id required | Your account unique identifier to access API. |
user_id | Search by: External contact user ID |
product_UUID | Search by: Product UUID |
transaction_code | Search by: Transaction code |
contact_id | Search by: Pushtech Contact ID |
DELETE
/v2/account/:account_id/purchases/delete_group
Accept: application/json
Authorization: Token token={account.secret}
Content-Type: application/json
200
{
"purchases": [
{
"created_at": "2020-08-28T10:29:19.250Z",
"updated_at": "2020-08-28T10:30:28.395Z",
"id": "5f48dc7ef0fcef97a1d7074d",
"status": "purchase",
"contact_id": "5f437b5ff0fcef60b273c7b9",
"campaign_id": "5b8f9ff9f70366eff600000b",
"transaction_code": "4230923jda023230",
"price": 748.45,
"currency": "EUR",
"description": "3D Touch. 12MP photos. 4K video.One powerful phone.",
"price_EUR": 748.45,
"product_UUID": "3210938120313912312",
"check_in": "2020-09-27T22:00:00.000Z",
"check_out": "2020-10-27T23:00:00.000Z",
"hotel_id": "23"
}
]
}