Skip to main content

Campaign Notification Data Schema

Basically all of these notification have same schemas, but we can differentiate it from variable action at JSON response.

The schemas are as follows:

Active Slash Price Notification

Active Slash Price is notification that show information of active slash prsice event. This notification will be trigger when slash price already started.

Below are the schemas :

FieldTypeDescription
action
String
Action Type of Active Slash Price Notification
fs_id
Integer
Fulfillment service uniqu
product_id
Integer
Product unique identifier
shop_id
Integer
Shop unique identifier
original_price
Float
Normal Price
discounted_price
Float
New Price When Slash Price Already Started
discount_percentage
Float
Discount Percentage
start_date
String
Slash Price Start Time
end_date
String
Slash Price End Time

Example Response

{
"action": "slash_price_active",
"fs_id": 14236,
"product_id": 15315483,
"shop_id": 479573,
"original_price": 142500,
"discounted_price": 128250,
"discount_percentage": 10,
"start_date": "2021-04-06 11:45:00",
"end_date": "2021-04-06 11:46:00"
}

Inactive Slash Price Notification

Inactive Slash Price is notification that show information of inactive slash price event. This notification will be trigger when slash price already ended.

Below are the schemas :

FieldTypeDescription
action
String
Action Type of Inactive Slash Price Notification
fs_id
Integer
Fulfillment service unique identifier
product_id
Integer
Product unique identifier
shop_id
Integer
Shop unique identifier
original_price
Float
Normal Price
discounted_price
Float
New Price When Slash Price Already Started
discount_percentage
Float
Discount Percentage
start_date
String
Slash Price Start Time
end_date
String
Slash Price End Time

Example Response

{
"action": "slash_price_inactive",
"fs_id": 14236,
"product_id": 15315483,
"shop_id": 479573,
"original_price": 142500,
"discounted_price": 128250,
"discount_percentage": 10,
"start_date": "2021-04-06 11:45:00",
"end_date": "2021-04-06 11:46:00"
}

Active Flash Sale Notification

Active Flash Sale is notification that show information of active flash sale event. This notification will be trigger when flash sale already started.

Below are the schemas :

FieldTypeDescription
action
String
Action Type of Active Flash Sale Notification
fs_id
Integer
Fulfillment service unique identifier
product_id
Integer
Product unique identifier
shop_id
Integer
Shop unique identifier
original_price
Float
Normal Price
discounted_price
Float
New Price When Flash Sale Already Started
discount_percentage
Float
Discount Percentage
start_date
String
Flash Sale Start Time
end_date
String
Flash Sale End Time

Example Response

{
"action": "flash_sale_active",
"fs_id": 14236,
"product_id": 15315483,
"shop_id": 479573,
"original_price": 142500,
"discounted_price": 128250,
"discount_percentage": 10,
"start_date": "2021-04-07 19:01:00",
"end_date": "2021-04-08 09:30:00"
}

Inactive Flash Sale Notification

Inactive Flash Sale is notification that show information of inactive flash sale event. This notification will be trigger when flash sale already ended.

Below are the schemas :

FieldTypeDescription
action
String
Action Type of Inactive Flash Sale Notification
fs_id
Integer
Fulfillment service unique identifier
product_id
Integer
Product unique identifier
shop_id
Integer
Shop unique identifier
original_price
Float
Normal Price
discounted_price
Float
New Price When Flash Sale Already Started
discount_percentage
Float
Discount Percentage
start_date
String
Flash Sale Start Time
end_date
String
Flash Sale End Time

Example Response

{
"action": "flash_sale_inactive",
"fs_id": 14236,
"product_id": 15315483,
"shop_id": 479573,
"original_price": 142500,
"discounted_price": 128250,
"discount_percentage": 10,
"start_date": "2021-04-07 19:01:00",
"end_date": "2021-04-08 09:30:00"
}

Have a feedback?