PyzeCommerceSupport

 PyzeCommerceSupport : PyzeCuratedEvents

PyzeCommerceSupport methods can be used for posting events related to Commerce Support.

Since

v1.0.0

PyzeCommerceSupport methods

  • Post live chat started details.

    Sample

    var attributes = {};
    attributes["topic"] = topicValue;
    attributes["orderNumber"] = orderNumberValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CommerceSupportLiveChatStarted",attributes, customAttributes);

    Parameters

    topic

    Topic interested

    orderNumber

    Order number for which support requested.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post live chat ended with topic details.

    Sample

    var attributes = {};
    attributes["topic"] = topicValue;
    attributes["orderNumber"] = orderNumberValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CommerceSupportLiveChatEnded", attributes, customAttributes);

    Parameters

    topic

    topic interested.

    orderNumber

    Order number for which support requested.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post ticket created for support details

    Sample

    var attributes = {};
    attributes["itemID"] = itemIDValue;
    attributes["topic"] = topicValue;
    attributes["orderNumber"] = orderNumberValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CommerceSupportTicketCreated", attributes, customAttributes);

    Parameters

    itemID

    Item id for which ticket created.

    topic

    Topic interested.

    orderNumber

    Order number for which support requested.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post feedback received for support request.

    Sample

    var attributes = {};
    attributes["feedback"] = feedbackValue;
    attributes["orderNumber"] = orderNumberValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CommerceSupportFeedbackReceived", attributes, customAttributes);

    Parameters

    feedback

    Feedback received.

    orderNumber

    Order number for which support requested.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post quality of service info details.

    Sample

    var attributes = {};
    attributes["comment"] = commentValue;
    attributes["orderNumber"] = orderNumberValue;
    attributes["rating"] =  ratingValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CommerceSupportQualityOfService", attributes, customAttributes);

    Parameters

    comment

    Comment about QoS.

    orderNumber

    Order number for which support requested.

    rating

    Rating on 5 point scale.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.