POST API/Promotion/GetPromotionDetails?subjectID={subjectID}&subjectTypeID={subjectTypeID}&promotionTypeID={promotionTypeID}&shipping={shipping}
This API will get the promotions detail applied to an online order
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subjectID |
Pass either an Online Order ID or an Order ID |
integer |
Default value is 0 |
subjectTypeID |
Determined the Subject Type, 3 for Regular Orders, 7 for Online Orders |
integer |
Default value is 7 |
promotionTypeID |
NULL All Promotion type, 1 - Promo type regular, 3 - Post Promo |
integer |
None. |
shipping |
NULL Included, 1 -- Exempt (All but shipping), 2- Only shipping. |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.