Legacy platform

Federal trade commission handler custom API

This custom API contains important parts of the logic to handle the FTC compliance. This custom API determines what type of delay is being sent, what the note text must contain, and what service must be used to send notifications to a customer by the three arguments. These three arguments are described here.

  • DelayType: This argument contains information for the custom API to handle the order. It can resolve alerts by accepting or canceling the lines, and get all the lines on the order with the same delay type and promised date, and invoke the notification service with the list of lines. The possible values for this argument are:
    • IndefiniteFTCDelay
    • NextFTCDelay
    • FirstFTCDelay
    • AutoResolve
    • CancelLines
  • NoteText: This argument sets the bundle key that is used to set the note text on the order lines when they are changed.
  • NotificationService: This argument specifies the name of the service that runs when it is determined that a notification must be sent. If this argument is not passed, it is defaulted to YCD_FTC_SEND_NOTIFICATION.

    This service also closes the delay notification alerts for the corresponding lines if the DelayType argument is passed as AutoResolve or CancelLines.