DisplayMessage

A message intended for consumption by an end user. The message field can be used to directly present to an end user. The priority field should control the order in which the message should be displayed relative to other DisplayMessage elements. The message_id is useful for interpreting each message as a programmatic occurrence. The message_content will contain parameters related to each specific message type.

The valid values for message_id and their message_content fields are:

message_id purpose default message message_content fields
SF-1000 Code has been accepted, or member lookup results Code has been accepted

On member lookup: "Entered code is a valid coupon for offer X." or "Entered member X has N available offer(s) and P point(s)."
credential_identifier
SF-1001 Code does not exist [200] Code is invalid credential_identifier
SF-1002 Code already redeemed or voided [201] Credential has already been redeemed or voided credential_identifier
SF-1003 Code expired (legacy; no longer returned, see SF-1009) Code is expired credential_identifier
expiration_date
SF-1004 Code is locked Code is currently in use on another transaction credential_identifier
SF-1005 Only one code allowed per transaction Only one code allowed per transaction
SF-1006 Minimum purchase amount not met Offer not valid - $X Minimum Required credential_identifier
minimum_purchase_amount
SF-1007 Purchase requirement not met Required items not purchased credential_identifier
SF-1008 Offer is not valid at location Offer is not valid at this location credential_identifier
SF-1009 Offer is expired Offer has expired credential_identifier
expiration_date
SF-1010 Offer is not available on this day or at this time Offer is not valid on X (Ex: "Saturday")

For time-of-day restrictions: Offer is not valid at this time on X
credential_identifier
availability
SF-1011 Offer is not available in-store (online only) Offer is not available in store credential_identifier
SF-1012 Offer requires an identified member, but none was identified Member required but not identified credential_identifier
SF-1013 Offer is limited to delivery or pickup orders Offer is only valid for X orders (Ex: "delivery", "pickup") credential_identifier
order_channel_required
SF-1014 Offer is only available in-store Offer is only available in store credential_identifier
SF-1015 Store not found Store not found credential_identifier
SF-1016 Offer has not started yet Offer not available yet credential_identifier
SF-1017 Credential limit exceeded Credential limit exceeded credential_identifier
SF-1019 Credential reservation limit exceeded Credential Reservation limit exceeded credential_identifier
SF-1020 Code already redeemed Code has already been redeemed credential_identifier
SF-1021 Code has been voided Code has been voided and cannot be redeemed credential_identifier
SF-1022 Offer is not available for this order fulfillment method/source Offer is not available for X orders credential_identifier
order_channel_required

Message IDs are not strictly sequential; SF-1018 is not used. Default messages may be customized per account, so integrations should rely on message_id rather than the message text.

  • Integer numbers.