Skip to main content

Event type

Right now Bik supports around 20 common ecommerce events. Some of them are listed below, to get a complete list of events please contact your GSM

Send Event For AbandonedCartCreated

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test56@gmail.com",
"eventName": "abandonedCartCreated",
"eventProperties": {
"cartValue": 500,
"cartId": "CART_ID",
"totalNumberOfItems": 10,
"currency": "INR",
"customerId": "CUSTOMER_ID",
"url": "cart_url"
}
}

Event properties for AbandonedCartCreated

NameTypeRequired/OptionalDescription
cartValuenumberRequiredTotal cart value
cartIdstringRequiredCart ID
totalNumberOfItemsnumberRequiredTotal number of items
currencystringOptionalCurrency of the country
customerIdstringRequiredCustomer ID
urlstringOptionalCart url
broadcastNamestringOptionalName of the broadcast
productNamesstring[]OptionalName of the event

Send Event For Customer Created

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test56@gmail.com",
"eventName": "customerCreated",
"eventProperties": {
"customerSource": "Online store",
}
}

Event properties for Customer Created

NameTypeRequired/OptionalDescription
customerSourcestringOptionalCustomer source
customerSourceDetailsstringOptionalCustomer source details

Send Event For Ordered

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test55@gmail.com",
"eventName": "ordered",
"eventProperties": {
"customerId": "CUST_TEST_123",
"orderValue": "2000",
"orderId": "test-order-id",
"orderName": "test-order-name",
"currency": "INR",
"type": "COD",
"totalNumberOfItems": 50
}
}

Event properties for Ordered

NameTypeRequired/OptionalDescription
orderDateDateRequiredOrder creation date
shippingAddressstringRequiredOrder shipping address
billingAddressstringRequiredOrder billing address
tagsstring[]OptionalOrder tags
orderValuenumberRequiredTotal price of the order
orderIdstringRequiredOrder ID
orderNamestringRequiredOrder name
totalNumberOfItemsnumberRequiredTotal number of items
currencystringOptionalCurrency of the country
customerIdstringOptionalCustomer ID
typestringOptionalOrder type
eventSourcestringOptionalEvent source
sourceIdstringOptionalSource ID
utmSourcestringOptionalUTM source
utmMediumstringOptionalUTM medium
utmCampaignstringOptionalUTM campaign
linkIdstringOptionalOrder link ID
broadcastNamestringOptionalBroadcast name
broadcastIdstringOptionalBroadcast ID

Send Event For Order Delivered

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test56@gmail.com",
"eventName": "orderDelivered",
"eventProperties": {
"id": "test-order-id1234",
"orderName": "Test products"
}
}

Event properties for Order Delivered

NameTypeRequired/OptionalDescription
idstringRequiredOrder ID
orderNamestringRequiredOrder name

Send Event For Line Item Shipping Update

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test56@gmail.com",
"eventName": "lineItemShippingUpdate",
"eventProperties": {
"orderId": "test-order-id1234",
"orderName": "my-order",
"productId": "test-product-id1234",
"productName": "my-product",
"shippingStatus": "SHIPPED"
}
}

Event properties for Line Item Shipping Update

NameTypeRequired/OptionalDescription
orderIdstringRequiredOrder ID
orderNamestringRequiredOrder name
productIdstringRequiredProduct ID
productNamestringRequiredProduct name
variantIdstringOptionalVariant ID
variantNamestringOptionalVariant name
shippingStatusstringOptionalShipping status
collectionNamesstring[]OptionalCollection names
collectionIdsstring[]OptionalCollection ids

Send Event For AddToCart

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test56@gmail.com",
"eventName": "addToCart",
"eventProperties": {
"productId": "PRODUCT_ID",
"productName": "my-product",
"variantId": "VARIANT_ID",
"variantName": "VARIANT_NAME",
"price": 500
}
}

Event properties for AddToCart

NameTypeRequired/OptionalDescription
productIdstringRequiredProduct ID
productNamestringRequiredProduct name
variantIdstringRequiredVariant ID
variantNamestringRequiredVariant name
pricestringRequiredTotal price
collectionNamesstring[]OptionalCollection names
collectionIdsstring[]OptionalCollection ids
utmSourcestringOptionalUTM source
utmMediumstringOptionalUTM medium
utmCampaignstringOptionalUTM campaign
linkIdstringOptionalOrder link ID
broadcastNamestringOptionalBroadcast name
broadcastIdstringOptionalBroadcast ID

Send Event For CatalogViewed

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test@gmail.com",
"eventName": "catalogViewed",
"eventProperties": {
"catalogId": "CATALOG_ID",
"catalogName": "CATALOG_NAME"
}
}

Event properties for CatalogViewed

NameTypeRequired/OptionalDescription
catalogIdstringRequiredCatalog ID
catalogNamestringRequiredCatalog name

Send Event For KeywordSearched

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test@gmail.com",
"eventName": "keywordSearched",
"eventProperties": {
"searchTerm": "search_query"
}
}

Event properties for KeywordSearched

NameTypeRequired/OptionalDescription
searchTermstringRequiredSearch text

Send Event For PageViewed

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test@gmail.com",
"eventName": "pageViewed",
"eventProperties": {
"title": "TITLE",
"url": "URL"
}
}

Event properties for PageViewed

NameTypeRequired/OptionalDescription
titlestringOptionalTitle of the page
urlstringRequiredUrl of the page
searchTermstringOptionalSearch text
utmSourcestringOptionalUTM source
utmMediumstringOptionalUTM medium
utmCampaignstringOptionalUTM campaign
linkIdstringOptionalLink ID

