Resource moved to the bin, i.e. a campaign, product, SKU, or voucher.
Name |
Type |
Description |
id |
String |
Unique identifier of the trash bin entry. It should not be confused with the ID of the resource moved to the bin. |
createdAt |
OffsetDateTime |
Timestamp representing the date and time when the resource was moved to the bin. The value for this parameter is shown in the ISO 8601 format. |
deletedByUserId |
String |
Unique identifier of the user who moved the resource to the bin. It returns a user ID if the resource was moved to the bin through an action in the website. It returns a `null` if the resource was deleted through the API. |
resourceId |
String |
Unique identifier of the resource moved to the bin, i.e. an ID of a campaign, product, SKU, or voucher. |
resourceType |
ResourceTypeEnum |
Type of the resource moved to the bin. |
resourceName |
String |
Name of the resouce moved to the bin. It is the name of the campaign, product or SKU, or the voucher code. |
resourceParentId |
String |
Unique identifier of the parent resource. For a voucher, it is a campaign ID, except for standalone vouchers. For an SKU, it is the product ID. It returns `null` for campaigns and base products. |
_object |
ObjectEnum |
The type of the object represented by JSON. It is equal to the `resource_type`. |
Name |
Value |
CAMPAIGN |
"campaign" |
PRODUCT |
"product" |
SKU |
"sku" |
VOUCHER |
"voucher" |
Name |
Value |
CAMPAIGN |
"campaign" |
PRODUCT |
"product" |
SKU |
"sku" |
VOUCHER |
"voucher" |