//Granify Android SDK/com.granifyinc.granifysdk/Granify/setShopperId

setShopperId

[androidJvm]\

@JvmStatic

fun setShopperId(shopperId: String)

Notifies Granify of the current customer’s unique identifier.

This should be the same identifier you use in your store for your customers. It should not change if the same customer returns. If the shopper cannot be uniquely identified, this function should not be called.

Placement

This function should be called as soon as the shopper’s identifier is known. This may be:

Parameters

androidJvm

   
shopperId The unique identifier for the customer from your internal systems. This should remain the same for the customer on subsequent returns.