Skip to main content
knowledgecenter.avangate.com

Retrieve a promotion by code

Overview

Use the getPromotionByCode method to extract information on a promotion you set up for your account.  

Parameters

sessionID

Required (string)

 

Session identifier, the output of the Login method. Include sessionID into all your requests. Avangate throws an exception if the values are incorrect.  The sessionID expires in 10 minutes.

Code

Required (string)

 

System-generated identifier Avangate associates with promotion campaigns.

Example request

    Example response

    Promotion object.