Send Event For ProductViewed

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test@gmail.com",
"eventName": "productViewed",
"eventProperties": {
"productId": "PRODUCT_ID",
"productName": "my-product",
"variantId": "VARIANT_ID",
"variantName": "VARIANT_NAME",
}
}

Event properties for ProductViewed

NameTypeRequired/OptionalDescription
productIdstringRequiredProduct ID
productNamestringRequiredProduct name
variantIdstringRequiredVariant ID
variantNamestringRequiredVariant name
urlstringOptionalUrl of the product
pricestringOptionalTotal price
collectionNamesstring[]OptionalCollection names
collectionIdsstring[]OptionalCollection ids
utmSourcestringOptionalUTM source
utmMediumstringOptionalUTM medium
utmCampaignstringOptionalUTM campaign
linkIdstringOptionalLink ID

Send Event For PaymentLinkUpdate

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test@gmail.com",
"eventName": "paymentLinkUpdate",
"eventProperties": {
"id": "ID",
"paymentId": "PAYMENT_ID",
"paymentLink": "PAYMENT_LINK",
"paymentLinkStatus": "PAYMENT_STATUS",
"paymentAmount": "500",
"orderId": "ORDER_ID",
"orderAmount": "500",
"purpose": "PURPOSE"
}
}

Event properties for PaymentLinkUpdate

NameTypeRequired/OptionalDescription
idstringRequiredUnique ID
paymentIdstringRequiredPayment ID
paymentLinkstringRequiredPayment link
paymentLinkStatusstringRequiredPayment link status
paymentAmountnumberRequiredAmount to be paid
orderAmountnumberRequiredTotal price of the order
orderIdstringRequiredOrder ID
purposestringRequiredPurpose of the payment

Send Event For PurchasedAProduct

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test@gmail.com",
"eventName": "purchasedAProduct",
"eventProperties": {
"productId": "PRODUCT_ID",
"orderId": "test-order-id1234",
"orderName": "my-order",
"productName": "my-product",
"itemPrice": 500,
"currency": "INR",
"customerId": "CUST_TEST_123"
"variantId": "1234"
}
}

Event properties for PurchasedAProduct

NameTypeRequired/OptionalDescription
orderIdstringRequiredOrder ID
orderNamestringRequiredOrder name
productIdstringRequiredProduct ID
productNamestringRequiredProduct name
itemPricenumberRequiredPrice of the product
currencystringRequiredCurrency of the country
customerIdstringOptionalCustomer ID
variantIdstringRequiredVariant ID
variantNamestringOptionalVariant name
collectionNamesstring[]OptionalCollection names
collectionIdsstring[]OptionalCollection ids
utmSourcestringOptionalUTM source
utmMediumstringOptionalUTM medium
utmCampaignstringOptionalUTM campaign
linkIdstringOptionalOrder link ID
broadcastNamestringOptionalBroadcast name
broadcastIdstringOptionalBroadcast ID

Send Event For ReviewCreated

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test@gmail.com",
"eventName": "reviewCreated",
"eventProperties": {
"id": "1234",
"rating": 4
}
}

Event properties for ReviewCreated

NameTypeRequired/OptionalDescription
idstringOptionalUnique ID
ratingnumberOptionalReview rating
titlestringOptionalReview title
bodystringOptionalReview body
partnerCustomerIdstringOptionalReveiwer Customer ID
productIdstringOptionalProduct ID
productNamestringOptionalProduct name
emailstringOptionalEmail of the customer
namestringOptionalName of the customer

Send Event For UsedAPromoCode

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test@gmail.com",
"eventName": "usedAPromoCode",
"eventProperties": {
"orderId": "test-order-id1234",
"orderName": "my-order",
"code": "CODE",
"amount": 500,
"type": "TYPE"
}
}

Event properties for UsedAPromoCode

NameTypeRequired/OptionalDescription
orderIdstringRequiredOrder ID
orderNamestringRequiredOrder name
codestringRequiredCoupon code
typestringRequiredCoupon type
amountnumberRequiredOffer amount
utmSourcestringOptionalUTM source
utmMediumstringOptionalUTM medium
utmCampaignstringOptionalUTM campaign
linkIdstringOptionalOrder link ID
broadcastNamestringOptionalBroadcast name
broadcastIdstringOptionalBroadcast ID

Send Event For AbandonedAProduct

"event": {
"name": "NAME",
"phoneNumber": "+91999909099",
"email": "test@gmail.com",
"eventName": "abandonedAProduct",
"eventProperties": {
"productId": "PRODUCT_ID",
"cartId": "CART_ID",
"productName": "my-product",
"itemPrice": 500,
"currency": "INR",
"customerId": "CUST_TEST_123"
}
}

Event properties for AbandonedAProduct

NameTypeRequired/OptionalDescription
productIdstringRequiredProduct ID
productNamestringRequiredProduct name
variantIdstringRequiredVariant ID
variantNamestringRequiredVariant name
cartIdstringOptionalCart ID
itemPricenumberRequiredPrice of the product
currencystringOptionalCurrency of the country
customerIdstringRequiredCustomer ID
collectionNamesstring[]OptionalCollection names
collectionIdsstring[]OptionalCollection ids
broadcastNamestringOptionalBroadcast name
broadcastIdstringOptionalBroadcast ID